Skip to content

IlfirinPL/robotframework-MarcinKoperski

Repository files navigation

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

image

image

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

Example

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

*** 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

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published