Through Data Table:

          Enable you to create Data-Driven Test. This is the built-in feature provided by QTP. We can specify list of different possible sets of day (every set of data in different row) in the Data Table, provided by QTP. QuickTest runs automatically those many iterations (number of rows) depending on the different sets of data you specify in the Data Table (Taking subsequent row in the data table at a time).

NOTE:

  1. Global Sheet: Parameters can be used by throughout the Script/Framework.
  2. If you have multiple rows in the Global data sheet, the entire test runs multiple times.
  3. Local Sheet: Parameters can be used only within the Specific Script/Action.
  4. If you have multiple rows in a local data sheet, the corresponding action runs multiple times before running the next action in the test.
If you have multiple rows in both Global and Local data sheets, each single test iteration runs all iterations of each action before running the next iteration of the test.

No comments:

Post a Comment