How to guarantee the order of execution of test scripts within a test case?
Greetings,
I am wondering how with Rational Quality Manager 4.0, we can order the flow of test script executions within a test case? We write our scripts in a reusable module fashion. For now, the order seems to be by the RQM ID, which was generated when our RMT scripts were imported into RQM, but not necessarily in the order of execution.
For example, Test Case (TC1), has test scripts, TS1, TS2, TS3, and TS4.
We wish to execute them in the order of TS3, TS2, TS1, and lastly TS4. But when we add them to TC1, the order is TS2, TS1, TS3, and finally TS4.
So is there a way to force the order of test script execution?
2 answers
Thanks,
MM.
Comments
But I can associate several test scripts with a test case. But, if as you say, it only executes one, then how does RQM know which one to execute? The first listed test script?
As I said, with RMT we got into reusable modulized test scripts and wish to continue this methodology into RQM. So to do this, we need to use a test suite instead of a test case?
We have modules for the original baseline functionality and for enhancement functionality, which are used repeated by different business functionality. So we had originally, RMT Scripts BF1, BF2, EF1, EF2, BF3, EF3. Which were imported into RQM as test scripts. So we created a test case to encompass all those test scripts. We wish to run one after the other. But your saying that we have to create a single test case per test script, and the couple them all to a test suite? Then what's the point of a test case, if it's just a test script?
1 vote
If you have more then one script in testcase of different purpose, I think the test case is actually a scenario and you should probably use Test suite. Create testcase for each script. Add all this related testcase to the Test suite.
Infact you can also edit the execution order in test suite. Hope it helps.