Verify Window Dialog Box

This functionality is supported only if you are using the Classic Agent.

Use to verify that the state of a GUI object is the same as the baseline state that you expect. Access this dialog box from the Record Status dialog box by pressing Ctrl+Alt.

Window
Displays the name of the object you were pointing to when you pressed Ctrl+Alt.
OK
Click to close the Verify Window dialog box and add a VerifyProperties method statement to your script.
Cancel
Click to close the Verify Window dialog box without adding a method statement to your script.

Property tab

Use the Property tab to record verification statements to verify one or more characteristics, or properties, of an object.

Time to wait for properties (optional)
Enter the timeout in seconds. This value is the number of seconds to wait for the expected value of the selected property to be achieved. If this value exists, it is passed to the AnyWin.VerifyProperties() method as nTimeout.
Windows to verify
Displays a list of the classes and identifiers for all the objects, which are also called Windows, that were captured when you pressed Ctrl+Alt. A checked check box (left margin) means that the object will be verified. By default, all objects are checked and the first object is selected.
Property value
Displays the value for the property that is selected in the Properties to verify box. The value specified in this field is the value that you expect at runtime, that is the baseline value. Depending on the property that is currently selected, you may be able to edit the value directly in this field or click Edit, when available, to open the Verify Window Edit dialog box.
Properties to verify
Displays each property and its current value for the object selected in the Windows to verify box. A checked check box means that the property will be verified. By default, the properties of the selected property set, shown in the Property sets list box, are checked.
Edit
Click to open the Verify Window Edit dialog box, where you can edit the value of the property currently selected in the Properties to verify box. Not available for all properties.
Check All
Click to select all objects displayed in the Windows to verify box.
Uncheck All
Click to clear all objects selected in the Windows to verify box.
Property sets
Displays the predefined property sets and any property sets that you have defined. Default is Values. When you select a property set, all properties in that property set are selected in the Properties to verify box and all properties NOT in that set are cleared. You can select only one property set at a time.
Define
Click to open the Property Sets dialog box. Use this dialog box to define custom verification property sets.

Bitmap tab

Use the Bitmap tab to compare the actual appearance of an image against a baseline image. Also use to verify fonts, color charts, or custom objects. When comparing bitmaps keep the following in mind:

  • A bitmap comparison will fail if the image being verified does not have the same screen resolution, color, window frame width, and window position as the baseline image.
  • Capture the smallest possible region of the image so that your test is comparing only what is relevant.
Bitmap file name
Displays the path of the bitmap file to be created. The default path is based on the current directory and the default file name for the first bitmap is bitmap.bmp.
Browse
Click to open the Verify Bitmap File Name dialog box. Use if you need help choosing a new path or name.
Bitmap region to verify
Allows you to select what region of the file you want to verify.
Note: If you select Entire window or Client area of window, the bitmap is captured and you return to your application when you click OK. If you select Portion of window, you will need to capture the bitmap.

Method tab

Use the Method tab to verify the state of a n object using built-in verification methods or other methods in combination with the built-in Verify function.

Methods for x
Lists the methods available for the selected class.
Include inherited
If checked, all methods that the class inherits are displayed. By default, this is unchecked.
Arguments area
If the method, selected in the Methods for … box, takes arguments, boxes in which to type the arguments to pass will be displayed to the right of the Methods list.