Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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

share|improve this question
    
I guess QTP always used to have master slave kind of mechanism to parallelize tests. Though not sure how many browsers they support –  Tarun Dec 22 '11 at 5:39

3 Answers 3

up vote 2 down vote accepted

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.

share|improve this answer

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.

share|improve this answer
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 Dec 25 '11 at 8:21

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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