EnsureClickable() method in UITestControlExtensions causing problems

Nov 25, 2012 at 6:16 AM
Edited Nov 25, 2012 at 6:22 AM


What an amazing framework build on top of Coded UI ! It has made the automation code so simple and maintainable. Kudos....!

But I have noticed that the method self.EnsureClickable() in Click extension method of UITestControlExtensions class is causing "control not visible exception" being thrown, on click events for some controls on my application. When I comment this line, everything works perfect.

 public static void Click(this UITestControl self, Point relativeCoordinate) {
Mouse.Click(self, relativeCoordinate);


Ours is MVC application using  HTML 5 controls. I am running on VS2012 with win8 as OS.