Hi,
I need to able able to iterate a test suite that has one test case and 4 modules. My requirement is to run this test suite continually over an hour. So basically grab the current time and add an hour to it and store this value in a variable. Then set up a do while loop that runs the test suite until the current time > the set variable. Any ideas on how this can be done?
Thanks
Iterate a Test Suite
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Iterate a Test Suite
Hi,
http://www.ranorex.com/forum/testrun-t2969.html
I would suggest you to start the testsuite only once and iterate the testcase, because if you start the test suite about 1000 times you will get 1000 reports. If you iterate throught the testcase Ranorex generates only one report.
Regards,
Peter
Ranorex Team
Please take a look to following postschemer1 wrote:Any ideas on how this can be done?
http://www.ranorex.com/forum/testrun-t2969.html
I would suggest you to start the testsuite only once and iterate the testcase, because if you start the test suite about 1000 times you will get 1000 reports. If you iterate throught the testcase Ranorex generates only one report.
Regards,
Peter
Ranorex Team
Re: Iterate a Test Suite
Hi thanks for the response.
I agree it makes sense to iterate the test case rather than the suite, however I'm now sure how this can be done in the situation i have. All the information seems to refer to fixed data related iterations rather than a variable loop.
I have figured out a solution that works although it doesn't look very tidy. This solution is to have only one test case with one user code module. This user code module has a do while loop. In the loop calls are made to each of the required modules. It would have been even better if one call to a group module could have been done.
Any suggestions are most welcome!
Thanks
I agree it makes sense to iterate the test case rather than the suite, however I'm now sure how this can be done in the situation i have. All the information seems to refer to fixed data related iterations rather than a variable loop.
I have figured out a solution that works although it doesn't look very tidy. This solution is to have only one test case with one user code module. This user code module has a do while loop. In the loop calls are made to each of the required modules. It would have been even better if one call to a group module could have been done.
Any suggestions are most welcome!
Thanks