Skip to content

Files

Latest commit

 

History

History
82 lines (52 loc) · 4 KB

record-and-replay-tests.md

File metadata and controls

82 lines (52 loc) · 4 KB
id title hide_title sidebar_label description keywords url site_name slug
record-and-replay
How to Record and Replay Tests using LT Debug
true
LT Debug
Learn how to use LT Debug to replay or retest user flow as an automated test on 3000+ browser and OS combinations.
lt debug
record replay tests
chrome devtools recorder
lt debug 2
LambdaTest
record-and-replay-tests/

Record and Replay Tests using LT Debug 2.0


With LT Debug 2.0, you now have the ability to record user interactions through the Chrome Recorder Panel and replay or retest them as automated tests on a cloud grid on over 3000+ real browsers and operating system combinations. This eliminates the need to download code or manually run tests on your local machine, thus streamlining and optimizing your testing process.

Prerequisites


  1. Install the LT Debug Chrome Extension.
  2. Login to your LambdaTest Account via LT Debug Dashboard. Don't have an account, sign up for free.

<img loading="lazy" src={require('../assets/images/record-replay/login.png').default} alt="image" className="doc_img" width="1341" height="498"/>

Recording User Interactions with Chrome Recorder


  1. To initiate a recording in Chrome DevTools, first, open the developer tools panel by inspecting the webpage.

<img loading="lazy" src={require('../assets/images/record-replay/inspect.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. Once the panel is open, navigate to the Recorder tab.

<img loading="lazy" src={require('../assets/images/record-replay/recorder.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. From there, select Create a new recording.

<img loading="lazy" src={require('../assets/images/record-replay/createrec.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. Now click Start recording to begin capturing user interactions on the page.

<img loading="lazy" src={require('../assets/images/record-replay/start.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. Once you have completed recording the user flow in Chrome DevTools, you can end the recording process by clicking on End recording.

<img loading="lazy" src={require('../assets/images/record-replay/end.png').default} alt="image" className="doc_img" width="1341" height="498"/>

Recording and Replaying Tests on LambdaTest


After ending the recording process in Chrome DevTools, you will notice a LambdaTest button appear on the screen.

  1. To replay or retest the recorded user flow on LambdaTest, simply click on the LambdaTest button.


<img loading="lazy" src={require('../assets/images/record-replay/lt.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. Configure your test capabilities like Browser/OS Version, Build Name, and Test Name, etc, on which you wish to run the recorded interactions, and click Start Test.

<img loading="lazy" src={require('../assets/images/record-replay/caps.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. Once the test successful runs, it will generate the test IDs and a link to LambdaTest Automation Dashboard.

<img loading="lazy" src={require('../assets/images/record-replay/dash.png').default} alt="image" className="doc_img" width="1341" height="498"/>

  1. To view your record automated test results, visit the LambdaTest Automation Dashboard.

<img loading="lazy" src={require('../assets/images/record-replay/results.png').default} alt="image" className="doc_img" width="1341" height="498"/>