Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Parallel Testing on BrowserStack

This project contains 3 files. Each of the files is described below.

browsers.json - This file specifies the browser capabilites for the tests. Here, each test would be run in these two browsers.

[
  {
    "browserName": "iPhone",
    "platform": "MAC",
    "device": "iPhone 5"
  },
  {
    "browser": "firefox",
    "browser_version": "17.0",
    "os": "Windows",
    "os_version": "8"
  }
]

test.py <browsers.json> <capability id> - This file contains the selenium test which would be run in each of the browsers specificed by "browsers.json".

run_parallel_tests.py <test.py> <browsers.json> - This is the runner which runs the tests in parallel.

To run the tests in parallel execute the following command:

python3 run_parallel_tests.py test.py browsers.json