4

Does anyone know whether QTP supports parallel test execution on multiple browsers now? I am looking for something similar to Selenium Grid.

1
  • I guess QTP always used to have master slave kind of mechanism to parallelize tests. Though not sure how many browsers they support
    – Tarun
    Commented Dec 22, 2011 at 5:39

3 Answers 3

2

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.

0

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.

1
  • 1
    This enables you to run several QTP tests in parallel on different machines. It won't allow you to run tests in parallel on the same machine.
    – Motti
    Commented Dec 25, 2011 at 8:21
0

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.

  • Test A IE
  • Test A Chrome
  • Test A Firefox

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.