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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

robotframework_captchalibrary-1.0a1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for robotframework_captchalibrary-1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 979220afdd69596973df676c23f4c9634a2ccd7ed5ed70d2a58473da818aa199
MD5 570713297d571e2dbbd34beddf4525a4
BLAKE2b-256 f8019d8ede7959254bd1ecfc7644d881d311ad50b876a33bfad27f1fee31108f

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