This repository contains the base setup of an UI testing project, using Python, Selenium Webdriver and Page Object Model pattern.
Reads the data from NSE webSite and Store in xlsx files and compares the data for two intervals.
- Python 3.11
- pip and setuptools
- venv (recommended)
- Download or clone the repository
- Open a terminal
- Go to the project root directory "/AssessMent/".
- Create a virtual environment:
py -m venv venv
- Activate the virtual environment executing the following script:
.\venv\Scripts\activate
- Execute the following command to download the necessary libraries:
pip install -r requirements.txt
- Open a terminal
- From the project root directory run:
pytest -v --html=results/report.html
By default, tests will be executed in Chrome (normal mode). Preferences can be changed in "/data/config.yaml" file
To check the report, open the '/results/report.html' file once the execution has finished.