Robot Framework AutoRecorder Library
Project description
AutoRecorder for Robot Framework
!!! This repository is not actively maintained, but I am open to help and fixing issues, just let me know by submitting issue !!!
Introduction
RobotFramework library allowing to automatically start video recording of desktop when test or (and) suite starts. Based on ScreenCapLibrary
- Information about keywords can be found on the Keyword Documentation page.
Requirements
- Robot Framework
Installation
Using pip
The recommended installation tool is pip.
Install pip. Enter the following:
pip install robotframework-autorecorder
Usage
To work with library only importing it is needed. By default video for each test case is created, by it is possible to create video per whole suite or create videos for test cases and for whole suite. Import arguments can be also used for tuning underlaying ScreenCapLibrary.
TestRecorder.robot
*** Settings ***
Documentation This example demonstrates how to use current library
Library AutoRecorder
Library SeleniumLibrary
*** Test Cases ***
Example Test
Open Browser http://example.local gc
Sleep 5s
SuiteRecorder.robot
*** Settings ***
Documentation This example demonstrates how to use current library
Library AutoRecorder mode=suite
Library SeleniumLibrary
*** Test Cases ***
Example Test
Open Browser http://example.local gc
Sleep 5s
SuiteAndTestRecorder.robot
*** Settings ***
Documentation This example demonstrates how to use current library
Library AutoRecorder mode=suite,test
Library SeleniumLibrary
*** Test Cases ***
Example Test
Open Browser http://example.local gc
Sleep 5s
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for robotframework_autorecorder-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd0a8fc0b775729a6f02885314fdf32584ae11b7af3c671a401639d0951adca |
|
MD5 | 7548bf832c7e9f564d2d2fb8e2aeda82 |
|
BLAKE2b-256 | a9cd4c657f0b7bb4831394763e75b7c4d260a69f925b5d9c2507e6bc5179e761 |
Hashes for robotframework_autorecorder-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a16a4837bbbad847f6ac98cc3198b188768b33d2fe7734633f12e1c2d59d28e1 |
|
MD5 | e071a92884381149174db4df605341f8 |
|
BLAKE2b-256 | 329f7641a8b9801ada794013c47089bdc58805b6d49f16abb83be5c8e9b6c8a3 |