Who can use this feature?
- Available for Essentials, Accelerate, and Enterprise.
Scan automated flows from the platform to test the accessibility of what matters most to your customers. Build automated flows to test common steps and interactions within a user journey, up to 500 actions per flow.
With automated flows, you can test:
- Key user flows.
- Interactive elements.
- Dynamically generated content.
- Single-page experiences.
To learn more about the basics of automated flows, check out Get started with automated flows.
Note that you can't currently delete automated flows from the platform. Keep this limitation in mind before you create an automated flow.
On this page:
- Manually create an automated flow
- Create an automated flow with Chrome Recorder
- Action details
- CSS selector reference table
Manually create an automated flow
Manually create an automated flow video tutorial
Create an automated flow
To create an automated flow:
- Go to Websites/apps.
- Choose the website/app you want to create the flow for.
- Select Scans.
- Choose Automated flows.
- Select Add automated flow.
- Enter the of name the automated flow.
- Enter the URL for the first page of your flow.
Add actions
- Any authentication details in the middle of an automated flow must be added as an action.
- Any authentication details at the beginning of an automated flow can be added in the advanced scan set up.
- It's best practice to use the Wait for element after you load a new page.
To add actions to an automated flow:
- Select Add action.
- Choose the action. Learn more about actions.
- Fill in the action target. Learn how to find CSS selectors.
- Repeat steps 1-3 for each action on the first page of the automated.
- When you're ready to add a scan trigger, select Scan as the action.
- Choose Select page.
- Select the page you want to scan from the Page repository or add a new page.
- Choose Select page.
- Once the automated flow is complete and in the appropriate order, select Save. You can now use the automated flow in an advanced scan.
If there are any changes to your webpage, you’ll need to update the action data. For example, a value changes or a CSS selector changes.
Find CSS selectors
To find CSS selectors:
- Go to the appropriate page of the flow.
- Find and right-click on the button, option, dropdown list, or element in the action.
- Select Inspect. Your browser console will open with the highlighted code.
- Right-click on the highlighted code and select:
- Copy>Copy Selector in Chrome.
- Copy>Copy CSS Selector in Firefox.
- Copy>Copy Selector in Edge.
The CSS selector is now copied and you can paste it into the action field. Learn more about CSS selectors.
Reorder actions
You can easily reorder your actions in an automated flow.
To reorder actions:
- Find the action you want to reorder.
- Select the up or down arrow.
Remove actions
You may need to remove an action from an automated flow if one was accidentally added.
To remove an action from an automated flow:
- Find the action you want to remove.
- Select Remove.
Create an automated flow with Chrome Recorder
Creating automated flows just got easier! Save time and reduce manual errors by recording your automated flow with the Chrome recorder extension and importing the JSON files to the platform.
Note that:
- The Chrome Recorder accesses and saves all the information in the flow recording. You should:
- Always use test accounts for any log ins and never use your real accounts.
- Consult your IT security policies before recording any intellectual property.
- Always review the imported flow and make changes if necessary.
- You can’t currently import JSON files to existing automated flows.
Create an automated flow with Chrome Recorder video tutorial
Record a flow with the Chrome Recorder
The Chrome Recorder accesses and saves all the information in the flow recording. You should:
- Always use test accounts for any log ins and never use your real accounts.
- Consult your IT security policies before recording any intellectual property.
To record a flow with the Chrome Recorder:
- Go to the page where you want to start your flow.
- Right-click on the page and select Inspect.
- In the DevTools Console, select Recorder.If you can't find Recorder, select More (>>) to expand the menu.
- Select Create a new recording.
- Enter the recording name.
- Select Start recording.
- Perform all the actions in your flow.
- Select End recording.
Export the recording
To export the recording:
- Select Export from the chrome recorder toolbar.
- Choose JSON.
- Select Save.
Create an automated flow with a JSON file
To create an automated flow:
- Go to Websites/apps.
- Choose the website/app you want to create the flow for.
- Select Scans.
- Choose Automated flows.
- Select Add automated flow.
- Enter the automated flow name.
- Select Import JSON from Chrome Recorder.
- Choose the JSON file and select Open.
Link the scan point to a page
The chrome recorder allows you to easily import all the actions in an automated flow but doesn't include the page for each scan point. Before saving the automated flow, you'll need to manually link the scan points to pages. You can easily identify imported scan points because they will say "Link this scan to a page."
To link scan points to page:
- Find the scan point.
- Select Select page.
- Select the page you want to scan from the Page repository or add a new page.
- Choose Select page.
- Repeat steps 1-4 for each scan point.
- Review your flow.
- Select Save.
If you don't want to include an imported scan point:
- Find the scan point and select Remove.
Action details
Automated flow scanning supports seven actions listed in the table below.
Action | Description | Example | Notes |
---|---|---|---|
Open | Opens the provided URL. | https://yourcompany.com | You must include https:// in the URL. |
Scan | Scans the page. | Home page |
You must create a new page for different page states. |
Click | Clicks a button or an option using the CSS selector. | #mainContainer > div > div > app-logout > div > div> div > a | |
Type | Fills in a value in a free-form field. | user@yourcompany.com | You must use the Click action on a field element before typing. |
Wait for element | Waits for the element to load using the CSS selector. | #loginPage > div > div.card-body > div > div > form | Selectors must be fixed, not dynamic, so the action can be completed. |
Dropdown | Selects from a dropdown list using the CSS selector and specified value. |
#app-header > nav > div.row.w-100.ng-star-inserted > div > div.user-menu.d-none.d-sm-flex > div.user-menu-dropdown.position-relative > button Log out |
Dropdown only works with pure HTML dropdowns. If the Dropdown action isn’t working, try using the Click action to open the dropdown and select the desired value. |
Password | Fills in a value in a free-form field. |
p@ssw0rd! |
You must use the Click action on a field element before typing. Any authentication details:
|
Keystroke | Presses a key on your keyboard. |
b |
Automated flows only supports single keystrokes and Shift+Tab. Note that Shift+Tab must be title in title case. |
CSS selector reference table
The table below outlines CSS selector attributes and corresponding symbols. For more detailed information on CSS selectors, visit CSS Attribute Selector.
Attribute | Symbol Used |
---|---|
Using id | # |
Using class name | . |
Using attribute | [attribute='value'] |
Using multiple attribute | [attribute1='value1'][attribute2='value2'] |
Contains | * |
Starts with | ^ |
Ends with | $ |
Comments
0 comments
Article is closed for comments.