Does anyone know whether QTP supports parallel test execution on multiple browsers now? I am looking for something similar to Selenium Grid.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
QTP does not support parallel runs on different browsers, you can run the same test on different browsers by defining the browser in the data table and then iterate on that.
Parallel execution can be achieved by integration with Quality Center, in which case you can set up a test set to execute against a number of different hosts. Alternatively, you can build your own, or utilize another system, such as your build farm, to dole out QTP jobs.
Going off of both existing answers, you can create Test Configurations within QC to specify different data table values for a single test.
When I require testing on multiple browsers, I create two or more configurations which specify the browser for that run.
If you have multiple hosts, you can then run the test in parallel on each host. If not, you are limited to running them consecutively on one host, which in practice would function similar to the data table iterations Motti suggested.
Setting it up this way does allow for an easy transition to parallel testing should you expand the number of hosts available to you.