background image
<< Checkpoint Passed | Open Test dialog box >>
<< Checkpoint Passed | Open Test dialog box >>
Lesson 6 Creating Output Values
Creating Output Values
In the previous lesson, you created parameters that inserted different data
into each iteration of a test run. You can also retrieve data from your
application and output it to the Data Table, using output values. This data
can then be used at a later stage in the test. QuickTest displays the retrieved
data, following the test run, in the Runtime Data Table.
For example, you can use an output value to verify that the date or flight
number is correctly displayed in two different Web pages, by using the value
obtained in one page as the expected text that QuickTest checks for in the
other page.
In this lesson you will learn about:
Creating an Output Value
Running and Analyzing a Test with Output Values
Creating an Output Value
In the previous lesson, the second and third iterations of your test failed
because the ticket price changed when the departure city changed. The
checkpoint that checked the fare of the outbound flight in the Book a
Flight: Mercury
page did not update its expected value as the fare changed.
In this lesson, you will create an output value that retrieves the outbound
fare from the Select a Flight: Mercury page in each test iteration. You will
then modify the table checkpoint you created, so that it checks that the
price displayed in the Book a Flight: Mercury page matches the price
captured in the Select a Flight: Mercury page.