i am working in Selennium Webdriver2 with IE specific application. i know we can take the screenshots of the execution. similarly, Is there any option to record selenium execution as a video?
-
2Not anything inherently present in webdriver. Previously, I've wanted this behaviour, but have since realized that a timely screenshot will help me more than having to go through a video, trying to identify a certain frame. – Nathan Merrill Aug 20 '13 at 13:00
-
There are providers out there like sauce labs or testing bot which record a video and take screenshots of your tests. – Scott Aug 26 '13 at 14:25
3 Answers
There is nothing in WebDriver.
Sauce uses http://www.ffmpeg.org/ to record video's. There are other options like https://code.google.com/p/java-remote-control/.
Generally the answer is that if you want to do it, you are going to have to implement it yourself.

- 7,281
- 26
- 49
This API helped me in solving the above problem, this is for your reference guys,

- 2,634
- 5
- 30
- 51
-
4This is only partially helpful because it will record the screen of the host computer, NOT the screen of the remote control computers – HRVHackers Feb 28 '14 at 19:19
-
-
-
@MirkoSeifert My blog host recently closed down their operations and I didn't take a backup. All my three years of data gone in a sec. Hows cool is that huh ? Time being use this alternative snippet. http://memorynotfound.com/selenium-record-video-junit-java/ – Karthikeyan Oct 09 '17 at 10:01
-
1@Karthikeyan Can you please update your answer so other users do not need to read the comments to figure out the correct link? Thanks! – Mirko Seifert Oct 11 '17 at 09:28
-
Selenium provides us with the feature to run the automation code/suite and record the output as a video and save it on your system. This video can then be shared with anyone who can see what the automation is doing. First of all, to enable video recording, we need to download some important jars. They are freely available to download from Google. Below are the jars to be downloaded. These are the latest version available, any other version can also be downloaded:
ATUReporter_Selenium_testNG_5.1.1 and ATUTestRecorder_2.1
Complete code can be found here: https://mytechdevice.com/how-to-record-video-of-automation-output-in-selenium/