How to Exit out of specific test case and terminate the entire test suite,
if (Host.Local.TryFindSingle("/form[@title='Windows Internet Explorer']/button[@text='OK']",2000, out button))
{
Report.Screenshot("/form[@title='Windows Internet Explorer']");
button.Click();
...how do I exit after click on Ok button and terminate the testsuite
Thank you in advance
Beginner
How to Terminate test run
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to Terminate test run
Hi,
Please take a look to following post
http://www.ranorex.com/forum/command-to ... html#p9575
Regards,
Peter
Ranorex Team
Please take a look to following post
http://www.ranorex.com/forum/command-to ... html#p9575
Regards,
Peter
Ranorex Team
Re: How to Terminate test run
Thank you Peter, this code worked - throw new RanorexException("text");
Omayer
Omayer
Tipu