Stop test when PopUp Window appears

Best practices, code snippets for common functionality, examples, and guidelines.
zator
Posts: 53
Joined: Wed Jul 04, 2012 1:44 pm
Location: Kraków, POLAND

Stop test when PopUp Window appears

Post by zator » Mon May 27, 2013 12:36 pm

Hi,

I am testing application where, during execution, it is possible that pop up dialog appears, showing exception message. My question is if it is possible to stop test with fail status when that dialog show up. I tried to use technque described here: http://www.ranorex.com/blog/handling-di ... up-windows , but i don't know how to stop test in background thread.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Stop test when PopUp Window appears

Post by Support Team » Tue May 28, 2013 1:52 pm

Hi,

Yes this is possible!
Here is a link to a forum post which targets a similar topic: How to detect error icon coming from web application.
I hope this will help you to solve it.

Regards,
Markus