Skip to main content

Supported actions

Actions are units that comprise a test scenario. There are two categories of actions:

  • Browser interactions: Actions that simulate user interactions and can be recorded by interacting with the browser.

  • Programming actions: Actions to be used for programming purposes and cannot be recorded by interacting with the browser but added from Recorder menus.

Browser interactions#

You should go through the general guide for recording browser interactions and editing actions before reading further for specific details of each one.

CLICK#

Click on an element of the page.

  • Editable: Yes

  • Action type: Can be changed to DBCLICK

  • Action-specific fields:

    • Target element: Element to click on. This can be changed to any visible elements on the page.

DBCLICK#

Click on an element of the page.

  • Editable: Yes

  • Action type: Can be changed to CLICK

  • Action-specific fields:

    • Target element: Element to double click on. This can be changed to any visible elements on the page.

DRAG#

Drag and drop an element on the page.

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Target element: Element to double click on. This can be changed to any visible elements on the page.
    • Original coordinates: number The "from" horizontal and vertical coordinate in pixel of the element (not editable).
    • Destination coordinates: number The "to" horizontal and vertical coordinate in pixel of the element (editable).

DRAG-SELECT#

Drag to select a string of text on the page.

  • Editable: No

HOVER#

Hover on an element on the page.

To record a hover action, press and hold the right Shift, then hover on the target element and release the right Shift. You can turn this on/off in the Recorder settings.

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Target element: Element to hover on. This can be changed to any visible elements on the page.

NAVIGATE#

Navigate to the target web page.

This action is the first action in a scenario. It is auto-recorded when you open the target web page and launch the Recorder. You can edit the URL right in the action on the Recording screen.

PRESS#

Press a single key or a key combination (eg: Ctrl + C on Windows or Cmd + C on MacOS) on your keyboard.

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Key(s) to press: Click Change and press the new key or key combination to change.

RESIZE#

Resize the viewport (or the browser windows).

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Viewport width: number The width of the viewport in pixel after resizing.
    • Viewport height: number The height of the viewport in pixel after resizing.

SCROLL#

Scroll the web page up, down, left or right to a coordinate.

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Horizontal distance to scroll: number The horizontal coordinate in pixel to scroll to.
    • Vertical distance to scroll: number The vertical coordinate in pixel to scroll to.

SELECT#

Select an item in a dropdown list.

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Target element: The dropdown list to select an item from. This can be changed to any dropdown lists on the page.
    • Selected value: string or number Value of the item to select.

TYPE#

Type a string of text to a textbox or a text area.

  • Editable: Yes

  • Action type: Cannot be changed

  • Action-specific fields:

    • Target element: The text area to type into. This can be changed to any text area on the page.
    • Value to type: string, number or bool String of text to type.

Programming actions#

ASSERT#

See Work with assertions.

CREATE#

See Work with variables.

TAKE#

See Add take screenshot.

WAIT#

See Add wait.