PerformClick not returning when modal window displayed
Posted: Wed Jun 22, 2011 4:26 pm
Hi,
I have an issue when using PerformClick() method on some web element that causes a modal window (a "OK/Cancel" popup window to appear).
When PerformClick() is invoked, the element is checked (it's a checkbox), and a modal window is displayed, causing the PerformClick() to never return.
What is the explanation for this ? Is this because PerformClick being invoked on the same thread as the UI and so it gets blocked?
The call to PerformClick should return, just like the call to Click.
I have an issue when using PerformClick() method on some web element that causes a modal window (a "OK/Cancel" popup window to appear).
When PerformClick() is invoked, the element is checked (it's a checkbox), and a modal window is displayed, causing the PerformClick() to never return.
What is the explanation for this ? Is this because PerformClick being invoked on the same thread as the UI and so it gets blocked?
The call to PerformClick should return, just like the call to Click.