Skip to main content

Robot Framework AutoRecorder Library

Project description

AutoRecorder for Robot Framework

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.3.tar.gz (7.3 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