Technical Articles
How to prepare your script-creation environment for Synthetic User Monitoring
With this blog, you’ll learn how to put in place an optimized environment to create Synthetic User Monitoring scripts of type Selenium.
Prerequisite
- The script-creation environment can be setup on any host able to access the application to monitor.
In this document, I’m using a Windows 11 host. But this setup is also possible on a Linux or MacOS host.
- A web browser is required.
In this document, the I’m using Google Chrome, but other browsers are possible.
1. (optional) create a dedicated profile
Web browsers generally give the possibility to create individual profile (or persona).
Each profile has its own settings/cookies/sessions.
Having a dedicated profile gives the possibility to regularly cleanup the browser cache and ensure that the script creation is always performed in a clean environment. (e.g. with no pending session).
- Click the current profile icon.
- In the popup, choose + Add.
This opens a new window.
- If you are proposed to Sign-in, you can choose to Continue without an account.
- Select a name (e.g. Selenium) and a color theme.
- Click Done.
2. Install the Selenium IDE extension
- Open your browser in the Selenium profile.
- Open the customization panel > Extensions section > visit the browser vendor extension store.
- Search for “Selenium IDE” extension.
- Install the extension.
- Click the Extensions icon to “pin” the Selenium IDE extension in the browser header.
The Selenium IDE icon should appear in the browser header bar.
3. Cleanup your browser environment
This is something you should do regularly. Ideally before each creation of a new script.
- Open your browser in the Selenium profile.
- Open the customization panel > Settings section.
- Go to the Privacy and Security section.
- And choose Clear browsing data
- Select Advanced, the Time range All time, and tick all the options.
- Click the Clear data button.
You are now ready to create your Selenium scripts for Synthetic User Monitoring.
Stay tuned for additional blogs on how to create such a Selenium script.
In the meantime, I look forward to your feedbacks.
For additional information on SAP Application Lifecycle Management, have a look at the dedicated community topics page: https://community.sap.com/topics/application-lifecycle-management