Tests created for study purpose using the available test site: http://automationpractice.com/ Implementing Behavior approach with pytest-bdd
1) Prerequisite:
pytest
pytest-bdd
Python3
Selenium/WebDriver
Browsers (Firefox, Chrome)
Respective Browser drivers
2) Project Scope
Functional and nonfuncional tests as:
Compatibility Testing
Field Validation
Navigation
Security:
Direct access to internal url pages without login
Valid inputs in input fields (login username, password, input text boxes, etc)
3) Setup
To manage packages pipenv is used.
Run pipenv install in the project's root directory
To run the tests only pytest command is necessary. The following commands also can be used:
pipenv run python -m pytest
python -m pytest