Play a Script

Link to Play a Script copied to clipboard
warning

The axe Expert extension is officially retired. Read more about this on the axe Expert Replacement page. These pages will be taken down in July of 2024. Email helpdesk@deque.com with any questions or concerns.

Play a script whenever you want to command the browser to automatically perform previously recorded sequential, timed user actions on the page under test. This may also be referred to as "running" a script.

  1. Enter the URL of the web page the script starts on in the browser Address field, then press the Enter key on your keyboard to load the page under test in the browser.
  2. Open axe Expert in DevTools and navigate to the Scripts panel using the main menu to the right of the axe Expert logo.
  3. Do one of the following to load an existing script into the Scripts content pane table:
    • Download a script from an axe Monitor project. For complete details, see Download a Script.
    • Record a script using axe Expert Extension. For complete details, see Record a Script.
  4. Click Play on the Scripting toolbar.

Loading the page under test into the browser, loading a script in the Scripts panel, then clicking the Play button

As you view the page under test, you can observe the automated script performing each recorded event (for example, selecting the Desktops page link from the main horizontal menu bar, and the selected page loading so that its content is displayed).

Clicking the Play button on Scripting tab toolbar

The Resume button becomes a Pause button after the Play button has been clicked and before the script has finished playing.

Optionally, you may do either of the following before the script is finished playing:

If you do not choose to Stop or Pause the script, you can continue to observe the events until all have been completed, at which time the script control buttons return to their original state.

Example of the state of the left pane and its buttons after the script play has completed.