How to start with designing framework for Automation testing
A framework standardizes your code, choosing the right framework for your automation script is paramount such that it blends all technologies in the market such as Test NG for generating reports, Jenkins, Maven, etc. We will be sharing one such Framework in this article. How to start with designing framework for Automation testing - The Framework can be divided into various components such as - Base class/ Parent class - Consists of driver initialisation or driver properties which will be further re-used by all other sub-class or child class. for example, PageloadTimeOut, implicitWait, deleteAllCookies, getUrl and so on. Let's say we name it as com.qa.base. Page Layer - Add one class for each screen you are navigating to and the class should contain the web-elements and actions to be performed. for instance, the login page has username, password and submit functionality, we can add web-elements and the method to perform the action. Let's add these classe...