The <key-press> element will enter a single keystroke, mimicking that keystroke on a standard keyboard. This element includes the option of including key the combinations using the Alt, Ctrl, and/or Shift keys. Only a single character or keystroke can be set using the <key-press> element.
Name | Description | Data Type | Default Value | Required |
---|---|---|---|---|
key | This attribute specifies the key stroke to
enter. This may be one of the following values:
|
character | None | Yes |
shift | This attribute specifies whether to depress the Shift key in combination with the key attribute. The value t is true and will depress the Shift key. The value f is false. | Boolean | f | No |
ctrl | This attribute specifies whether to depress the Ctrl key in combination with the key attribute. The value t is true and will depress the Ctrl key. The value f is false. | Boolean | f | No |
alt | This attribute specifies whether to depress the Alt key in combination with the key attribute. The value t is true and will depress the Alt key. The value f is false. | Boolean | f | No |
common script attributes | A set of related attributes common to most elements within the Agentry Test Script. | N/A | N/A | N/A |