Follow

Transaction Check Cheat Sheet

Commands

Go to URL URL

Loads the specified URL in the virtual browser. Usually the first command to perform. Can only be run once per check.

Basic auth login with username and password

If you need to log in to the server using Basic Authentication.

Click label, name, or CSS selector

Click on a element such as a button or link but could be any element that can be identified.

Fill in field label, name, or CSS selector with text

Used to enter text into a form text, password or textarea input field.

Check checkbox label, name, or CSS selector

Makes a unique form checkbox active.

Uncheck checkbox label, name, or CSS selector

Makes a unique form checkbox inactive.

Select radio button name

Selects a unique form radio button.

Select dropdown label, name, or CSS selector with content, value, or CSS selector

Selects an option in a form element using a select menu.

Wait for element label, name, or CSS selector to exist

Waits for an element to exist before going to next command. Useful when AJAX content is loaded.

Wait for element label, name, or CSS selector to contain text

Waits for an element to contain a specified text before going to next command. Useful when AJAX content is loaded.

Validations

URL should be URL

Checks that the current URL matches the provided URL

Element label, name, or CSS selector should exist

Checks that an element exists on the page (and is not hidden).

Element label, name, or CSS selector shouldn't exist

Checks that an element does not exist on the page.

Element label, name, or CSS selector should contain text

Checks that an element contains the provided text.

Element label, name, or CSS selector shouldn't contain text

Checks that an element does not contain the provided text.

Text field label, name, or CSS selector should contain text

Checks that a text or textarea input contains the provided text.

Text field label, name, or CSS selector shouldn't contain text

Checks that a text or textarea input does not contain the provided text.

Checkbox should be checked label, name, or CSS selector

Checks that a checkbox is selected.

Checkbox shouldn't be checked label, name, or CSS selector

Checks that a checkbox is not selected.

Radio button should be selected name

Checks that a radio button element is selected.

Dropdown label, name, or CSS selector with name content, value, or CSS selector should be selected

Checks that an option in a select menu is selected.

Dropdown label, name, or CSS selector with name content, value, or CSS selector shouldn't be selected

Checks that an option in a select menu is not selected.

Parameters

URL

A valid URL.

username

A valid username for a basic authentication.

password

A valid password for a basic authentication.

text

Any text string that will be matched.

Identifiers

label, name, or CSS selector

Any element label or name or a CSS selector. Must be unique! Read more about CSS selectors in Wikipedia.

name

An elements name attribute.

content, value, or CSS selector

An element’s text content, value attribute or a CSS selector.

form

A form's name attribute or CSS selector.

Tips

  • Use the TAB-button to quickly move in the editor.
  • Check that page contains a text.
  • Use a space instead of a line-break in the editor.
Was this article helpful?
0 out of 0 found this helpful