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
You can execute only one test script in a test case. To execute multiple test scripts, you need to use a test suite. You can set the order of the test case execution in a test suite. You can associate the test scripts to individual test cases, add the test cases to a test suite and set the order of execution in that test suite.
Thanks,
MM.
Thanks,
MM.
Comments
1 vote
As Mridula mentioned, RQM does not execute multiple script for a Testcase execution, only one. RQM's theory of Testscript is, it is implementation of what to be tested for Test case. We allow multiple scripts because there could be separate scripts for different Test environment, specially for Automated execution.
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.
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.