Interview Questions

How to Configure Winrunner Settings (3)

Introduction To WinRunner Basics


(Continued from previous question...)

How to Configure Winrunner Settings (3)


WinRunner report view
This option displays the test results using the WinRunner test results display.

Generate unified report information
This option generates the necessary information for creating a unified report so that user can choose to view the results of the tests in the unified report view at a later time. This options will be Enabled only when WinRunner report view is selected.

Unified report view
This option generates unified report information during the test run and displays the test results using the unified report design.

Default run mode
This option enables user to select the run mode that is used by default for all tests. The different modes are Update, Verify and Debug.

Run speed for Analog mode
This option determines the default run speed for tests run in Analog mode. Normal—runs the test at the speed at which it was recorded. Fast—runs the test as fast as the application can receive input.

Setting Run Setting Options

The Settings category contains options for handling specific situations during the test run.

The different options available are:
Timeout for checkpoints and CS statements

This option sets the global timeout (in milliseconds) that WinRunner uses when performing checkpoints and Context Sensitive statements. This value is added to the time parameter embedded in GUI checkpoint or synchronization point statements to determine the maximum amount of time that WinRunner searches for the specified window or object.

Threshold for difference between bitmaps

This option defines the number of pixels that constitutes the threshold for a bitmap mismatch. When this value is set to 0, a single pixel mismatch constitutes a bitmap mismatch.

Beep when checking a window
This option determines whether WinRunner beeps when checking any window during a test run.

Fail test when Context Sensitive errors occur
This option determines whether WinRunner fails a test when Context Sensitive errors occur.

Fail test when single property check fails
This option determines whether WinRunner fails a test when _check_info statements fail. It also writes an event to the Test Results window for these statements.

Break when verification fails
This option determines whether WinRunner pause test run and displays a message whenever verification fails or whenever any message is generated as a result of a Context Sensitive statement during a test that is run in Verify mode.

Capture bitmap on verification failure
Instructs WinRunner to capture an image of the application each time a checkpoint fails. The bitmap is saved in the test results folder.

Captured area
This option specifies the area of the screen to capture when a checkpoint fails.

Setting Run Synchronization Options

The Synchronization category defines synchronization settings for users test run. The different options available are:

Delay for window synchronization
Sets the sampling interval (in milliseconds) used to determine that a window is stable before capturing it for a Context Sensitive checkpoint or synchronization point.

Delay between execution of CS statements
This option sets the time (in milliseconds) that WinRunner waits before executing each Context Sensitive statement when running a test.

Timeout for waiting for synchronization message
This option sets the timeout (in milliseconds) that WinRunner waits before validating that keyboard or mouse input was entered correctly during a test run.

Drop synchronization timeout if failed
This option determines whether WinRunner minimizes the synchronization timeout after the first synchronization failure.

Beep when synchronization fails
This option determines whether WinRunner beeps when the timeout for waiting for synchronization message fails.

Setting Recovery Options
The Recovery category options specify the files to which WinRunner refers for recovery scenario and Web exception information. The different options available are:

Recovery scenario file
This option indicates the location of the recovery scenarios file, which stores the details of the available recovery scenarios.

Recovery compiled module
This option indicates the location of the exceptions compiled module, which is loaded automatically when WinRunner opens, and contains the recovery and post-recovery functions used in recovery scenarios.

Web Exceptions file
This option indicates the location of the Web exceptions file, which stores the details of the available Web exception handling definitions.

Notification

In addition to the options in Notification category, user can set additional notification options in the E-mail and Recipient subcategories. The different options available are: Send e-mail notification for

This option sends an e-mail for the selected conditions. User can select one or more of the following:
Bitmap checkpoint failure—
Database checkpoint failure—
GUI checkpoint failure—
Test failure—

Send test results report when test run ends
This option sends an e-mail to the specified recipients at the end of each test run. The e-mail contains the summary test results in text format.

Setting E-mail Notification Options
The E-mail category contains options for specifying the mail server to use and other e-mail preferences.

Setting Notification Recipients Options
The Recipients category enables user to specify the recipients that user want to receive e-mail notifications

Appearance
The different options available are:
Display test tabs Displays
This option sets a tab for each open test so that user can display an open test by clicking its tab.

Show full path on test tabs
When this option is selected, the full path of the test is displayed on each test tab.

Tab position
This option indicates whether to display the test tabs at the Top or Bottom of the page.

Display System Modules
When this option is selected, loaded system modules are displayed in the Function Viewer.

Theme
This option enables user to select a pre-configured style or a background image for the frame.

(Continued on next question...)

Other Interview Questions