Click a button
Home | Categories | How-to-Articles | Command Reference | Examples | Troubleshooting | Cognillo.com
This article shows you how to click a button with Genta Automation.
Syntax
Click "PUT NAME OF BUTTON HERE" button
Example 1
The example syntax below will command Genta to find the Log In button and click it.
Click "Log In" button
Fig. 1 shows the expected result of Example 1
Example 2
The example syntax below will command Genta to click a button with only an image by using the tooltip label that appears when the mouse hovers over the button. The button must have a tooltip for this syntax to work.
Click "Settings" button
Fig. 3 shows the expected result for Example 2.
Example 3
The example syntax below will command Genta to use a wildcard match to find a button with the first instance of “I Accept the” contained within it and click it.
Click "*I Accept the*" button
Example 4
The example syntax below will command Genta to use a wildcard match to find a button with the first instance of a button that starts with “I Accept the” and click it.
Click "I Accept the*" button