background image
<< Working with Masks | Part 3 - Performance Testing with Rational TestManager >>
<< Working with Masks | Part 3 - Performance Testing with Rational TestManager >>

Viewing Unexpected Active Window

Using the Image Comparator
245
You can do the following with OCR regions:
s
Create an OCR region
s
Move and resize OCR regions
s
Cut, copy, and paste OCR regions
s
Duplicate OCR regions
s
Delete OCR regions
For step-by-step instructions, search for each task in the Image Comparator Help.
Saving the Baseline File
To save changes made to the Baseline file:
s
Click
File > Save Baseline
.
This command is enabled only if you have made changes to the Baseline file.
Viewing Unexpected Active Window
Robot is designed to respond to unexpected active windows (UAW) during test script
playbacks. An unexpected active window is any unscripted window appearing
during test script playback that interrupts the playback sequence and prevents the
expected window from being made active. An example of a UAW is an error message
generated by the application-under-test or an e-mail notification message window.
You can view the unexpected window in the Image Comparator only if you have set
the option in Robot. In the GUI Playback dialog box in Robot, click the
Unexpected
Active Window
tab. Make sure that the
Detect unexpected active windows
and the
Capture screen image
options are both selected. (For more information about setting
an unexpected active window option, see the Rational Robot User's Guide.)
To open a UAW to view in the Comparator:
1
Start TestManager and open a log file containing a UAW.
2
Do one of the following in the
Event Type
column:
Double-click an unexpected active window event.
Select an unexpected active window event and click
UAW
.
The Image Comparator opens and that UAW appears.