Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.
jvanderwee edited this page Jan 3, 2015 · 5 revisions

Bootstrapium is a template designed to get up and running quickly with Selenium and Appium. By abstracting away the complex setup and configuration, Bootstrapium enables you to write more reliable and maintainable automated tests which you can run against multiple platforms and browsers with ease.

Getting Started

The easiest way to get starting is by using bootstrapium-vagrant to create a VM with Bootstrapium and its dependencies pre-installed.

If you do not wish to use Vagrant then clone this project and ensure PhantomJS and chrome-driver are on your path.

Open the bootstrapium directory in a terminal window/command prompt and run the following to execute the example tests using PhantomJS.

mvn clean verify

Want to run your tests on a different browser? No problem, just provide the 'browser' property:

mvn clean verify -Dbrowser=chrome 

Running your mobile web tests using Appium on Sauce Labs is only slightly more involved:

export SAUCE_USERNAME=<username>
export SAUCE_ACCESS_KEY=<access_key>
mvn clean verify -Dplatform=ios -Dbrowser=safari -Dsauce=true 

A full list of commands can be found on the Command Line Interface page.

After running your tests, you can generate an Allure test report by simply running:

mvn site 
Clone this wiki locally