Skip to content

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

License

Notifications You must be signed in to change notification settings

JaPyR/robotframework-MarcinKoperski

 
 

Repository files navigation

robotframework-MarcinKoperski

library for Robot Framework

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

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.

Link to Keyword Documentation

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

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

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 -U -r https://raw.githubusercontent.com/IlfirinPL/robotframework-MarcinKoperski/master/requirements.txt
pip install -U git+https://github.com/IlfirinPL/robotframework-MarcinKoperski.git

linux

sudo apt-get install imagemagick
sudo pip install -U -r https://raw.githubusercontent.com/IlfirinPL/robotframework-MarcinKoperski/master/requirements.txt
sudo pip install -U git+https://github.com/IlfirinPL/robotframework-MarcinKoperski.git

To install using latest stable build use

sudo pip install -U -r https://raw.githubusercontent.com/IlfirinPL/robotframework-MarcinKoperski/master/requirements.txt
sudo pip install -U git+https://github.com/IlfirinPL/robotframework-MarcinKoperski.git

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 67.2%
  • HTML 24.4%
  • RobotFramework 3.8%
  • JavaScript 3.6%
  • Other 1.0%