Skip to content

Base framework to start Test automation using page object model, behave bdd framework, selenium and written in python

Notifications You must be signed in to change notification settings

one-focus/python-selenium-behave

Repository files navigation

Simple project using Page Object model and selenium to automate https://wikipedia.org

Installation

  • Install python
brew install python
  • Install chromedriver
brew install chromedriver
  • Install dependencies
pip install -r requirements.txt
  • Set username and password for wikipedia.org
├──tests/login.py
username = 'your_username'
password = 'your_password'

Create page objects:

  • Base page
  • Login page
  • Main page
  • Search Results page

Test cases:

  • Regression.feature
  • Validation.feature

About

Base framework to start Test automation using page object model, behave bdd framework, selenium and written in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •