Skip to content

asif-shahriar/Pytest-Web-Automation

Repository files navigation

Web automation using Pytest Selenium

Prerequisites

  • Install Python and PyCharm in your local device
  • Clone the project
  • Open terminal in the root folder and run the following command:
pip install -r prerequisites.txt

How to run this project

  • Open terminal in the root folder
  • Run the following set of commands:
python -m pytest runner -vv -s --alluredir=allure-results --clean-alluredir
allure serve allure-results
  • Optional: If you want to run only the smoke/regression test cases, run either of the follwing set of commands:
python -m pytest -m smoke runner -vv -s --alluredir=allure-results --clean-alluredir
allure serve allure-results
  • OR,
python -m pytest -m regression runner -vv -s --alluredir=allure-results --clean-alluredir
allure serve allure-results

Allure Report Screenshot

allure

About

Web automation project of Selenium Pytest using Page Object Model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages