Testing Siebel Business Applications > Keywords Reference > Keywords Description >
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.
|
|
|
|
Synergy Toolbar |
|
NULL |
Clicks the SUI (Synergy theme) toolbar button. |
NULL|SiebTabViews |
|
NULL |
In SUI theme, invokes the L2 level links that appear when a button is clicked. |
SIS Account List Applet|NewQuery |
|
NULL |
Clicks the Newquery button in a list applet. |
SIS Account List Applet|DeleteRecord |
|
OK |
Clicks the Delete Record button in a list applet. |
SIS Account Entry Applet|GotoNextSet |
|
NULL |
Clicks the Go to Next Set button in a form applet. |
Product Pick Applet(Eligibility)| PickRecord |
|
NULL |
Clicks the drop-down list in a pop-up window. |
NULL|PickRecord |
|
NULL |
Clicks a button in a pop-up window. |
Close |
|
OK |
Clicks Close or X button in a pop-up window and then clicks OK. |
Close |
|
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).
|
|
|
|
SHCE Sales Contact List Applet - Mobile|DeleteRecord |
|
OK |
Clicks the Delete Record button in a list applet. |
SHCE Sales Contact List Applet - Mobile|Create |
|
NULL |
Clicks the Create button in a list applet. |
Close |
|
OK |
Clicks Close or X button in a pop-up window and then clicks OK. |
NULL|NewQuery |
|
NULL |
Clicks a button in a pop-up window. |
|