Ensure Clickable

Jul 12, 2012 at 10:53 PM

Coded UI has a method called EnsureClickable that scrolls the webpage to make sure that the given object is visible and clickable.

Does CUITe have an equivalent?  I've been looking and SetFocus doesn't work.

 

Help!

Coordinator
Jul 12, 2012 at 11:28 PM

Hi jtmcmurdy,

CUITe is wrapped around the Coded UI framework and so to get access to the methods that the Coded UI framework exposes directly, you can call the UnWrap() method of the CUITe control.

For example,

myControl.UnWrap().EnsureClickable();

 

I created a work item here: http://cuite.codeplex.com/workitem/932