A Robot Framework package to integrate with Beholder, the Zero Defect's Visual Regression Testing platform.
Project description
Robot Framework - BeholderLibrary
A Robot Framework's library to integrate with the Zero Defect's Visual Regression testing platform.
Installation
The recommended installation method is using pip:
pip install robotframework-beholderlibrary
Running this command installs also the latest SeleniumLibrary and Robot Framework
versions, but you still need to install browser drivers
separately.
The --upgrade
option can be omitted when installing the library for the
first time.
With recent versions of pip
it is possible to install directly from the
GitHub_ repository. To install latest source from the master branch, use
this command:
pip install git+https://github.com/zerodefect-testhouse/robotframework-BeholderLibrary.git
Please note that installation will take some time, because pip
will
clone the BeholderLibrary project to a temporary directory and then
perform the installation.
Usage
To use BeholderLibrary in Robot Framework tests, the library needs to
first be imported using the Library
setting as any other library.
*** Settings ***
Documentation Simple example using BeholderLibrary.
Library SeleniumLibrary
Library BeholderLibrary
*** Variables ***
${URL} http://localhost:8000
${BROWSER} Chrome
*** Test Cases ***
Verify HomePage
Open Browser to HomePage
Welcome Page Should Be Correctly Displayed
[Teardown] Close Browser
*** Keywords ***
Open Browser to HomePage
Open Browser ${URL} ${BROWSER}
Title Should Be Login Page
Input Password
[Arguments] ${password}
Input Text password_field ${password}
Submit Credentials
Click Button login_button
Welcome Page Should Be Correctly Displayed
Take Beholder Snapshot
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for robotframework-beholderlibrary-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeb62124feaa24f28ca5eb3ab880be054a6a40cb52a2da8ee44d95a0fd5e9c24 |
|
MD5 | cc7b41d6179da754f54721400cb3d64a |
|
BLAKE2b-256 | 7aa13d25d87bac4ea9efe2d67cf302355bdc92fcd0a35cc4c191b2d15949c942 |
Hashes for robotframework_beholderlibrary-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501caecbfa0d89053914a38a1d0f186e1c6ac64e25f51bd399b0fcc92b412ec6 |
|
MD5 | 5ec8f045d861f86595482dfa3a17f1bc |
|
BLAKE2b-256 | f42bfb5057a1156f9da62522a5c31b87dda1b0e5d9fd90a560ca88ae952c77b0 |