Basic understanding of a framework:
Before developing a framework we should step back and understand whether we need a framework or not? A framework makes our life easy. However, on the other hand to create a mature framework, time and cost is involved.
Here we are discussing about automation testing and it’s related frameworks. So to understand WHAT a basic automation framework does, we should understand the basic of automation testing.
Basic understanding of automation:
To be honest, we can achieve many things using automation. I will try to highlight almost everything to start automation.
In simple words, we automate the manual test cases using some tool. These automated test cases are written in such a way that it can be executed anytime without manual intervention. As time goes on, the automation scripts become complex and unorganized because of update, delete and insert in AUT(Application Under Test). Hence the need of framework comes into play.
Prerequisite: Features of automation framework.
Creation of first automation framework:
Here we will develop a automation framework with all the basic feature discussed above.
Prerequisite: basic knowledge of Selenium WebDriver, Java, TestNG is required.
Let’s start developing: