Skip to main content

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 !!!


AutoRecorder

Introduction

RobotFramework library allowing to automatically start video recording of desktop when test or (and) suite starts. Based on ScreenCapLibrary

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

robotframework_autorecorder-0.1.6.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page