Skip to content

Every step

In the plan editor, Add a step opens a menu in four groups: Go somewhere, Act on the page, Check and Keep a record. You can also search it: type “click”, “check”, “address”…

Each step shows back as a sentence. The examples below are those sentences. A value that comes from a secret shows as ••••.

Step Example sentence What it does
Go to a page Go to /cart Opens a page of the site. In Page address, give the part after the site address, starting with /. Usually the first step of a plan.
Go back Go back Goes back to the previous page, like the browser’s back button.
Go forward Go forward Goes forward again after going back.
Reload the page Reload the page Loads the page again.
Go back to the first tab Go back to the first tab After a click that opened a new tab, goes back to the tab the plan started in.
Wait until… Wait until the “Loading” status disappears (up to 10 s) Waits until an element appears or disappears, for at most 1 to 120 seconds. Better than waiting a fixed time.
Wait a moment Wait 2000 ms Pauses for a fixed time, in milliseconds (1000 = 1 second, at most 30000). A last resort: the other steps already wait for the page.
Step Example sentence What it does
Click Click the “Add to cart” button Clicks an element. Kind of click: Single click, Double click or Right click. What the click does: Nothing more, Opens a new tab (the next steps happen there) or Downloads a file (see Tabs, dialogs and downloads).
Double-click “Product B” A double click.
Click the “Terms” link, which opens a new tab A click that opens a tab.
Click the “Invoice” link and download a file whose name contains “.pdf” A click that downloads a file.
Hover over an element Hover over the “Account” button Moves the mouse over it without clicking: menus that open on hover, tooltips.
Fill in a field Fill “Email” with “ana@example.com” Types a text into a field. Can Use a secret. Turn on Type key by key (for fields that react to each key) for search boxes that suggest as you type. Left empty, it clears the field.
Type “par” into “City” key by key Typed key by key.
Clear “Coupon” An empty value clears the field.
Choose in a list Select “France” in “Country” Picks an option in a drop-down list. Several options picks more than one in a list that allows it. Can use a secret.
Tick or untick Check “I accept the terms” / Uncheck “Newsletter” Ticks or unticks a box, or picks a radio button.
Press a key Press “Enter” in “Search” Presses a key such as Enter, Tab, Escape or ArrowDown, on the page or in a given element (Press it in a specific element).
Upload a file Upload “cv.pdf” in “Your CV” Sends one or more files through a form. The files are kept in the project, so the plan finds them wherever it runs.
Drag and drop Drag “Task 1” onto the “Done” region Drags an element and drops it onto another.
Scroll to an element Scroll to the “Contact” heading Scrolls until the element is on screen.
Scroll the page Scroll the page down 3 screens Scrolls Down or Up by 1 to 20 screen heights.
Focus an element Focus “Email” Puts the cursor in an element without clicking it.
Tap an element Tap the “Menu” button Touches an element with a finger on a phone or tablet. On a computer, it clicks.
Answer the next dialog At the next dialog, accept, answering “Paris” Says how to answer the next browser dialog: Accept (OK) (with an optional Text to type) or Dismiss (Cancel). Put it before the click that shows the dialog.

Choose Check an element, Check the page or Check a field, then pick What is checked.

Most of these have The opposite (checks that it is not so): the sentence then says “is not”, “does not”…

What is checked Example sentence Passes when
is shown Verify that “Order confirmed” is visible The element is visible. The most common check.
is not shown Verify that the “Error” alert is not visible The element is absent or hidden.
is in the page, even hidden Verify that the “Cart” region is in the page, even hidden The element exists in the page, visible or not.
contains a text Verify that the “Total” status contains the text “€42” The element’s text contains the given text, or is exactly it (Exactly this text).
how many there are Verify that 3 elements match the “Product” article Exactly that many elements match (How many, 0 or more).
is enabled Verify that the “Pay” button is enabled The element can be used.
is disabled Verify that the “Pay” button is disabled The element is greyed out.
is ticked Verify that “Remember me” is checked The box or radio button is ticked.
can be edited Verify that “Name” is editable You could type in the field.
is empty Verify that “Search” is empty The field, or the element, holds nothing.
has the focus Verify that “Email” has the focus The cursor is in this element.
is on screen without scrolling Verify that the “Buy” button is on screen without scrolling The element is visible without scrolling.
has an attribute Verify that the “Home” link has the attribute “href” set to “/” One of the element’s hidden properties (Attribute, for example href for a link’s address or alt for an image’s description) has Its value. Can use a secret.
looks the same Verify that the “Header” banner looks the same as “Header” The element looks as it did when the reference was saved (see below).
What is checked Example sentence Passes when
its address Verify that the address contains /thanks The page address contains the text, or is exactly it (Exactly this address).
its title Verify that the title contains “Checkout” The title (the name in the browser tab) contains the text, or is exactly it (Exactly this title).
its last dialog Verify that the last dialog’s message contains “Are you sure” The last browser dialog’s message contains the text (Its message contains).
looks the same Verify that the page looks the same as “Home” (ignoring 1 area) The page, What is on screen or The whole page, looks as it did when the reference was saved.
What is checked Example sentence Passes when
its value Verify that “Postcode” has the value “75001” The field holds exactly the Expected value. Several values (a list that allows several) checks every choice of a list. Can use a secret.

The first run of a “looks the same” check saves a picture as the reference (give it a Name of the reference). The next runs compare with it. You can add an Area to ignore (a date, an ad, a carousel) and choose How strict: Strict: the very same, Normal or Loose. When the look changed on purpose, open the failure and click Accept the new look (or Accept every new look on the report). See Looks the same.

Step Example sentence What it does
Take a screenshot Take a screenshot of the whole page “Full cart” Takes a picture, shown in the report for each browser and device. What to capture: What is on screen, The whole page or One element.

Most steps act on an element. You describe it with Recognize it by (its kind and name, its label, its visible text…), and you can narrow it with Which one, The last one, That contains the text, Only look inside an area or Where is it? (an embedded frame). See the guide on elements.