Skip to main content

Robot Framework Code Generator from Keyword-Driven Tests in imbus TestBench 3.0 and newer

Project description

robotframework-testobject

A simple test object for robot framework without external dependancies and without UI that can be used for trainings and demos

Installation

pip install robotframework-testobject

Usage

*** Settings ***
Library    TestObject

*** Test Cases ***
Test Password Change
    Login User    captain    1234567890
    ${username} =    Get Username
    Should Be Equal    Steve Rogers    ${username}
    Change Own Password    new_password=new_password    old_password=1234567890
    Logout User
    TRY
        Login User    captain     1234567890
    EXCEPT    ValueError: Invalid Password    AS    ${e}
        Log     Access Denied
    ELSE
        Fail    illegal access possible
    END
    Login User    captain     new_password

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_testobject-1.0.0.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

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