Viewing the Results of a Test Run - WinRunner

After a test run, you can view test results in the Test Results window. The Test Results window opens and displays the results of the current test. You can view expected, debug, and verification results in the Test Results window.

To view the results of a test run:

  1. Confirm that the report view you prefer is selected in the Run category of the General Options dialog box.
  2. To open the Test Results window, choose Tools >Test Results, or click the Test Results button in the main WinRunner window.
  3. To view the results of a non-active test, click the Open button or choose File > Open. In the Open Test Results dialog box, select or browse to the test whose results you want to view.

    Note: If you are browsing to a test from the Unified report view, confirm that WinRunner Tests is selected as the test type in the Files of type edit box.

    Note that if you ran a test in Verify mode and the Display Test Results at End of Run check box was selected (the default) in the Run Test dialog box, the Test Results window automatically opens when a test run is completed. For more information, see “Understanding Test Runs.”

  4. By default, the Test Results window displays the results of the most recently executed test run.
  5. To view other test run results:

    • In the Unified report view—Click the Open button or choose File > Open and select a test run from the Open Test Results dialog box. For more information, see “Opening Test Results to View a Selected Test Run”
    • In the WinRunner report view—Click the Results location box and select a test run.
  6. To view a text version of a report, display the WinRunner report view and choose Tools > Text Report from the Test Results window. The report is displayed in a Notepad window.
  7. To view only specific types of results in the events column in the test log, choose Options > Filters or click the Filters button.
  8. To print test results directly from the Test Results window, choose File > Print or click the Print button.
  9. In the Print dialog box, choose the number of copies you want to print and click OK. Test results print in a text format.

  10. To close the Test Results window, choose File > Exit.

To view the results of a test run from a TestDirector database:

  1. Choose Tools > Test Results or click the Test Results button in the main WinRunner window.
  2. The Test Results window opens, displaying the test results of the latest test run of the active test.

  3. Connect to TestDirector:
    • In the Unified report view—Click the TestDirector Connection button or choose Tools >TestDirector Connection.
    • In the WinRunner report view—Switch to the WinRunner main window and choose Tools >TestDirector Connection.
  4. Select the TestDirector test results:
    • In the Unified report view—Choose File > Open. The Open Test Results dialog box displays results for the test currently open in the Test Results Window. If you want to view results for a different test, click Browse. The Open Test Results from TestDirector Project dialog box opens and displays the test plan tree.
    • In the WinRunner report view—Choose File > Open. The Open Test Results from TestDirector Project dialog box opens and displays the test plan tree.
  5. To view the results of a test run from a TestDirector database

  6. In the Test Type box, select WinRunner Tests, WinRunner Batch Tests, or All Tests.
  7. Select the relevant subject in the test plan tree. To expand the tree and view a sublevel, double-click a closed folder. To collapse a sublevel, double-click an open folder.
  8. Select a test run to view.
  9. The Run Name column contains the names of the test runs and displays whether your test run passed or failed. (If you open this dialog box from the WinRunner report view, the Run Name of the selected run is also displayed in the read-only Run Name edit box.)

    The Test Set column contains the names of the test sets.

    Entries in the Status column indicate whether the test passed or failed.

    The Run Date column displays the date and time when the test set was run.

  10. Click OK to view the results of the selected test.

Opening Test Results to View a Selected Test Run

You can view the saved results for the current test, or you can view the saved results for other tests. You select the test results to open for viewing from the Open Test Results dialog box.

Opening Test Results to View a Selected Test Run

The results of test runs for the currently open test are listed. To view one of the results sets, select it and click Open.

Tip:To update the results list after you change the specified test path, click Refresh.

To view results of test runs for other tests, you can search by test within WinRunner or by unified result (.qtp) files in your file system.

To search for results by test:

  1. In the Open Test Results dialog box, enter the path of the test folder, or click Browse to open the Open Test dialog box.
  2. In the Files of type box, select WinRunner Tests.
  3. Find and highlight the test whose results you want to view, and click Open.
  4. In the Open Test Results dialog box, highlight the test result set you want to view, and click Open.

To search for results by test result files:

  1. From the Open Test Results dialog box, click the Open from File button to open the Select Results File dialog box.
  2. Browse to the folder where the test results are stored. By default, the results folder is named <TestName> esXReport, where X is the number ID of the test results.
  3. Highlight the unified test results report (.qtp) file you want to view, and click Open.

Connecting to TestDirector from the Test Results Window

To manually submit bugs to TestDirector from the Test Results window or to view test results stored in TestDirector, you must be connected to TestDirector.

The connection process has two stages. First, you connect the WinRunner unified report to a local or remote TestDirector Web server. This server handles the connections between WinRunner and the TestDirector project.

Next, you choose the project in which you want to report the defects.

Note that TestDirector projects are password protected, so you must provide a user name and a password.

To connect the WinRunner unified report to TestDirector:

  1. Choose Tools > TestDirector Connection. The TestDirector Connection dialog box opens.
  2. To connect the WinRunner unified report to TestDirector

  3. In the Server box,type the URL address of the Web server where TestDirector is installed.
  4. Note:You can choose a Web server accessible via a Local Area Network (LAN) or a Wide Area Network (WAN).

  5. Click Connect.
  6. Once the connection to the server is established, the server name is displayed in read-only format in the Server box.

  7. If you are connecting to a project in TestDirector 7.5 or later, in the Domain box, select the domain which contains the TestDirector project.If you are connecting to a project in TestDirector 7.2, skip this step.
  8. In the Project box, select the desired project with which you want to work.
  9. In the User name box, type a user name for opening the selected project.
  10. In the Password box, type the password.
  11. Click Connect to connect the WinRunner unified report to the selected project.
  12. Once the connection to the selected project is established, the project name is displayed in read-only format in the Project box.

  13. To automatically reconnect to the TestDirector server and the selected project the next time you open WinRunner or the WinRunner unified report, select the Reconnect on startup check box.
  14. If you select the Reconnect on startup check box, the Save password for reconnection on startup check box is enabled. To save your password for reconnection on startup, select the Save password for reconnection on startup check box.
  15. If you do not save your password, you will be prompted to enter it when WinRunner connects to TestDirector on startup.

  16. Click Close to close the TestDirector Connection dialog box. The TestDirector icon and the address of the TestDirector server are displayed in the status bar to indicate that the WinRunner unified report is currently connected to a TestDirector project.
  17. TestDirector icon

    Tip:You can open the TestDirector Connection dialog box by doubleclicking the TestDirector icon in the status bar.

    You can disconnect from a TestDirector project and/or server. Note that if you disconnect the WinRunner unified report from a TestDirector server without first disconnecting from a project, the WinRunner unified report’s connection to that project database is automatically disconnected.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics