Wednesday, 28 January 2009

QTP Global Settings

Tools > Options

All settings in this form are Global Test Options and will affect all tests created and run using these settings

General Tab
Includes the following options:
• Display add in manager at start up
• Display welcome screen at start up
• Generate With statements
• Automatic update of scripts when renaming test objects in the OR
• Restore Layout. Layout of screens can be set back to default
• Generate Script. Allows script to be made for global testing options

Folders tab
In the Folders tab you can add the paths of directories that hold tests, actions or files. This is how QTP knows where to look for items. The order that items are displayed in the list determines the order in which QTP will look for items. It prioritises in order listed top first.

Active Screen tab
Sets level of detail recorded for the active screen
The more information that is saved in the active screen the easier it is to edit the test after the test is recorded. It increases the recording time and Disk space required. The amount of active screen info saved can be increased or reduced after recording. To reduce the disk space, go to File>Save as and clear the option Save Active Screen Files.

Run Tab
There are 2 run modes Normal and Fast

Normal Run Mode
This displays the execution marker (yellow arrow)
Option to specify a delay each step execution. This allows a a pause in milliseconds before running each step.
View results when run session ends on/off
Allow other Mercury products to run tests and components. This must be checked in QTP is integrated with Quality Centre (QC).
Normal run mode requires more system resources

Fast Run Mode
In fast mode scripts run without any pauses between steps and can be a cause of syncronisation failure if development was carried out in Normal mode. When run from QC scripts are automatically run in fast mode

Windows Application tab
Has an advanced tab for configuration of windows application recording

Web Tab
Has the facilty to ignore certain browsers using the title and URL
Can add load time to pages to allow for slower page loading during running to avoid syncronisation failure.
There is an advanced option to configure web based settings

No comments: