Relevant for: GUI tests only
Global data table parameters take data from the Global sheet in the Data pane. The Global sheet contains the data that replaces global parameters in each iteration of the test.
By default, the test runs one iteration for each row in the Global sheet of the Data pane. You can also set the test to run only one iteration. You can also set the test to run iterations on specified rows within the Global sheet of the Data pane.
You can use the parameters defined in the Global data sheet in any action.
By outputting values to the global Data pane sheet from one action and using them as input parameters in another action, you can pass values from one action to another. For details, see Output Values in GUI Testing.
Local data table parameters take data from the action's sheet in the Data pane. The data in the action's sheet replaces the action's data table parameters in each iteration of the action. By default, actions run only one iteration.
You can also set a particular call of the action to run iterations for all rows in the action's sheet or to run iterations on specified rows within the action's sheet. When you set your action properties to run iterations on all rows, UFT inserts the next value from the action's data sheet into the corresponding action parameter during each action iteration, while the values of the global parameters stay constant.
You use local data table parameters when you want the data to be used only for a single action. You use global data table parameters when you want the data to be available to other actions, and when you want subsequent iterations to use different data for a particular parameter (each time the test repeats or each time the action repeats within the test).
If you have multiple rows in the Global data sheet, the entire test runs multiple times. 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.