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.
The Stale Element Reference Exception is one of the infamous exceptions in selenium. This exception is caused when
No framework is complete without reporting feature and we will use Extent report for this purpose. After this tutorial, you would be
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.