background image
<< Setting the Expected Result for a Verification Point | Object Finder tool >>
<< Setting the Expected Result for a Verification Point | Object Finder tool >>

Selecting and Identifying the Object to Test

Creating Verification Points in GUI Scripts
4-10
Because the expected result is a failure, you are telling Robot that you expect the
window not to exist within 30 seconds. When you play back this verification point,
if the window cannot be found at any time during the 30 seconds, the verification
point passes. If the window is found during the 30 seconds, the verification point
fails.
To set the expected result when creating a verification point:
1. Start to create a verification point. (See Starting to Create a Verification Point on page
4-7.)
2. In the Verification Point Name dialog box, click Pass or Fail.
You might also want to add wait state values to the verification point. (See Setting a
Wait State for a Verification Point
on page 4-8.)
Selecting and Identifying the Object to Test
When you create certain verification points, you need to select the object to test.
You do this by pointing to the object with the Object Finder tool or by selecting the
object from a list of all objects on the Windows desktop.
When you point to an object, you can use one of several methods to visually identify
the object before you actually select it.
Selecting the Object to Test
There are two ways to select the object to test:
Point to it in the application. This is useful for selecting visible objects.
Select it from a list of all objects on the desktop. This is useful for selecting
hidden objects.
To select the object to test:
1. Start creating the verification point. (See Starting to Create a Verification Point on
page 4-7.)