Hi Group,
Basically what I want to do is:
if (queryDBResults == "version 1.2")
run this group of nested tests; //version 1.2
dont run these tests; //version 2.x
else
run this group of nested tests; //version 2.x
dont run these tests //version 1.2
Any suggestions on how this can be accomplished?
Conditional running of blocks of tests in a suite
-
- Posts: 1
- Joined: Tue Sep 24, 2013 7:46 pm
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Conditional running of blocks of tests in a suite
Hello,
In general, it's not recommended to modify the workflow of a Test Suite.
Although, you could enable or disable a Test Case via User Code.
Please take a look at the following posts:
http://www.ranorex.com/forum/starting-t ... t3899.html
http://www.ranorex.com/forum/repeating- ... t3856.html
Another possible way would be to use a 'Test Run Configuration' for each version.
Please take a look at our User Guide for more information.
Regards,
Markus (T)
In general, it's not recommended to modify the workflow of a Test Suite.
Although, you could enable or disable a Test Case via User Code.
Please take a look at the following posts:
http://www.ranorex.com/forum/starting-t ... t3899.html
http://www.ranorex.com/forum/repeating- ... t3856.html
Another possible way would be to use a 'Test Run Configuration' for each version.
Please take a look at our User Guide for more information.
Regards,
Markus (T)