8000 GitHub - rathilpatel/python-demo: Python-Browserstack Demo Repo
[go: up one dir, main page]

Skip to content

rathilpatel/python-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Demo-browserstack

Python Integration with BrowserStack

BrowserStack Logo

Prerequisites

  • Brew (Optional)
  • Python3 (Installation notes here)(Recommended Python version 3.6 & 3.7)
  • BrowserStack Automate account with at least 4 parallel tests. Signup for a free trial here.

Setup

  • Clone the repo

  • Install dependencies pip3 install -r requirements.txt

  • Export the environment variables for the Username and Access Key of your BrowserStack account

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    
  • To start Local server execute python -m http.server 8000 in the demo folder within terminal

Running your tests

  • To run a single test, run paver run single
  • To run local tests, run paver run local
  • To run parallel tests, run paver run parallel
  • To run Appium tests for IOS, run paver run appium-android
  • To run Appium tests for Android, run paver run appium-ios
  • To run Espresso tests,run paver run espresso
  • To run XcuiTest tests,run paver run xcuitest
  • To run Earlgrey tests,run paver run earlgrey

Notes

Additional Resources

About

Python-Browserstack Demo Repo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0