If you look at the Data Table at the bottom of the QuickTest window in the ActionB test, you will see four tabs: Global, Copy of FlightOrder,Sign_in [ActionA], and ReturnHome [ActionA].
Note: If the Data Table is not displayed, choose View > Data Table to display it. The Global tab is a data sheet whose data is used for the entire test. If five rows of data are displayed in the Global table, the test will run five times. In addition, you can create data sets for each action, using the relevant actionsheet. If you parameterize a step using an action parameter and enter five rows of data in the corresponding sheet, then that action will run five times within each test iteration.
Note: The Sign_in [ActionA] and ReturnHome [ActionA] data sheets are displayed in gray and cannot be edited because each of these data sheets belong to the corresponding called action and can be edited from only the called action’s original test.
Next, you will create a data set for the FlightOrder action to check how the application handles multiple orders during a single user session.
1 Open the ActionB test.
If the ActionB test is not already open, choose File > Open and browse to
ActionB. Click Open.
2 Select a step to parameterize.
Expand (+) Copy of FlightOrder > Welcome: Mercury Tours > Find a Flight:
Mercury.
In the toPort row in the Keyword View, click in the Value cell and then click
the parameterization icon . The Value Configuration Options dialog box opens.
No comments:
Post a Comment