Skip to content

anujkumar21/PWAF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PWAF (Python Webdriver Automation Framework)

Prerequisite:

  1. Python
  2. pip
  3. Selenium/WebDriver
  4. nosetests & nose-html-reporting
  5. Browsers (Firefox, Chrome, IE)
  6. Respective Browser drivers
  7. Pycharm

How to run?

Test scripts can be executed by nosetests:

nosetests -s -v --nologcapture <test-script.py>

e.g: nosetests -s -v --nologcapture checkbox_page_test.py

Get Test-reports:

nosetests -s -v --nologcapture --with-html --html-report= <test-script.py>

e.g: nosetests -s -v --nologcapture --with-html --html-report=test_report.html checkbox_page_test.py

Note: Kindly set the respective browser's driver path either to System variable or update it in drivermanager.py

e.g: self.driver = webdriver.Firefox(executable_path="geckodriver path") # in case of Firefox browser.