Thursday, March 15, 2007

Running the Test on a New Version

Once the test script is debugged, you can run it on a new version of the Flight
Reservation application.
1 Open version 1B of the Flight Reservation application.
Choose Programs > WinRunner > Sample Applications > Flight 1B on the
Start menu. In the Login window, type your name and the password mercury,
and click OK. Reposition the Flight Reservation application and WinRunner so
that they are both clearly visible on your desktop.
2 In WinRunner, select Verify mode from the Run Mode list on the Standard
toolbar.

Verify mode will stay in effect until you select a different mode.
3 Choose Run from Top.
Choose Run > Run from Top, or click the Run from Top button. The Run Test
dialog box opens. Accept the default test run name "res1." Make sure that the
Display Test Results at End of Run check box is selected.
4 Run the test.
Click OK in the Run Test dialog box. The test run begins.
5 Review the test results.
The test fails because the graph was not updated after WinRunner placed an
order for one ticket. WinRunner read the total number of orders from the graph
and concluded that the text is incorrect.
6 Close the Test Results window.
Choose File > Exit.
7 Close the lesson9 test.
Choose File > Close.
8 Close version 1B of the Flight Reservation application.
Choose File > Exit.