PyTest Integration with BrowserStack.
- Python3
- Clone the repo
- Install dependencies
pip install -r requirements.txt
- To run your automated tests using BrowserStack, you must provide a valid username and access key. This can be done either by using a .browserstack configuration file in the working directory or your home directory, by setting the BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables, or by adding user & key to config file.
- To run a local test, (if you have not set the BROWSERSTACK_ACCESS_KEY environment variable) first go to config/local.json then edit key on line 3
- Run
paver run local
- To run parallel tests, run
paver run sample
Understand how many parallel sessions you need by using our Parallel Test Calculator
- You can view your test results on the BrowserStack Automate dashboard
- To test on a different set of browsers, check out our platform configurator