WebDriver how to wait for alert in selenium 2

As we have seen in my previous posts, we can use textToBePresentInElementLocated(By, String) WebDriver condition to wait for text present on page and we can use elementToBeClickable(By locator) to wait for element clickable/present on page. If you read both those posts, We had used explicit waits in both the cases and both are canned expected conditions of webdriver so we … Read more

What Are The Similarities/Difference Between Junit and TestNG Framework For WebDriver

As you know, JUnit and TestNG are very popular unit testing frameworks for java software developers and we can use them in our webdriver test execution for any software web application. Till now, I have described all WEBDRIVER TUTORIALS with junit framework. Many peoples are asking me to describe the similarities and difference between JUnit and TestNG … Read more

Introduction Of TestNG – Unit Testing Framework For Selenium WebDriver

TestNG is unit testing framework and it has been most popular in very sort time among java software developers and selenium webdriver software automation test engineers. I can say, TestNG has not only most of all the features of JUnit but also many more advanced features in terms of selenium webdriver testing framework. Basically, TestNG’s software … Read more

How To Create And Run JUnit Test Suit For WebDriver Test – Step By Step

If you are planning to perform regression testing of any software web application using webdriver software testing then obviously there will be multiple test cases or test classes under your webdriver project. Example – There are 2 junit test cases of software web application under your project’s package. Now if you wants to run both of … Read more