Hello welcome to Selenium Tutorials, in this post we will see how to create log files in selenium webdriver. In Automation, reporting plays an important role so we can generate the different type of HTML reports, XSLT report, Log files etc.
To use log4j API in our project we have to configure it, which simply means we have to create a .properties file inside some source folder and write down some pre-defined code. This code is already available over the internet and Log4j manual page, we gen
In the above Example, we have configured log4j to log in two different files named as Selenium.log and Manual.log. file and dest1 are the two identifiers. "File" is used to give file name in which logs will be saved "maxFileSize" is us
Post a Comment:
Showing 0 Comments: