Skip to main content

Test Library for decoding base64 captchas to string format.

Project description

CaptchaLibrary

Version = 0.3dev
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.

Installation

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           /image/path

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.

Files for rf-captchalibrary, version 0.3.dev0
Filename, size File type Python version Upload date Hashes
Filename, size rf_captchalibrary-0.3.dev0-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page