I have several scripts that I want to run back to back (suite of tests). How do I get QTP to run all my tests at once?
Since you've asked this question in the 'Quality Center' forum, I can only assume you're wanting to execute from QC via QTP.
This is fairly simple:
- In Quality Center, go to the 'Test Lab' module -- this is where all tests are executed from.
- Put all of the tests that you want to run into a single "test set".
- Select the test set (left hand pane), and go to the "Execution Flow" tab (right hand pane)
In here you simply click and drag from the center of one test, to the center of the next test you want to execute, then the next one.. etc -- QC will draw a little arrow showing the execution flow.
HINT #1: Click "Perform Layout" button to rearrange (visually) the tests to see the flow.
HINT #2: You must use the "Run Test Set" button from this tab, otherwise the execution flow will not be performed, and the tests will be run independantly.
Hope this helps,
... just another Tester ...
If you aren't using QC then each QTP can call the next test in line.
Success is the ability to go from one failure to another with no loss of enthusiasm.
~ Winston Churchill ~ ...Rich Wagner
Or, you can use Mercury's 'Test Batch Runner' to string them all!