Press Action—Setting Properties

The Press action is used to click a button, tab, link, or column header in a window. When it can be used, this action is preferable to using Move Mouse and Click Mouse because it communicates natively with the object, and the application is not required to be in the foreground.

Important: Only standard Windows controls will work with the Press action. Many applications use images or other controls that may act like Windows controls but do not support the interfaces required to detect them. The Press action will not work with these controls. In these cases other interactivity actions must be used, such as the Move Mouse and Click Mouse actions.  

To enter Press properties

  1. From the Task Builder Available Actions pane, open the Interactivity folder and double-click the Press action or drag it into the Steps pane.

  2. If possible, open the window containing the object you want to use. Then drag the AutoMate icon to the object. This will automatically populate the object description. If you cannot use the actual object, use a similar object and then edit the object description per the next step. You can also drag the AutoMate icon to the window that contains the object, and then click the Browse button and use the tree structure to find and select the object.

  3. If you need to make changes to the auto-populated properties, click Edit and change the properties according to the following guidelines:

The properties are as follows:

  1. To set the Description tab properties, refer to Description Tab Options.

  2. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  3. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Window Dissection Parameters

Press Action