Skip to content

naveen614/AssessMent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium-Python-Example

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.

Requirements

  • Python 3.11
  • pip and setuptools
  • venv (recommended)

Instalation

  1. Download or clone the repository
  2. Open a terminal
  3. Go to the project root directory "/AssessMent/".
  4. Create a virtual environment: py -m venv venv
  5. Activate the virtual environment executing the following script: .\venv\Scripts\activate
  6. Execute the following command to download the necessary libraries: pip install -r requirements.txt

Test Execution

  1. Open a terminal
  2. From the project root directory run: pytest -v --html=results/report.html

Configuration

By default, tests will be executed in Chrome (normal mode). Preferences can be changed in "/data/config.yaml" file

Results

To check the report, open the '/results/report.html' file once the execution has finished.

Links

Selenium - Python Documentation

Webdriver Manager for Python

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published