Introduction
Capturing a video showing test execution becomes useful when tests are run. While tests are executed unattended, recording a video will help in understanding how things went during the test run, capturing application, or script errors or successes.
Whether you are a developer or a tester, these videos can be useful in analyzing test results and reproducing the defects recorded during test execution.
It also helps in capturing the evidence for adhering to processes. These videos can also be used in demoing features to customers or as a training aid.
Selenium WebDriver does not have in-built features to record videos of test runs. However, Selenium WebDriver scripts can be extended using open source or free-to-use tools to support recording videos.
This chapter will cover various recipes to record videos of tests in Selenium WebDriver using tools like Monte Media Library for Java, Microsoft Expression Encoder SDK for .NET, and Castro for Python.