I have a question related to QTP Batch script execution. I have 20 test scripts each containing multiple reusable actions. I want QTP to execute them in a batch. Now i have two options to go with
1) Develop a QTP driver script which calls all the actions in these 20 test scripts in required flow.
2) Create Batch using Test Batch runner tool by selecting all the test scripts need to be executed.
Now the benefit of executing test script in batch test runner is it sets it in batch mode and no error prompts can cause stop executing script?
But problem I am facing is every time I execute multiple test scripts using test batch runner I could only see test results of last executed test script i.e. 20th test script.
Please suggest me any way where I can execute test scripts in batch and get a consolidated test result report at the end. Because I want to run this batch over the night, So I canít afford to loose test results in this case.
Re: Get consolidated results runing script in batch
I have used Multi Test Manager with QTP 9.2. Although, Multi Test Manager is no longer supported by HP, but it still works. The only problem is with MTM is that it itself does not invoke the QTP when running the batch. QTP instance should be invoked prior to running the MTM batch.
It will generate the consolidated report.
If you have time, you create a script using QTP AOM, and call all your tests in that.