Skip to main content

RobotFramework Marcin Koperski bundle

Project description

robotframework-MarcinKoperski
===============
library for Robot Framework


.. image:: https://travis-ci.org/IlfirinPL/robotframework-MarcinKoperski.png
:target: https://travis-ci.org/IlfirinPL/robotframework-MarcinKoperski

.. image:: https://img.shields.io/pypi/v/robotframework-MarcinKoperski.svg
:target: https://pypi.python.org/pypi/robotframework-MarcinKoperski

.. image:: https://img.shields.io/pypi/l/robotframework-MarcinKoperski.svg
:target: http://www.gnu.org/licenses/agpl-3.0.html

.. contents::
:local:

=================================================

Introduction
------------
Robot framework is great tools but there is always some functions that were missing, to solve it issues this library were created.
Also to make environment more consistent.


Keyword documentation
---------------------
Link to `Keyword Documentation`_

.. _`Keyword Documentation`: http://ilfirinpl.github.io/robotframework-MarcinKoperski/doc/TestToolsMK.html

Example
------------

To use it add Library "TestToolsMK" to your robotframework projects


.. code:: robotframework

*** Settings ***
Documentation This test show how to create delta gif and evalute if screenshot are similar
Library TestToolsMK
Library Selenium2Library
Library Collections

*** Test Cases ***
Example Test
Image Self Check
Open Browser Extension https://www.google.com/search?hl=en&q=test browser=ff width=1366 height=768 x=0 y=0
${path1} Capture Page Screenshot Extension
Go To Smart https://www.google.com/search?hl=en&q=testX
${path2} Capture Page Screenshot Extension
Comment Show list of screenshot taken during test
Log List ${list of screenshots}
${delta value} Image Should Be Difference Less Then ${path1} ${path2} difference_percent=2 embedded_gif=True
[Teardown] Close All Browsers


Prerequisites
-------------
- `Microsoft Visual C++ Compiler for Python 2.7`__ // for windows only
- `Chocolatey`__ // for windows only
- `Python 2.7.X`__ // for windows only

__ http://www.microsoft.com/en-us/download/details.aspx?id=44266
__ https://chocolatey.org/
__ https://www.python.org/downloads/

Installation
------------

Best way to setup is to use following commands , skip steps that you already have

windows
::
choco install pip
choco install imagemagick.tool
setx MAGICK_HOME "C:\ProgramData\chocolatey\lib\imagemagick.tool\tools"

pip install robotframework
pip install robotframework-MarcinKoperski


linux
::
sudo apt-get install imagemagick
sudo pip install robotframework
sudo pip install robotframework-MarcinKoperski


Update
------------
To install using latest stable build use
::
pip install -U robotframework-MarcinKoperski


to install from sources may install unstable release
::
pip install --upgrade https://github.com/IlfirinPL/robotframework-MarcinKoperski/archive/master.zip

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-MarcinKoperski-0.0.41.tar.gz (16.1 kB view hashes)

Uploaded Source

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