Data tables and sheets in GUI tests and components
Relevant for: GUI tests and components
In the Data pane, when you are working with GUI tests or components, UFT uses Excel data sheets to store data. Depending on whether you are working with tests or components, you can use different types of data sheets:
|Type of Sheet||Test or component?||Description|
The global sheet is the "master" sheet for the test, containing data that is available to all actions/test steps in the test.
If you save your test in ALM or use test configurations, you must store the test data in the Global sheet.
For each row in the Global data sheet, UFT can run an iteration of the entire test.
The action sheet contains the data relevant for a specific action. Each action in your test has its own action tab, and the data stored in this sheet is available only to the steps contained in the action.
For each row in the Action data sheet, UFT can run an iteration of the action.
|Component sheet||Components||The component sheet contains the data relevant for a specific component. When you create a component, it is created with one sheet, and the data in this component is available only to the steps contained in the component (even if the component is later added to a BPT test.)|
When you run the test, UFT creates a run-time data table—a live version of the data table associated with your test. During the run session, UFT displays the run-time data in the Data pane so that you can see any changes to the data table as they occur.
When the run session ends, the run-time data table closes, and the Data pane again displays the stored design-time data table. Data entered in the run-time data table during the run session is not saved with the test. The final data from the run-time data table is displayed in the run results (with a link to open the data table).