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๏ปฟ 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

Document image
๏ปฟ

Select

Description

This command is used to select a value from a list

Parameter options

No

Advanced options

None

Return value

None

Document image
๏ปฟ

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

Document image
๏ปฟ

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

Document image
๏ปฟ

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

Document image
๏ปฟ

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

Document image
๏ปฟ

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

๏ปฟ

Document image
๏ปฟ

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

Document image
๏ปฟ

๏ปฟ