Metadata-Version: 2.1
Name: robotframework-autorecorder
Version: 0.1.4
Summary: Robot Framework AutoRecorder Library
Home-page: https://github.com/sebastianciupinski/robotframework-autorecorder
Author: Sebastian Ciupinski
Author-email: sebastian.ciupinski+robotframework-autorecorder@gmail.com
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE.txt

AutoRecorder for Robot Framework
==================================================

[![AutoRecorder](https://github.com/SanthoshS20/robotframework-autorecorder/actions/workflows/python-app.yml/badge.svg?branch=master)](https://github.com/SanthoshS20/robotframework-autorecorder/actions/workflows/python-app.yml)

Introduction
------------

RobotFramework library allowing to automatically start video recording of desktop when test or (and) suite starts. Based on [ScreenCapLibrary](https://github.com/mihaiparvu/ScreenCapLibrary)

- Information about keywords can be found on the [Keyword Documentation](https://raw.githack.com/sebastianciupinski/robotframework-autorecorder/master/docs/AutoRecorder.html) page.


Requirements
------------
* Robot Framework


Installation
------------
#### Using pip ####

The recommended installation tool is [pip](http://pip-installer.org).

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



