TEST AUTHORING
Interactive Test Authoring
User Actions
15min
in interactive authoring of tests, as the user interacts with their application, relicx automatically records each user action and creates a sequence of steps that represent the user activity while the user actions are captured as is, the user can also add assertions to ensure test steps are executed as expected in the following section, we will provide an overview of all the supported user actions for assertions please review the assertions docid\ zui92xxn8qbru6pxvt6py section click description this is the most widely used command in all tests the user can click on any place on the viewport and it will be registered as a click command as a test step no action is necessary on the user side parameter options none advanced options none return value none write description this command is used to write to any input fields parameter options it is possible to parameterize the input text you will have to set a parameter first using the set parameter command advanced options none return value none select description this command is used to select a value from a list parameter options no advanced options none return value none the three commands click, write and select are automatically detected by relicx and the user doesn't need to select the command from the list navigate description this command is used to navigate to a specific url parameter options no advanced options yes base url translation can be set to true or false users can decide to set this option depending on the nature of the url if the test navigates to an external url, then base url translation should be set to false return value none wait for time description this command adds the ability to wait for a specified period of time parameter options time in ms to wait advanced options no return value none reload description this command is used to reload or refresh the page the command is not frequently used parameter options no advanced options no return value none viewport description this command allows the user to set the width and height of their screens you can use this option to emulate different size screens for your app parameter options width ( 1440 px), height (900 px) advanced options no return value none key press description this sets the type of key press to perform a common example would be to send an enter command while writing to a text field parameter options command to be sent advanced options no return value none mouse over description this command adds the ability to point the mouse to a specific target if a menu is displayed on the mouse over this command can be used to take the mouse pointer to the specific location to display the specific menu parameter options none advanced options no return value none double click description this command adds a double click on a target you will use this command if the app parameter options none advanced options no return value none right click description this command adds a right click on a target parameter options none advanced options no return value none set parameter description this command allows the user to set a parameter during the execution of the test often we have a requirement to use the value of a certain element as the input in another step parameters can be used to address such requirements parameter options name of the parameter value of the parameter you may select an option from the list the custom script option often comes in handy for the example in the description advanced options set the context as run time , app , and test suite return value none