Skip to content

nomansial/HomeTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HomeTask

This repository contains the base setup of an UI testing project, using Python, Selenium Webdriver and Page Object Model pattern.

Requirements

  • Python 3.7.X
  • pip and setuptools
  • venv (recommended)

Instalation

  1. Download or clone the repository
  2. Open a terminal
  3. Go to the project root directory "/HomeTask/".
  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 tests folder right click on test_search.py and run as shown in the video recording.

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published