Skip to main content

Test Library for decoding base64 captchas to string format.

Project description

CaptchaLibrary

Library Scope: GLOBAL

Author: Joshua Kim Rivera | email:joshuakimrivera@gmail.com

Contents:

Introduction

CaptchaLibrary is a Robotframework Test Library for decoding Captchas.
PyPI PyPI - Downloads PyPI - Python Version

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-captchalibrary-1.0a3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_captchalibrary-1.0a3-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file robotframework-captchalibrary-1.0a3.tar.gz.

File metadata

File hashes

Hashes for robotframework-captchalibrary-1.0a3.tar.gz
Algorithm Hash digest
SHA256 2ad6e101501e012f91c06c750ac2f417b57693019c99ac4f875dfc9a84608d92
MD5 8dd7a481cedfbbde07d2f313235c7053
BLAKE2b-256 541e07d53f70c7cab643c8917c806b65e085f62f60caada4a041cc7d0aedd6c3

See more details on using hashes here.

File details

Details for the file robotframework_captchalibrary-1.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_captchalibrary-1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea43569874719a5cfb6622e3594dc8a22512ed137483eaa777d77a0c74ab2119
MD5 745df4992dc660d0c377e88fdcaf8bf5
BLAKE2b-256 994a12137ea292d8c2cf4a25246062a11c6fa3de563497a2454c1d3f025a17bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page