Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that it may be necessary for a user to change certain scenario commands when uploading a Selenium IDE file, as certain commands are not supported by ASM Scenarios. See Comparing Selenium IDE Scripts and to ASM Scenarios for more details surrounding Selenium IDE to ASM conversion, including a chart listing the commands which are supported by ASM Scenarios. If a scenario is uploaded which contains an unsupported command, a user will see a warning dialog and the unsupported command will be highlighted:

...

Debugging a Scenario From Within ASM

The Debug Scenario view allows an uploaded scenario to be replaced, edited, or tested:

...

Replacing or Renaming an Existing Scenario File

An existing scenario file can be replaced via the “upload new file” button:

...

This will not change the scenario file name and will only change the title of the scenario itself. It is generally recommended to rename both the scenario file name and the scenario name at the same time in order to maintain consistency.

Testing a Scenario

Users can test a scenario by clicking the “Test Scenario” button from within the Edit Scenario page:

...

Item

Description

URL

URL to run the scenario towards

Browser

Browser type and version to use for the test

Location

Location to run the test from

Custom Headers

AdditionalHTTP Header to send together with each request. Custom headers are often used to purposefully bypass bot protection.

Test Scenario

Run the test

While the test is running, progress is displayed next to the run button.

...

Result Summary

A successful test run is indicated in the Result Summary:

...

If the scenario is configured to use screenshots, they are displayed as part of the result summary:

...

Using Scenario Commands

Commands can be added to a new or existing scenario file with the “Add Step” button:

...

Existing commands in the list can be edited by clicking on the dropdown or double-clicking the rows in the Target and Value fields. Commands in the list can be deleted by clicking on the “trash can” icon. Commands in the list can be reordered by clicking the command row and dragging the command to a new position. Commands in the list can be downloaded by clicking the “Download Scenario” icon. This is useful for backing up an existing scenario before making significant changes.

Execution Log

After a test run has ben executed for a scenario, a test execution log becomes available. The execution log is collapsed by default. To show the full execution log, click the button to the right of the “Execution Log” text:

...

Column

Description

#

Order of execution

Name

The name of the command

Target

The target for the command

Value

The Command value, if any

Severity

If the scenario passes, every severity row will have the value “info”. If the scenario fails, the severity row of the failed command will have the value “error”

Offset

Start time

Duration

Execution time

In the event of a failed execution, failed commands are also highlighted in the “Commands” section:

...