Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilfirinpl/robotframework-marcinkoperski

Bundle contains all useful libraries, add missing functionality for Great RobotFramework
https://github.com/ilfirinpl/robotframework-marcinkoperski

python robotframework

Last synced: 3 months ago
JSON representation

Bundle contains all useful libraries, add missing functionality for Great RobotFramework

Awesome Lists containing this project

README

        

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

.. 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/mit.html

.. contents::
:local:

News/Changelog
------------
* Image processing is using PILLOW instead of Image Magick ( all dependenices with choco removed)
* Remove Support for Python 2.7
* Remove Keywords that are better supported via RPAFramework
* better support python3 add automatic test in github, also automatic release in https://pypi.org

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

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 evaluate if screenshot are similar
Library TestToolsMK
Library SeleniumLibrary

*** Test Cases ***
Example Test
Open Browser Extension https://www.google.com/search?hl=en&q=test browser=gc width=1366 height=768 x=0 y=0
${path1} Capture Page Screenshot
Go To Smart https://www.bing.com/search?q=test
${path2} Capture Page Screenshot
${delta} Compare Image Files ${path1} ${path2}
Log To Console ${delta}
${delta value} Image Should Be Difference Less Then ${path1} ${path2} difference_percent=3
[Teardown] Close All Browsers

Prerequisites
-------------
- Python 3.9 // tested on linux

__ https://www.python.org/downloads

Installation or Update
------------

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

windows
::
pip install -U robotframework-MarcinKoperski

linux
::
sudo pip install -U robotframework-MarcinKoperski