Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.3 KB

File metadata and controls

35 lines (22 loc) · 1.3 KB

Validate RobotFramework Example

TestingBot RobotFramework Example

TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver. This example demonstrates how to use RobotFramework to run a test on a remote TestingBot browser.

Environment Setup

  1. Setup

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

    Retrieve your TestingBot Key and Secret from the TestingBot Dashboard and export them as environment variables:

    export TB_KEY=<your TestingBot Key>
    export TB_SECRET=<your TestingBot Secret>
    
  3. Run test:

    PYTHONPATH=$PYTHONPATH:. robot --variable BROWSER:chrome --variable VERSION:latest --variable PLATFORM:MAC test.robot
    

Resources