Ensure Clickable

Jul 12, 2012 at 11: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 13, 2012 at 12:28 AM

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