Skip to content

Write steps

A plan is a list of steps. You add each one with Add a step, which opens a window with every kind of step, in four groups. Type a word in the search box at the top (such as “click”, “check” or “address”) to find one quickly.

The “Add a step” window

Step What it does
Go to a page Opens a page of the site, for example /cart. Usually the first step of a plan.
Go back Goes back to the previous page, like the browser’s back button.
Go forward Goes forward again after going back.
Reload the page Loads the page again, like the browser’s reload button.
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… Waits until an element appears or disappears, up to a number of seconds (1 to 120).
Wait a moment Pauses for a fixed time, in milliseconds (1000 = 1 second, at most 30000).
Step What it does
Click Clicks a button, a link, a tab or any other element. In Kind of click: Single click, Double click or Right click.
Hover over an element Moves the mouse over an element without clicking: menus that open on hover, tooltips.
Fill in a field Types a text into a field: email, search, password. Leave Text to type empty to clear the field.
Choose in a list Picks an option in a drop-down list, for example a country or a size. Tick Several options for a list that allows several.
Tick or untick Ticks or unticks a box, or picks a radio button. In Leave the box: Ticked or Not ticked.
Press a key Presses a key such as Enter, Tab, Escape or ArrowDown, on the page or, with Press it in a specific element, in a given field.
Upload a file Sends a file through a form, for example a CV or a photo.
Drag and drop Drags an element (The element to drag) and drops it onto another (Drop it on).
Scroll to an element Scrolls until an element is on screen.
Scroll the page Scrolls the whole page Down or Up by 1 to 20 screens: to load more results or reach the bottom.
Focus an element Puts the cursor in an element without clicking it.
Tap an element Touches an element with a finger, on a phone or tablet. On a computer, it clicks it.
Answer the next dialog Says how to answer the browser’s next dialog (“Are you sure?”): Accept (OK) or Dismiss (Cancel), with an optional Text to type when the dialog asks a question. Put it before the click that shows the dialog.

A Click step has a What the click does setting:

  • Nothing more: the usual case.
  • Opens a new tab (the next steps happen there): the next steps act on the new tab. Use Go back to the first tab to come back.
  • Downloads a file: the plan waits for the download. In Its name contains (optional), you can check its name, for example invoice or .pdf. The file is kept in the report.

Checks are what make a plan useful: they pass or fail. The window offers three families:

  • Check an element: an element is shown, hidden, contains a text, is enabled, ticked, empty…
  • Check the page: its address, its title, its last dialog, or how it looks.
  • Check a field: the value a field holds.

After you choose a family, pick the exact check in What is checked. See Checks for all of them, and Look checks for comparing how a page looks.

Step What it does
Take a screenshot Takes a picture at this point of the plan. Give it a Screenshot name, such as Full cart, to find it in the report. In What to capture: What is on screen, The whole page, or One element.

Each step shows as a sentence, for example: Click the “Add to cart” button.

  • Edit opens the step’s fields; Close folds it back to its sentence. One step is open at a time.
  • What to do, at the top of an open step, changes its kind. What still makes sense is kept: the element, the text typed, the address.
  • The arrow buttons move a step up or down.
  • The bin button deletes a step.

Nothing is saved until you choose Save. A step with a problem shows To fix, and the field to fix says why.

A step open with its fields

A password should not be written in a plan: plans are files you may share. Keep it as a secret instead.

  1. In a Fill in a field step (or Choose in a list, or a check of a field’s value), tick Use a secret.
  2. In Secret, choose a secret or type a new name, in capitals, for example PASSWORD.
  3. If the secret has no value yet, a Value of PASSWORD field shows: type the value and choose Set. It is saved at once, on this computer only, and never shown again.

The step then reads with dots instead of the value, for example: Fill “Password” with ••••.

You can also add, change or clear secrets on the Secrets page.

The Secrets page

In an Upload a file step, choose Choose a file… and pick the file on your computer. Allgreen copies it into the project (in allgreen/files/), so the plan finds it on any computer the project goes to. You can choose several files.