Create Packages and Folders
Steps to follow to build selenium BDD FrameWork
- Create the folder structure of the framework with all the packages and folders.
- Configure the behave python libraries.
- Configure the allure reporting tool libraries.
- Create log4j custom class in utilities package.
- Create all the classes in the respective package folder as required.
Let us discuss one by one of all the classes in those packages.
1. base package
a. Driver.py
b. BasePage.py
2. utilities package
a. Custom_logger.py
3. configurationFiles package
4. pages package
5. steps package
6. environment.py
7. Feature files