Silk Mobile

Table of Contents (Homepage)

StopVideoRecord

StopVideoRecord()

images/images/os-icons/os_ios_150x150.png

images/images/os-icons/os_android_150x150.png

images/images/os-icons/os_windows_150x150.png

images/images/os-icons/os_blackberry_150x150.png

images/images/os-icons/os_symbian02_150x150.png

images/images/os-icons/os_windows_mobile_150x150.png

Description

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

Parameters

None

Usage

The command is used after the command 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).

Example:

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

images/download/attachments/3310437/18.jpg

To launch the video, choose the StopVideoRecord command. This step will include the video of the execution.

images/download/attachments/3310437/19.jpg

Note: There is no limitations on 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
client.startVideoRecord();
client.stopVideoRecord();
C# Example
client.StartVideoRecord();
client.StopVideoRecord();
VBScript Example
client.StartVideoRecord
Report
client.StopVideoRecord
Report
Python Example
self.client.startVideoRecord()
self.client.stopVideoRecord()
Perl Example
$client->startVideoRecord();
$client->stopVideoRecord();