Page 1 of 1

how to handle the automation created popup using winforms...

Posted: Tue Feb 23, 2016 12:09 pm
by Nagaraj Murthy
i have created a pop up window to display the data, using winforms message box but i'm not able to close the pop window. i created a Xpath using path rules but ranorex stops working in closeapplication action using path.
i also tried using keyshort-cut action [Alt+F4] but it was also not responding.
The spy tool is also not recognizing the pop window.

Re: how to handle the automation created popup using winforms...

Posted: Thu Feb 25, 2016 8:21 am
by odklizec
Hi Nagaraj,

Could you please post a Ranorex snapshot of the popup in question? You can learn how to create one here:
http://www.ranorex.com/support/user-gui ... files.html
Please post also the xpath of popup you are trying to close.

My guess is that instead of "closeapplication" action, you should use "click" on button, which confirms/dismiss the popup? Close application action is typically used to close the application, not individual app windows.