Uploading a Script

Uploading a script is done whenever you want to store and/or share a recorded script with other WorldSpace Comply users for a particular project so that it can be used again (for example, to automate completing a tedious sign-in form to access a portion of a site to be spider scanned for accessibility rule violations).

Before you begin, you must have a previously-recorded script currently displayed in the content pane table on the Scripts panel. For more information, see Recording a Script. Additionally, you must be signed in to WorldSpace Comply. For more information, see Settings.

Testing (Playing Back) Your Script Prior to Upload: It is important that you play a previously-recorded script in the Attest extension before you upload it to Comply in order to verify it works as desired. As web pages are subject to change, the relevant selectors and paths are also subject to change, which can break a previously-recorded script. Please be aware that re-use of older scripts in Comply scans may not work when such changes occur, so it is a recommended best practice to validate (particularly when the script has first been downloaded from Comply into Attest) against the latest code of the page on which the script is intended to run.

To upload a script:

  1. At the top, right of the event table content pane on the Scripts panel, click the Upload link.
  2. Clicking the Upload link on the Scripts panel

    If you have not already signed in to Comply and selected a Project, you will be prompted to do so. The list of available projects corresponds to those marked as Favorite in WorldSpace Comply. For more information, see The Concept of "Favorite" Projects in the WorldSpace Comply User Guide. Follow the prompts to select a project in order to populate the list of available scripts from which to select, then select a script name as desired.

  3. If desired, modify the default date text in the Script Name field on the Upload Script to Comply pane at the right of the Scripts panel.
  4. If desired, check the Save as a new script checkbox (when a script of the same name already exists and you do not want to replace its content).
  5. Click the UPLOAD SCRIPT button.
  6. Selecting the Script Name, checking the box to Save as new, then clicking the UPLOAD SCRIPT button on the Upload Script to Comply pane of the Scripts panel

    The Scripts panel is refreshed to display the event table of the uploaded script in place of the Upload Script to Comply pane.

    The uploaded script is now in Settings > Scripts for the selected project in WorldSpace Comply

    Validation Note: The name you gave the uploaded script is now displayed in the Script field at the top, left of the right event table pane. Although there is no upload success response message to confirm a completed upload within the Attest browser extension, in WorldSpace Comply, when you select Settings > Scripts from the main menu, you will see the script name you uploaded in the selected project list.

You are now able to download the script from WorldSpace Comply into Attest in the future to play it. For more information, see Downloading a Script.

Next Subtopic: