Step syntax
Write your steps in plain English, using one of the structures shown below (the words the and that are optional).
You can use single quotes or double quotes to enclose a string. The string can also contain quotes, but these quotes must be a different type than the quotes enclosing the string. See the example of Structure 3.
Structure | Description |
---|---|
1 |
Syntax: Example: Click the bell |
2 |
Syntax: Example: Click the "SIGN IN" button Note: Text related to a class may be marked together in the user interface. This example is displayed as |
3 |
Syntax: Example: Type "Boy's shirt" into "USER NAME" input |
4 |
Syntax: Example: Search for "Wikipedia" |
5 |
Syntax: Example: Set 1 into @Outpara1 |
6 |
Syntax: Example: Set @Inputpara1 into @Outputpara1 |
7 |
Syntax:
Example:
|
5 |
Syntax: Example: Verify that the 'urgent' alarm exists |
6 |
Syntax: Example: Verify the 'INPUT' button does not exist |
7 |
Syntax: Example: Verify the value of "Username" input is "John". Note: You can verify string values of objects. The value can be an input parameter or a constant. |
8 |
Syntax: Example: Verify the value of "Username" input contains "John" Note: You can verify string values of objects. The value can be an input parameter or a constant. |
9 |
Syntax: Example: Verify the value of "Text" within "Good Morning John". Note: You can verify string values of objects. The value can be an input parameter or a constant. |
10 |
Syntax: If the '<text for identification>' <control type> exists <steps> Else <steps> Example: If the menu exists Note: The |
11 |
Syntax: If the '<text for identification>' <control type> does not exist <steps> Else <steps> Example: If the menu does not exist Note: The |
See also: