AGubarev
7 years agoSmartBear Alumni (Retired)
Video Recording of Test Execution is Easy
Hi folks!
My name is Alexander Gubarev, and I'm one of the QA engineers who are responsible for the TestComplete quality. Today, I want to share the VideoRecorder extension for TestComplete with you, which I hope will be helpful in your job.
This extension enables you to record videos for your automated tests running in SmartBear TestComplete or TestExecute. It records a video for your test runs helping you to check the test execution and to understand what happened in your system and in the tested application during the test run. All of us know, sometimes, it is really difficult to find the cause of issues that occur during nightly test runs. Videos can help you with this.
The extension adds the VideoRecorder script object for starting and stopping video recording from your script tests, and the Start and Stop Video Recording keyword-test operations for doing this from keyword tests.
Start using the VideoRecorder extension is easy - you simply need to install the extension on your computer and add call of it from TestComplete.
INSTALL VIDEORECORDER
1. Download the VLC installer from https://www.videolan.org/.
2. Install the VLC media player on your computer. The installation is straight-forward. Just follow the instructions of the installation wizard.
3. Download VideoRecorder.tcx (it's attached to this article).
4. Close TestComplete or TestExecute.
5. Double-click on the extension and install it in TestComplete or TestExecute.
USE VIDEORECORDER
1. In Keyword Tests
Add the Start Video Recording and Stop Video Recording operations at the beginning and at the end of your test. You can find these operations in the Logging operation category.
2. In Scripts
Use the VideoRecorder.Start() method to start recording and VideoRecorder.Stop() to stop it. Code example:
Find the recorded video in your project folder – the link to it is located in the Test Log panel.
FULL DOCUMENTATION
https://github.com/SmartBear/testcomplete-videorecorder-extension/blob/master/README.md
WANT TO IMPROVE THE VIDEORECORDER?
We put this script extension on GitHub, so you can take part in its development. Feel free to make pull requests which can make this extension better:
https://github.com/SmartBear/testcomplete-videorecorder-extension
LATEST VIDEORECORDER VERSION
Also, to make sure you have the latest version of the script extension, you can download VideoRecorder.tcx from the GitHub repository:
https://github.com/SmartBear/testcomplete-videorecorder-extension/releases/latest
My name is Alexander Gubarev, and I'm one of the QA engineers who are responsible for the TestComplete quality. Today, I want to share the VideoRecorder extension for TestComplete with you, which I hope will be helpful in your job.
This extension enables you to record videos for your automated tests running in SmartBear TestComplete or TestExecute. It records a video for your test runs helping you to check the test execution and to understand what happened in your system and in the tested application during the test run. All of us know, sometimes, it is really difficult to find the cause of issues that occur during nightly test runs. Videos can help you with this.
The extension adds the VideoRecorder script object for starting and stopping video recording from your script tests, and the Start and Stop Video Recording keyword-test operations for doing this from keyword tests.
Start using the VideoRecorder extension is easy - you simply need to install the extension on your computer and add call of it from TestComplete.
INSTALL VIDEORECORDER
1. Download the VLC installer from https://www.videolan.org/.
2. Install the VLC media player on your computer. The installation is straight-forward. Just follow the instructions of the installation wizard.
3. Download VideoRecorder.tcx (it's attached to this article).
4. Close TestComplete or TestExecute.
5. Double-click on the extension and install it in TestComplete or TestExecute.
USE VIDEORECORDER
1. In Keyword Tests
Add the Start Video Recording and Stop Video Recording operations at the beginning and at the end of your test. You can find these operations in the Logging operation category.
Use the VideoRecorder.Start() method to start recording and VideoRecorder.Stop() to stop it. Code example:
//JScript function foo() { // Start recording with High quality VideoRecorder.Start("High"); //Do some test actions //…. //Stop recording VideoRecorder.Stop(); }
Find the recorded video in your project folder – the link to it is located in the Test Log panel.
FULL DOCUMENTATION
https://github.com/SmartBear/testcomplete-videorecorder-extension/blob/master/README.md
WANT TO IMPROVE THE VIDEORECORDER?
We put this script extension on GitHub, so you can take part in its development. Feel free to make pull requests which can make this extension better:
https://github.com/SmartBear/testcomplete-videorecorder-extension
LATEST VIDEORECORDER VERSION
Also, to make sure you have the latest version of the script extension, you can download VideoRecorder.tcx from the GitHub repository:
https://github.com/SmartBear/testcomplete-videorecorder-extension/releases/latest