How to take logs with Log4j

Today we will discuss about one of the most important aspect of any framework, i.e, Logs. But, first we need to understand what is a Log? A log is a documentation of events that has occurred over a period of time. In simple terms, a log is a file which stores all the actions performed [...]

How to take screenshot in selenium webdriver

Today we will talk about taking a screenshot in selenium script.  But let us first understand that why taking a screenshot is so important? As the size of our test cases increases, debugging the issues in script becomes much more difficult task. If we are running, say about 100+ test cases, and if some of [...]