get screen resolution
Retrieve the screen resolution of the test machine.
Name | Description | Type | Modifier |
---|---|---|---|
width | Variable to receive the returned screen width in pixels. | String | None |
height | Variable to receive the returned screen height in pixels. | String | None |
The screen resolution of the test machine.
This action may be used within the following project items: test modules and user-defined actions.
width height
get screen resolution w h
- If the variables in arguments width or height have not been declared, the action creates them as globals.
- For each of width and height, if the argument is left empty, a variable with the same name as the argument header is created to hold the return value.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.