Page tree
Skip to end of metadata
Go to start of metadata

StopVideoRecord()

Supported in iOS Supported in Android

Description

These commands gives you the ability to video record the test execution, and later view it as part of the generated report.

StopVideoRecording returns the full path of the video file.

Parameters

None

Usage

The command is used after the command SeeTest Client - StartVideoRecord and stops the current recording.


When recording video, the command StopVideoRecord is called automatically in the end of the test (the generate report command).

   

The record will start once the command StartVideoRecord is executed in the script, and will stop when the command StopVideoRecord called.

To generate the video, call the StopVideoRecord command. The command step will include the video of the execution.


Note: There are no limitations to the number of different videos that can be generated during a single script. You can add the StartVideoRecord / StopVideoRecord commands multiple times during a script, and for each block the video will show in the report under the proper StopVideoRecord command.

Code Examples

Java Example
// SetReporter must be called when executing from grid
client.setReporter("<Report Types>", "", "<Test Name>")

client.startVideoRecord();
//..Your recorded commands
String remoteFilePath = client.stopVideoRecord();
Ruby Example
# SetReporter must be called when executing from grid
client.setReporter2("<Report Types>", "", "<Test Name>")

client.startVideoRecord()
# ..Your recorded commands
remoteFilePath = client.stopVideoRecord()
VBScript Example
client.StartVideoRecord 
Report
client.StopVideoRecord 
Report
Python Example
self.client.startVideoRecord()
self.client.stopVideoRecord()
Perl Example
$client->startVideoRecord();
$client->stopVideoRecord();
  • No labels