Tag «JUnit 4»

Setting up Selenium with Eclipse

In my earlier post I have explained how to setup Selenium with Eclipse but there I have utilized example of SugarCRM.  So, in order to avoid downloading SugarCRM I thought of writing one more post on the same topic which uses Google as example. Eclipse is an open source Integrated Development Environment which supports multiple …

Selenium – Logging with Log4j

If we are executing Test Suite with hundreds of automated test cases then logging all the events might be useful. There are two APIs available for logging events. JUL – Java Logging API Log4j – Apache Software Foundation I am going to discuss Log4j as this is an open source logging library as well as …

JUnit 4 – Introduction to “Annotations”

JUnit 4 introduced a new feature called “annotations”.  This helps greatly in automating test cases.  I agree that knowledge of Java programming language can help in implementing a robust test automation framework.  But the testers who don’t have knowledge of Java will be really benefited by “annotations” We will try to understand this feature in …

JUnit 4 – Executing multiple Test Suites

So far we have learnt JUnit 4 from the aspect of running a single test case.  In this post, we will explore how to run multiple test cases with JUnit 4. I am less bothered about how the JUnit is used for unit testing, but my concern is how we can utilize JUnit (referring to …