Skip to main content

A simple library for automation testing with UI and API using Playwright

Project description

robotframework-playerlibrary

Simple GUI/API automation testing library written in Python using Playwright

Import the library:

*** Settings ***
Library           PlayerLibrary

Example keyword:

*** Keywords ***
Login into the system using provided account
    Input Into    id:login-email       sample-test@abc.com
    Input Into    id:login-password    yourpassword
    Click    //button[contains(.,"Sign In")]
    Page Should Have    Welcome Back!

Example scenario:

Suite Setup          Start Browser Then Open Url    https://sample-system.com/     headless=True


Test Setup       Login into the system using provided account    AND
Test Teardown       Start new browser session
Suite Teardown      Quit all browsers

*** Test Cases ***
TC_01 - Check correctness of some elements on the screen
    Element Should Be Shown    ${calendar_picker}
    Element Should Be Shown    ${apply_btn}
    Element Should Be Shown    ${clear_btn}

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-playerlibrary-1.0.2.tar.gz (17.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_playerlibrary-1.0.2-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file robotframework-playerlibrary-1.0.2.tar.gz.

File metadata

File hashes

Hashes for robotframework-playerlibrary-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cd46cef6fc7f4100e0fe019891c2339f6b69cceb12a9ddee205155a46fab18b4
MD5 e54a3a2d2e488ba8541f0f6c4df11cb9
BLAKE2b-256 3a92732fca7e67b570eb592b05d329d4d18a396496016cd2a4cc8fb59494b398

See more details on using hashes here.

File details

Details for the file robotframework_playerlibrary-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_playerlibrary-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fdc84a68c5c45910e470c310668f61a356b172cb385723ffd496d53d0e5e1939
MD5 220b435d28218f4d76dbb058c3aa6a15
BLAKE2b-256 7b18288b4fcc66eaec86b1c7e26f44fa5520d88decf929581241b4472c812019

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