Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/osandadeshan/pytest-page-object-model-demo

This is a sample project to demonstrate Web UI Automation using pytest.
https://github.com/osandadeshan/pytest-page-object-model-demo

page-object-model pytest python3 selenium selenium-python selenium-webdriver

Last synced: 19 days ago
JSON representation

This is a sample project to demonstrate Web UI Automation using pytest.

Awesome Lists containing this project

README

        

# Pytest Page Object Model

## Pre-requisites
* Python 3.7 or latest
* pip

## Dependencies used
* selenium==3.141.0
* pytest==6.2.5
* pytest-html==3.1.1
* webdriver-manager==3.4.2

## Setting up the project
* Clone the project into your local folder
* Install required dependency packages using `pip install -r requirements.txt`

## Run tests
* Run tests using `pytest tests\test_login.py -v --html=./reports/index.html`
* Open the reports folder on the root project directory