These commands give you the ability to video record the test execution, and later view it as part of the generated report.
The record will start once the command StartVideoRecord is executed in the script, and will stop when the command StopVideoRecordis called for.
To generate the video, call the StopVideoRecord command. This step will include the video of the execution.
To enable recording on Grid client, following commands are required when staring the test:
The following properties of file app.properties can affect the quality and the duration of the recorded video:
which sets how many frames are to be taken per second, i.e., the quality of the video. By default, the quality is four frames per second. For example, in order to set the video quality to 7 frames per second, you can add the following entry to file app.properties:
which limits the size of the produced video file. The actual limit is slightly above <SIZE_LIMIT_IN_BITS> bytes. For example, in order to limit the recorded video by approximately 1MB, you can add the following entry to file app.properties:
When this property is not set, the video-file size is limited by nearly 100MB.
It is not recommended to set this value to a small number.