I'm trying to automate a web application (on Internet Explorer 9) with Ranorex 3.3
I need to validate if there is a blocking window preventing a click on a element on the website. For example, I want to click a button but there is a dialog open in the browser. The click is still performed (because the element exists) but doesn't do anything.
I tried to use "HasFocus" but that doesn't work (always returns false for any element BUT always returns true on the Body tag). Also calling Focus() on the element doesn't work.
Is there any possible to way to check if the window has currently the focus and there is no popup dialog blocking?
Thank you very much for your advices!
Ranorex Spy, Recorder, and Studio.
2 posts • Page 1 of 1