Tuesday, July 15, 2008

How will you do batch testing in QTP?

You can use Test Batch Runner to run several tests in succession. The results for each test are stored in their default location. Using Test Batch Runner, you can set up a list of tests and save the list as an .mtb file, so that you can easily run the same batch of tests again, at another time. You can also choose to include or exclude a test in your batch list from running during a batch run.

To enable Test Batch Runner to run tests, you must select Allow other Mercury products to run tests and components in the Run tab of the Options dialog box.

To set up and run a test batch:

Choose Programs > QuickTest Professional > Tools > Test Batch Runner from the Start menu. The Test Batch Runner dialog box opens. > Click the Add button or choose Batch > Add. The Open Test dialog box opens. Select a test you want to include in the test batch list and click Open. The test is added to the list.



To remove a test from the list, select it and click the Remove button or choose Batch > Remove.

When you are ready to run your test batch, click the Run button or choose Batch > Run. If QuickTest is not already open, it opens and the tests run sequence begins. Once the batch run is complete, you can view the results for each test in its default test results folder (\res#\report).

No comments: