Skip to main content

Test Library for decoding base64 captchas to string format.

Project description

CaptchaLibrary

Library Scope: GLOBAL
Created: 23/09/2019 15:58 UTC-8

Author: Joshua Kim Rivera | email:joshua.rivera@mnltechnology.com

Company: Spiralworks Technologies Inc.

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 rf-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/MainSystemDev/rf-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

rf_captchalibrary-0.7.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file rf_captchalibrary-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: rf_captchalibrary-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/1.3.0 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for rf_captchalibrary-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51c4ea3032aec73ab5a55a45b9ddfaf9371f7cda783ffc83bce5c619291bcda3
MD5 169b4528a241f5a8b1a4841324813d38
BLAKE2b-256 05194f64f973dcc33e131455690d51233f38f0b34ff0a82efa316190c9ebbff5

See more details on using hashes here.

Supported by

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