ClickButton
You use the ClickButton keyword to click on a button control present in any list or form applet or in any multi-value group or drop-down applet, and to click Close (the X icon) to close a pop-up window.
Signature
The ClickButton keyword supports the following signature:
ClickButton(AppletRN|ButtonRN,OK/CANCEL/NULL)
Note the following about the ClickButton keyword signature:
-
If the action is to be performed on Tile applets, then the SelectRecordInListApplet keyword should be used before the Click button.
-
You must provide OK and Cancel options in case a Delete confirmation dialog box is expected.
-
You must provide NULL for other buttons, even if a pop-up window or dialog box is expected. Other keywords will carry out any subsequent action on the pop-up window or dialog box.
Desktop Examples
The following table describes how to use the ClickButton keyword to click on button controls in desktop applications.
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
Synergy Toolbar |
N/A |
NULL |
Clicks the Delete Record button in a list applet and handles the button in the confirmation pop up. |
NULL|SiebTabViews |
N/A |
NULL |
In SUI theme, invokes the L2 level links that appear when a button is clicked. |
SIS Account List Applet|NewQuery |
N/A |
NULL |
Clicks the Delete Record button in a list applet and handles the button in the confirmation pop up. |
SIS Account List Applet|DeleteRecord |
N/A |
OK |
Clicks the Delete Record button in a list applet. |
SIS Account Entry Applet|GotoNextSet |
N/A |
NULL |
Clicks the Go to Next Set button in a form applet. |
Product Pick Applet(Eligibility)| PickRecord |
N/A |
NULL |
Clicks the drop-down list in a pop-up window. |
NULL|PickRecord |
N/A |
NULL |
Clicks a button in a pop-up window. |
Close |
N/A |
OK |
Clicks Close or X button in a pop-up window and then clicks OK. |
Close |
N/A |
Cancel |
Clicks Close or X button in a pop-up window and then clicks Cancel. |
Mobile Examples
The following table describes how to use the ClickButton keyword to click on button controls in desktop mobile applications (on mobile devices).
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
SHCE Sales Contact List Applet - Mobile|DeleteRecord |
N/A |
OK |
Clicks the Delete Record button in a list applet. |
SHCE Sales Contact List Applet - Mobile|Create |
N/A |
NULL |
Clicks the Create button in a list applet. |
Close |
N/A |
OK |
Clicks Close or X button in a pop-up window and then clicks OK. |
NULL|NewQuery |
N/A |
NULL |
Clicks a button in a pop-up window. |