Download Free Audio of Tell me about your frame work so I love using Ope... - Woord

Read Aloud the Text Content

This audio was created by Woord's Text to Speech service by content creators from all around the world.


Text Content or SSML code:

Tell me about your frame work so I love using Open source projects because it has great availability and support and it is proven to be a good choice. In the last framework I’ve worked on, I’ve used behavior data driven approach to simplify reading and understanding the code I’m writing . As Java being my main programming language. I also use selenium to automate my browsers and maven is my build automation tool. Which has pom.xml file that allows me to manage my dependencies and versions easily. Then I have four main packages in my frame work, I have Pages, Runners, Step definistions and utilities. I used cucumber as a testing tool and write my test cases as if they are scenarios in a feature file using the gherkins language. I use page object model to simplify managing and maintaining my framework for myself and my team.This design pattern allows me to locate web elements only once, in their respective classes. So that if there’s any problems with any web elements, I know exactly where to go and how to fix it. I created Singleton Design Pattern to allow my framework to pass the same instance of my web driver in one session. soo The session will end when the driver stops, In my step definitions, Ive created a Hooks file that I implement a before and after methods that we want to be included in every test, I personally also have my Take Screenshots on my after method incase the scenario fails. I implement the actual coding logic with java selenium J Unit inside my step definitions package, I trigger my framework from my test runner class. And also have a failed test runner class to re-run the failed tests. I use the pages package to store any web Elements that I try to find in the page so I can reused them when I need them again or if I have a problem in a specific locator I will know exactly where to find that problem and where to fix it. I keep my test data in a configuration properties file where I can change the running flow of the whole framework. For example, I can change the browser type, the username and password and the URL like changing the environment. Then I create a utility class from existing java library to read from the properties type of file. I use Jira X-ray to organize and manage test cases effectively. I use maven cucumber reports as a reporting tool after I run my test since it gives clean charts and data.and I use git and git flow for the version control.