Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ilfirinpl/robotframework-marcinkoperski
- Owner: IlfirinPL
- License: mit
- Created: 2015-10-12T13:13:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T21:29:47.000Z (about 2 years ago)
- Last Synced: 2024-10-10T00:06:43.774Z (3 months ago)
- Topics: python, robotframework
- Language: Python
- Homepage:
- Size: 871 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 BrowsersPrerequisites
-------------
- 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-MarcinKoperskilinux
::
sudo pip install -U robotframework-MarcinKoperski