This project contains simple UI test written in Python+Selenium and Allure Report
№ | Test Script | Run Result |
---|---|---|
1 | test_amazon_add_to_the_shopping_cart.py | Passed |
- Download and unzip this project: https://github.com/alderven/amazon/archive/master.zip
- Install Python 3.6 or higher: https://www.python.org/downloads/
- Install following Python libs:
- pytest: https://docs.pytest.org/en/latest/getting-started.html
- selenium: https://pypi.python.org/pypi/selenium
- allure-pytest: https://pypi.python.org/pypi/allure-pytest
- configparser: https://pypi.python.org/pypi/configparser
- Download ChromeDriver driver to the project root folder: http://chromedriver.chromium.org/downloads
- Install Allure Framework. See detailed instruction: https://docs.qameta.io/allure/latest/
Execute following line in CMD in the project folder:
python -m pytest --alluredir /full/path/to/report/folder
Execute following line in CMD in the project folder:
allure serve /full/path/to/report/folder