i want to failing a test with exception that work perfect in the method of my watcher and in result report give me error that i want but i just get success in pie chart report how can i fail a test and in chart not having success i have only one record and module code in my test
thanks in advance
How to failing a test case in popup watcher method
How to failing a test case in popup watcher method
You do not have the required permissions to view the files attached to this post.
Re: How to failing a test case in popup watcher method
Hi,
Sadly, this is currently not possible. The problem is, that popupwatcher runs in a separate thread and there is currently no way to pause or stop the main test thread from popupwatcher. There is already a feature request created for it and it seems it's already under investigation:
https://uservoice.ranorex.com/forums/15 ... from-popup
Sadly, this is currently not possible. The problem is, that popupwatcher runs in a separate thread and there is currently no way to pause or stop the main test thread from popupwatcher. There is already a feature request created for it and it seems it's already under investigation:
https://uservoice.ranorex.com/forums/15 ... from-popup
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to failing a test case in popup watcher method
i wrote this in my code module and its work very good
You do not have the required permissions to view the files attached to this post.
Re: How to failing a test case in popup watcher method
Hi,
Thanks for the heads up. I've never heard of RunAborted and Environment.Exit. Nice to hear these could make the test case to fail even form popupwatcher. Anyway, it would still be nice to have a proper way of pausing the main thread from popupwatcher. Let's hope Ranorex folks will do something about it
Thanks for the heads up. I've never heard of RunAborted and Environment.Exit. Nice to hear these could make the test case to fail even form popupwatcher. Anyway, it would still be nice to have a proper way of pausing the main thread from popupwatcher. Let's hope Ranorex folks will do something about it
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to failing a test case in popup watcher method
hi
i'm new with ranorex but i know a little C#
thank you very much for your response
i'm new with ranorex but i know a little C#
thank you very much for your response