Logs provide an easy way to debug the execution flow. In this data driven framework tutorial, we will use log4j Logger to
At the end of this data driven framework tutorial you would be able to:create a test script and execute it using TestNGwrite a generic method
In this part of data driven framework tutorial, we will perform the following:
Create a new Maven project and add necessary packages
Data driven framework is a testing framework that uses external sources to store and manipulate test data. These sources could be excel sheets, databases, etc.
So far we have been using a single test class (LoginPageTest.java) with main method to execute all the tests. Now, we will break that class into different classes containing separate tests
In this tutorial, we will introduce the logging capability to our framework. Logs are the files which are generated during run time. Log4j API is used to generate the logs.
We have already created a few classes for the web pages, however, there are more web pages in the demo application. These web pages contain business logic, application flow, and other functionalities.
In this tutorial, we will learn what is a base class in page object model and how to refactor the code. The page object model is solely based on the pages and