Everyone has known how to take the screenshot in selenium web driver but when we ask how to take a video recording of the test script in web driver, people have no idea. So here I describe how to capture test script video in selenium web driver.
When the execution time of your script is too long so you can record your script and then you can analyze the script.
For the recording the script you have to download ATUTestRecorder jar file and include in your project.
So here I am writing the code of recording script.
For recording, I am creating a folder recording and we already define the path of this folder in ATURecorder constructor.
After executing the test script, the script was recorded and you can check in your folder. here I am attaching the screenshot of the video.
Feel free to ask me any question.