Create an Ant build for TestNG tests

The goal of this exercise is to run TestNG tests through Apache Ant. First you have to have a sample TestNg project at your hand. If you don’t have any, you can create the sample using the instructions below, or you can download it from using the link from the bottom of the post. Create […]

Read more
Wedbriver wait for ajax to finish and JQuery animation

JQuery’s ajax calls can make an automated tester’s life miserable if you don’t know how to handle them. The quickest way to handle all of the Jquery ajax calls is to wait for the jQuery.active property to be null. We can easily construct a sample code trough the JavasscriptExecutor class.It sends out JavaScript code which […]

Read more