Multi-browser framework for End-to-End Automation Testing with PyTest-Selenium and Page Object Model. The test examples were performed in the "Mercadolibre" website which is an online market similar to ebay.
- Python3
- At least one of these browsers installed [Chrome, Firefox]
- Clone the repo
- Install dependencies from requirements file.
- CD into the
PYTEST-AUTOMATION-FRAMEWORK
folder - Run
pytest -v .
The browser by default is chrome, this can be changed in the settings.py file or passing a flag --browser
Marks can be added to test in order to run based on tags, at the moment the only tag available is smoke, to run an smoke test you can simply run the command:
pytest -v -m smoke
- Add singleton to Driver
- Add Edge, Opera and Safari support
- Add Reporting Tool
- Add Logger / Handle errors
- Add Screenshots
- Add API Testing support
- Add integration with Slack / Teams