Import Resources

This procedure is one step of the Synthetic User Monitoring configuration. For cross-step information, see Configuration. In this step, the import of a Selenium IDE script into Synthetic User Monitoring is described.

Within Synthetic User Monitoring, Selenium IDE scripts (or SIDE files) are referred to as Resources.

A Selenium IDE script describes the sequences of actions, also referred to as commands, to be performed on a web browser, such as clicks, setting texts, waiting for elements, and so on. These sequences are organized into:

Tests

A sequence of actions to be executed one after the other.

Test suites

A sequence of tests to be executed one after the other.

Each action has a set of attributes to indicate:

Command

The action to be performed.

Target

The element on which the action has to be performed.

Value

The value to be applied for the command. Some commands have no value.

Comment

A free text to describe the expected action. A comment can also contain a specific Synthetic User Monitoring keyword. This is called an annotation.

Most Selenium IDE commands are supported by Synthetic User Monitoring; see the complete list of Selenium commands supported by the Synthetic User Monitoring app here: Selenium Commands Supported by Synthetic User Monitoring.Information published on SAP site

When a script is saved via the Selenium IDE, it generates a SIDE file. This file is the JSON representation of the sequence of actions.

Procedure

  1. Choose (Configuration) to open the configuration panel.

  2. Expand the section Start of the navigation pathManaged Components Next navigation step  ResourcesEnd of the navigation path.

  3. Choose (Edit) to open the Configure Resources dialog.

  4. Choose Upload.

  5. Choose Browse to select your SIDE file.

  6. Choose Upload.

Result

When a new SIDE file is imported, it becomes a new Resource entry in the Synthetic User Monitoring configuration. The following naming convention applies to elements from the SIDE file within Synthetic User Monitoring:

Synthetic User Monitoring Script Element

SIDE Element

Internal Identifier

Script

Name of the test suite

Identifier of the resource (SIDE file) + GUID of the Selenium test suite

Step coming from a test

Name of the test

Identifier of the Script + GUID of the Selenium test

Step coming from an annotation

Annotation text

Identifier of the Script + GUID of the Selenium command