Relevant for: GUI tests only
This pane enables you to define settings for your run sessions, for your entire test.
To define settings for individual actions in your test, do so from Run tab in the Action Call Properties dialog box for a specific action.
Access the Run pane
To access the Run pane of the Test Settings dialog box:
- Ensure that you have a test or action in focus.
- Select File > Settings > Run.
Run settings and global data table parameters
By default, when you run a test with global data table parameters, UFT runs the test for each row in the Data pane using the parameters you specified.
You can also use this pane to instruct UFT to run iterations on a test only for certain lines in the Global tab in the Data pane. Under Data Table iterations, select one of the following options:
|Run one iteration only||Runs the test only once, using only the first row in the global data table.|
|Run on all data rows||Runs the test with iterations using all rows in the global data table.|
|Run from data row __ to data row __||
Runs the test with iterations using the values in the global data table for the specified row range.
The first row in the data table contains the column names. Therefore, the data row number is always 1 lower than the row number in the data table display.
For example, in the table below, Alex is listed in data row number 3, which is table row number 4.
For more details, see Data table parameters.
Run session error handling
Define the following settings to handle errors and timeouts during your run sessions:
|When error occurs during run session||
Specify how UFT responds to an error during the run session.
|Object synchronization timeout||
Set the maximum time (in seconds) that UFT waits for an object to load before running a step in the test.
Note: When working with Web objects, UFT waits up to the amount of time set for the Browser navigation timeout option, plus the time set for the object synchronization timeout.
Select the Disable Smart Identification during the run session option to instruct UFT not to use the Smart Identification mechanism during the run session.
Note: When you select this option, the Enable Smart Identification check boxes in the Object Properties and Object Repository windows are disabled, although the settings are saved.
When you clear this option, the Enable Smart Identification check boxes return to their previous on or off setting.
Business Process Monitor
Select the following options for testing with Business Process Monitor:
|Save image of desktop when error occurs||
Instruct UFT to capture a snapshot of the desktop if an error occurs during a run session of a test initiated by the Business Process Monitor.
The image is saved in Business Availability Center. The Business Process Monitor forwards the run results to the Business Availability Center servers.
|Allow test to run on Micro Focus UFT Mobile||
Enables UFT to run the test using UFT Mobile.
For more details, see Real device monitoring.
Note: These options are applicable only to tests that are run by the Business Process Monitor component of Business Availability Center.