The button-related elements available in the Agentry Test Script structure can be used to simulate a user pushing a button on a screen as a part of a sequence of interactions. Additionally, these elements can be used to test the state of the button, such as enabled or disabled, its label value, and so forth, and to wait for the button to be enabled for attempting to push it.
The following attributes are available to all button elements within the Agentry Test Script language:
Name | Description | Data Type | Default Value | Required |
---|---|---|---|---|
id | The identifier of the button, typically set by the script recorder in the ATE and not modified manually. If specified, the name and label cannot be present. | String | N/A | No |
name | The resource name of the button the element affects or monitors. If specified, the id and label attributes cannot be present. | String | N/A | No |
label | The label text of the button definition the element affects or monitors. If specified, the id and name attributes cannot be present. | String | N/A | No |