Selenium Screen Recorder: How To Record Selenium Test Execution Video

All great developers love a feature that allows them to record a full video of selenium test execution automatically.

Even though most developers already know how to capture a screenshot of the web page during test execution in selenium, only a few of them know how to record a video screen for selenium script.

Why do we need a recording video of selenium test?

Many people might wonder why bother it at all? Let me give you an example, supposing a developer have a selenium script which takes one or more hours to complete the execution. If the developer can record the full test execution screen video, then It will help him/her to debug issue easily If any problem arises during the test.

Furthermore, they can utilize recorded videos as a proof to show test execution activities to their client or manager.

Easy Steps to record video for test execution

In these simple steps, you have to use ATU Test Recorder to record selenium test execution videos.

Step 1: Download ATU Test Recorder jar file.

Download the file and extract it. There will be “ATUTestRecorder_2.1.jar” file In extracted folder.

Step 2: Add “ATUTestRecorder_2.1.jar” In your project’s build path

After downloading it, add “ATUTestRecorder_2.1.jar” file in your project’s build path. You can refer “Adding jar Files In Project’s Build Path” section on this page in you are having a hard time to add it.

Step 3: Create a folder to store recorded videos.

In this process, you must create a folder and entitle it “ScriptVideos” in your drive D. This drive will serve as a storage tool for the upcoming recorded videos.

After completing those steps, you are now ready to record videos for test execution.

Steps 4: Create and run test

In this stage, you have to create and run bellow given test in eclipse.

As you can see in bellow given script, the video recording started at the beginning, and the reason is that the code is inside @BeforeTest method. Hence, video recording will stop at the end of test inside @AfterTest annotation method.

Here are the codes:

At the end of the test execution, you can go to “D:\ScriptVideos” folder. It contains saved a video in the form of “.mov file” which you can play It to see the recorded videos.

If you are looking for a QA tool that:

Record your browser sessions and mark your bugs.

Share the recording with your teammate with one click.

Recreate your bugs and get Mouse clicks, Scrolls, inputs, Animations, JS errors, Exceptions, and every user interaction.

Try our product here at