Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.96 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.96 KB

General information

This project contains simple UI test written in Python+Selenium and Allure Report

Test Case and Test Result:

Test Script Run Result
1 test_amazon_add_to_the_shopping_cart.py Passed

How to install

  1. Download and unzip this project: https://github.com/alderven/amazon/archive/master.zip
  2. Install Python 3.6 or higher: https://www.python.org/downloads/
  3. Install following Python libs:
  4. Download ChromeDriver driver to the project root folder: http://chromedriver.chromium.org/downloads
  5. Install Allure Framework. See detailed instruction: https://docs.qameta.io/allure/latest/

How to run tests

Execute following line in CMD in the project folder:

python -m pytest --alluredir /full/path/to/report/folder

How to generate Allure report

Execute following line in CMD in the project folder:

allure serve /full/path/to/report/folder