Automated testing scripts with selenium and pytest for Continental Hotel
Check it here -> # https://contl-allure-generated-report.netlify.app/
- Java 8 or higher for Allure reports
- Allure Framework - https://docs.qameta.io/allure/#_installing_a_commandline
- selenium - https://selenium-python.readthedocs.io/
- pytest
- allure-pytest
- Rewrite all tests using POM design pattern
- Use webdriver-manager python package to programmatically set up webdriver at runtime - https://pypi.org/project/webdriver-manager/
Use pytest
- pytest -v -s CONTL_Website_Tests\CONTL_ ... - press tab for autocomplete
To generate allure reports
- open terminal in IDE
- pytest -v -s --alluredir="[path]"CONTL_Website_Tests\CONTL_ ... - press tab for autocomplete [path] = Allure_Reports
- save report dir path, or open cmd in the directory with the report dir
- run command: allure serve [dir path] or allure serve [dir with report name]