Record, or point and click
You do not have to type every step and every element yourself. Allgreen has two ways to build them by clicking on your site:
- Record in browser: do the whole journey yourself, and your clicks and typing become steps.
- Choose in the page: for one step, click the element in the page, and Allgreen fills in how to recognize it.
Record a journey
Section titled “Record a journey”- Open a plan in the editor (a new one, or one you want to continue).
- Choose Record in browser. A browser window opens on your site, at the page where the plan last went (its last Go to a page step), or at the home page.
- Do your journey in that window: click, type, choose in lists, tick boxes.
- Each action shows in the editor under Steps so far, as a sentence, as you go.
- When you are done, choose Finish in the editor, or simply close the window.
The steps are added at the end of the plan, not saved yet. Read them, fix what needs fixing, then add your checks and choose Save.
What becomes a step
Section titled “What becomes a step”| You do this in the window | It becomes |
|---|---|
| Click (single, double or right click) | Click |
| A click that opens a new tab | Click, with Opens a new tab (the next steps happen there) |
| A click that downloads a file | Click, with Downloads a file |
| Type in a field | Fill in a field |
| Choose in a drop-down list | Choose in a list |
| Tick or untick a box, pick a radio button | Tick or untick |
| Press a key (Enter, Tab, Escape…) | Press a key |
| Go to another page of the site by its address | Go to a page |
| Choose a file the project already has | Upload a file |
Each element is recognized the way a person would describe it, for example: Click the “Add to cart” button.
Passwords become secrets
Section titled “Passwords become secrets”Text typed in a password field is never written in the plan. Allgreen keeps it as a secret, named after the field (for example PASSWORD), and the step uses that secret. At the end, the editor lists the secrets it created. You can change their values on the Secrets page.
Start signed in
Section titled “Start signed in”If the project has a sign-in plan (set in Project settings), the window opens already signed in, with the session of the last run that signed in. The editor says so: “Signed in with the session of the run of…”.
If no run has signed in yet, it says “No session: start a run first to begin signed in.” Run your plans once, then record again.
A plan follows one tab at a time: the first one, and a tab that a click opened. When you go back to the first tab and act there, Allgreen adds a Go back to the first tab step for you.
What you do in any other tab is not added.
What is not added, and why
Section titled “What is not added, and why”Some actions cannot become a step. They are listed under Not added, with the reason:
- File upload of a file the project does not have yet: add this step by hand, to choose the file. It is then kept in the project.
- Click with another mouse button, or with a key held down (Ctrl, Shift…): not supported.
- Element with no visible name: Allgreen cannot describe it in a way that lasts. Add this step by hand, and see Find the right element, or use Choose in the page.
- Done in a tab the plan does not follow: only the first tab and one a click opened are.
- Page of another site: a plan stays on the project’s site. Sign-ins through another site (a payment page, “Sign in with…”) cannot be recorded.
- Action not supported: add this step by hand.
Limits
Section titled “Limits”- The window is Chromium, at the size of a computer screen. The plan still runs on every browser and device of the project.
- One recording at a time.
- Right after a page loads, a very fast action can be missed without being listed. If a step is missing, add it by hand.
Choose in the page
Section titled “Choose in the page”When you write a step by hand, Allgreen can fill in its element for you:
- In the step, under The element, choose Choose in the page.
- A browser window opens on the page the step acts on (the page of the last Go to a page step before it).
- Click the element in that window. Allgreen closes the window and fills in the fields of Recognize it by for you.
Choose Cancel to give up.
The first click in that window picks the element. An element that only shows after other clicks (an open menu, a filled form) is easier to describe yourself. If Allgreen says it cannot name this element yet, describe it yourself: Find the right element explains every way.