Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/osandadeshan/pytest-page-object-model-demo
- Owner: osandadeshan
- Created: 2021-09-12T16:43:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-12T16:49:14.000Z (over 3 years ago)
- Last Synced: 2024-11-13T20:31:29.046Z (3 months ago)
- Topics: page-object-model, pytest, python3, selenium, selenium-python, selenium-webdriver
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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