robotframework-captchalibrary 1.0a3

Creator: railscoder56

Last updated:

0 purchases

robotframework-captchalibrary 1.0a3 Image
robotframework-captchalibrary 1.0a3 Images

Languages

Categories

Add to Cart

Description:

robotframeworkcaptchalibrary 1.0a3

CaptchaLibrary
Library Scope: GLOBAL
Author: Joshua Kim Rivera | email:[email protected]
Contents:

CaptchaLibrary

Contents
Introduction
Installation
Usage
Generating Documentation
Dependencies



Introduction
CaptchaLibrary is a Robotframework Test Library for decoding Captchas.



View the latest keyword Documentation here.
Installation
Option 1
Install using pypi, run:
pip install robotframework-captchalibrary

Option 2
With recent version of pip, it is possible to install directly from GitHub repository. To Install latest source
from the master branch, use this command:
pip install git+https://github.com/joshuariveramnltech/captchalibrary.git

Please note that installation will take some time, because pip will
clone the CaptchaLibrary project to a temporary directory and then
perform the installation.
Usage
To use CaptchaLibrary in Robot Framework tests, the library needs to
first be imported using the Library setting as any other library.
It is important to Note that CaptchaLibrary requires the serviceUrl as parameter
upon import, see example below.
*** Settings ***
Documentation Simple example using CaptchaLibrary
Library CaptchaLibrary serviceUrl=sample.captcha.service.url

*** Variables ***
${sample_variable}

*** Test Cases ***
Test Case Sample One
${captcha} Decode Base64 Captcha path/to/image
Log To Console ${captcha}

Generating Documentation
To Generate the keyword Documentation, simple run:
python -m robot.libdoc CaptchaLibrary documentation.html

Note that the library must first be installed before generating a documentation.
Dependencies

Requests
Pillow

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.