Skip to content

sanchariGr/AutomationFrameworkPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutomationFrameworkPython

Basic Python Selenium Framework

Set Up

  1. Check version of Python on your system On the Terminal, write: python --version My Output: Python 2.7.10

  2. Install pip

sudo easy_install pip

  1. Driver used was Firefox, but you can choose to use Chrome as well To use Firefox however, make sure you have "marionette": False under 'FIREFOX'in your desired_capabilities.py. Latest versions of firefox uses the marionette driver to run selenium which requires additional installation and version mis-match etc.

  2. Install modules listed on the requirements.txt cd Tests/ sudo pip -r requirements.txt This will install all the necessary modules required to run the tests.

  3. Add your login or user details for tests to run in config.json file.

  4. Use nose (test runner) to run all tests at once on your local. On the terminal, write: nosetests -v -s (Where -v : verbose -s : stdout)

  5. Once tests are run, the test details are listed out on the terminal.

About

Basic Python Selenium Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages