Skip to content

仓库 files navigation

Maven Build and Test

TestingBot - Java & TestNG

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

Environment Setup

  1. Global Dependencies

    $ brew install maven
    
  2. TestingBot Credentials

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

Running Tests

  • Tests in Parallel:
    $ mvn test
    

You will see the test result in the TestingBot 仪表盘

Resources

关于

Java example with TestNG for TestingBot Selenium Grid

Topics

Resources

Stars

1 star

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages