Gets the state of the Button identified by cField and saves the state information to the parameter with the name specified in the cValue column.
| Returned Value |
Meaning |
| 0 |
Not Found |
| 1 |
Active |
| 2 |
Disabled |
How each column is used:
| Column Name |
Value |
| iID |
The ID used to uniquely identify the current Step Sequence |
| iSeq |
Optional/Purely cosmetic, only used to help you structure you step sequences |
| cStepType |
ButtonGet |
| cField |
A string used to uniquely identify the Button field to be acted on |
| cValue |
The name of the parameter to save the value to |
| cTiming |
A string to identify this transaction for recording the pass/fail status or responce time |
| cExpect |
(Optional) The expected value of the text field at the completion of this step |
| cOnError |
(Optional) A step sequence to execute if this step failed. |
Example usage:
| iID |
iSeq |
cStepType |
cField |
cValue |
cTiming |
cExpect |
cOnError |
| CreateCustomer |
2 |
ButtonGet |
Save |
cCanSave |
Is the Save button active |
1 |
Logout |