Hi I am looking for a Selenium Python with Behave BDD automation expert who can guide me in my real automation project. I have done Udemy courses, and have also watched the videos on youtube. These videos use some very basic examples that do not cover the real world scenarios, for example, if I want to test the following scenario:
- Establish the geo-location
- Visit the website on a particular browser (based on what is returned by my script i.e., chrome, firefox, or edge. I am using a browser list and a for loop to get the browser and install the driver accordingly).
- Establish if the user is anon (which the user would be).
- Visit the test URLs.
- perform actions.
I have done all the above individually and it kind of works. This is just one example. Have many more.
BUT I AM STRUGGLING WITH THE FOLLOWING:
- where to store the drivers or shall I do the installation during the runtime - what is the best practice
- do I store all the identifiers in a separate file in utilities or just identify the objects in the code snippet that runs at the time.
- What is the framework I should use - I am sure there are many out there.
- Where in my framework shall I add the Behave feature files, scenarios, Steps etc.
Basically being my very first project I need a professional guidance and I am ready to pay for the guidance. Any help/suggestion would be highly appreciated.
CodePudding user response:
The SeleniumBase framework has a complete behave/BDD integration.