TestingBot provides a cloud of browsers and devices, ready to run your Automated, Live and Visual tests.
Travis CI is a continuous integration service, you can use this free service to run (Selenium) tests from your GitHub repository. It is very easy to use the TestingBot Selenium grid together with Travis CI.
Below is a guide to run your Selenium tests with Travis CI. We offer TestingBot status badges to indicate your Selenium tests status on your GitHub pages.
Sign up at Travis CI and connect your GitHub project with Travis CI. You can find information on how to do this at the Travis CI help section.
Add a simple Selenium test to your GitHub project, modify the .travis.yml file in your repository to indicate you want to run a Selenium test.
The two secure lines in the above example are your TestingBot key and secret, which are used to run a test on our TestingBot Selenium Grid. To generate these 2 lines, you need to install the Travis CI gem and run these commands with your own key and secret:
Now you can use the encrypted TESTINGBOT_KEY and TESTINGBOT_SECRET environment variables in your tests. Remember to indicate your test's privacy setting as public (privacy = true) if you want to use the test status badges we provide.
Here's an example in NodeJS:
Our help page regarding Travis CI integration has more info: Travis CI + TestingBot
< Back to Blog OverviewStart testing your apps with TestingBot.
No credit card required.