Executing a test case that refers to a Quick Test Professional test script

To run a test case we need to add atleast one test script in it.

  1. From the left sidebar, point to the Construction icon and click Create Test Case. A new test case opens, with a table of contents on the left and an editor on the right.
  2. At the top of the new test case window, enter a test case name.
  3. Select the tab of test scripts on the left side to add a test script.

    Select the add icon from right hand side to add an existing test script.

  4. Select a test script and save it in the test case.
  5. To execute the test case, click on the run icon.

    As soon as we run the test case adapter machine details are shown.
    Change the machine to where the QTP adapter is running.

  6. A window will pop up after clicking on change button and the window will display the list of the machines and the adapters.
    Select a machine.

    Click OK.

  7. After clicking OK button, the test script will be shown as running.
  8. After 100% execution completion, we can click on the Close and show results button to display the results.

    Following screenshots show execution result details and result HTML:


    Execution Log:


    HTML Result:

Feedback