Skip to content

testingbot/Python-PyTest-Selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

TestingBot - Python & PyTest

TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver. This example demonstrates how to use Python with PyTest to run tests across several browsers.

Environment Setup

  1. Setup

    • Clone the repo
    • Install the dependencies pip install -r requirements.txt
  2. TestingBot Credentials

    • Add your TestingBot Key and Secret as environmental variables. You can find these in the TestingBot Dashboard.
    $ export TESTINGBOT_KEY=<your TestingBot Key>
    $ export TESTINGBOT_SECRET=<your TestingBot Secret>
    

Running Tests

  • Sample Test:
    $ pytest test_sample.py
    

You will see the test result in the TestingBot Dashboard

Resources

Releases

No releases published

Packages

No packages published

Languages