A Real Browser check allows you to monitor the user experience around performance for a single page or a multi-step user flow. For each page checked in a Real Browser check, Rigor captures a HAR file, or waterfall chart, that helps us see the performance of specific resources within the page.
Here are some ways to create Real Browser Checks in Rigor:
- From Scratch (single page)
- From Scratch (multi-step)
- Via Import (multi-step from Selenium IDE source code)
To create a new Real Browser Check from Scratch:
Navigate to Real Browser + New > From Scratch
From the side navigation, click + New > Real Browser > From Scratch
On the Basic tab:
- Name the check. Be sure to pick a unique, descriptive name so that you can determine the check’s function at a glance.
- Supply a starting URL. The check will begin by going to this URL and the first step in the check will be within the context of this page.
- Frequency. Define how often the check should run.
- Check Active / Inactive. Use this slider to activate or pause the check.
On the Notifications tab:
- Select who is notified. Tell Rigor who, how, and when to alert users or groups if the check fails.
- Location-specific alerts. Enable this to send additional alerts if a check fails consecutively from the same location multiple times. Alerts will send at the same frequency as configured in the main notifications settings.
- Group alerts. Create groups to alert teams simultaneously.
- Notification window. Select a specific timeframe to be notified of alerts. Some users set this to limit noise outside of business hours.
- Escalations. Notify additional users if an alert goes unacknowledged.
You can easily add multiple steps to a Real Browser check. If you'd like to build a multi-step check, you should first open the initial URL (the same URL that you set on the Basic tab) in your browser.
For each step you would like to add to the user flow, you can ‘Inspect Element’ in your browser to identify an id, class, name, CSS Path, or XPATH to target each element. Once you know the correct way to target a specific element you can + Add Step in Rigor to configure the Real Browser check to interact with the element or wait for the element to be present on a page.
On the Steps tab:
- Use + Add Step to create steps for your check that simulate user flow. There are two types of steps: actions and waits.
- Use the hamburger icon to drag and re-order steps; use the trashcan icon to delete steps.
- Click the Test button to queue up a test run in the Rigor system. Tests won’t affect reporting or trigger alerts but they can help diagnose whether test steps need to be edited to successfully simulate a path or user flow.
- When you Test a before and after screenshot of each step will be created.
When a test comes back with a green ‘Test Result: OK’ you know that you can save the Real Browser check and expect to see ‘available’ results on runs unless some performance issue prevents the check steps from executing successfully.
Download Rigor Scripting Guide for more help creating multi-step Real Browser Checks from scratch.
* Currently, the version of Selenium IDE that Rigor accepts works in Firefox v55 or below. Click here to learn how to install an older Firefox for Selenium IDE Recorder.
Selenium IDE is an extension for Firefox that helps you record and edit Selenium scripts. Selenium scripts use simple commands to target and interact with elements on your website.
Read more about using the Selenium IDE recorder here.
Once you have a Selenium script recorded, you can import the script to Rigor to quickly build a new Real Browser check:
- Save the Selenium script or copy the source code from the Selenium recorder.
- Checks > Real Browser + New > Import > and select either From File or From Source
- Select your file to import or paste source code > Import
- Rigor will automatically create the steps that correspond with the Selenium test and remove any steps that are duplicated by our system.