Why use Record & Replay?
Record & Replay is designed to make automated testing seamless and easy.
With no programming knowledge required, you can create an automated script with just a few clicks.
No need to hassle with complex languages and frameworks to build an automated script.
The Record & Replay tool helps any user transition from a Manual Live Tester into a powerful Automated user. We have constructed this tool to work solely through a simple Interface. No need to hack around a text editor, with cumbersome frameworks, to get your scripts up and running in no time.
To start a new recording, navigate to Record & Replay > Record a Script on the left-side panel.
Step 1. Start recording
Enter the URL of the page to be tested.
Select a display resolution size.
Click Record Script. This will launch the recorder, navigate to your URL, and you can start recording steps. These steps will be recorded and saved as an automated script.
Step 2. Record browser actions
Once the specified website is loaded, interact with it with the mouse and keyboard and the Record & Replay recorder at the top of the page.
Every browser action you take will add a recorded step in your script, that is, scrolling, clicking, typing, and so on. For best results, make intentional browser actions. The tool will record everything and show your actions in the Script Steps list.
Your latest browser action is displayed at the top. To view all the recorded steps, click the most recent one and scroll through the history.
Click to delete any unwanted steps that are not needed or where there were mistakes during the recording.
For more details about the Record & Replay recorder, see Recorder UI Overview.
Step 3. Save the recorded script and replay it
Click Stop in the Record & Replay recorder.
Give the script a name and short description and click Save Script.
Click Replay Script.
Select an OS, browser, and resolution to be used to replay the script and click Replay Script again. This will replay the recorded script in real time. You can then watch it back anytime as a recorded video.
Analyze the test run results.
(Optional) Click Share to share the results via a public URL, email, Slack, or Jira. For details, see Collaborating Integrations.
Step 4. Create and run a suite
You can create a suite of recorded scripts and run them in parallel. You can add up to 10 scripts to a suite.
|Suites are only allowed on plans with automation capabilities.|
To create a suite:
Navigate to Record & Replay > Replay a suite on the left-side panel.
Click + New Suite.
Give your suite a name and description, explaining what the suite is testing. Click Create.
Click + Add Scripts, and then select up to 10 scripts to be run in the suite and click + Add Scripts.
Set up browser configurations and click + Add Config.
(Optional) ClickAdd Schedule to schedule a suite to run on a recurring basis. You can have up to 5 schedules per suite.
Set up the schedule:
Set how often and when the suite will run.
Set notifications via Slack or email or disable them.
Click Run Suite at the top of the page.
Record & Replay glossary
The result of the recorded steps that the user takes.
Each action that the user takes when recording a script. Also known as Script Commands.
Running a script or suite to play it back, capturing a recorded video and test score.
A preview of a test available from within the recorder v2 interface. Does not capture test results.
The grouping of scripts and browsers designed to run in parallel.
Running multiple tests at once. This allows you to get your test results back much faster.
A set of browsers and OSs (operating systems) that run as a group. For example, Chrome 54/Windows 10.
A testing type that ensures that a previously developed test still performs the same way after it is changed or interfaced with other software. Testing over time in regression.
The end result of the test run, that is, Pass / Fail.
What is the difference between playback and replay?
When using the new interface, you may see references for test playback. Playback uses the same lightweight setup that we use for recording and is useful for previewing your steps after recording or editing a test without leaving the recorder interface. They differ from replays in a few ways:
The script generation engine is slightly different but should produce near-exact results.
No ability to choose the operating system or browser.
Results from playbacks are not stored.
The option to replay a test is available after saving the script. It allows you to choose an OS, browser, and resolution to run a test against using CrossBrowserTesting's Selenium Grid. Once the test has completed, you can view test results such as video recording, snapshots, and expected values.