Hi All, wish you a very happy new year. It’s been a long time since my last post and this is the first one of 2013. I had been doing some interesting stuff over past few weeks on Behaviour Driven Automation testing and will share with a simple example on how to do the same with selenium. The catch here is with the Java library.Read More »
Tag: Selenium 2.0
Starting with Selenium GRID
Want to take best advantage of Selenium, GRID is the answer. It acts as a load balancer, but for tests. It’s primary job is to distribute the tests to different nodes (machines) registered to the server which has the hub. Let’s get started with the same.Read More »
How to Handle GWT suggestions using Selenium?
It is a very common pattern now a days that many web application are being developed using Google Web Toolkit and it can be very challenging to test such applications sometimes using selenium. For instance, last few days, I was struggling to go past a scenario where the suggest box of one field was masking another WebElement. For this reason the other WebElement was not getting located by Selenium and my test was failing. After many hit and trials, I found a way to solve this problem. Read More »
A Better Way of Writing Selenium Scripts [Part – 2]
Here I’m back with part 2 of the series. Here I would be explaining the test class. It’s basically the hybrid framework in detail.Read More »
A Better Way of Writing Selenium Scripts [Part – 1]
Many of us would be wordering what’s the best way to do scripting using selenium. Should we use ‘Data Driven Test Frameworks’, should we use ‘Keyword Driven Test Framework’ or should we combine both and use ‘Hybrid Test Framework’. Should we fetch the data from an excel sheet, or may be should we use XML files, or should we be more developer kind and use a Database instead. If you search on internet you will find many answers and arguments. Read More »
How to work with pop up windows using WebDriver?
It’s been quite some time since my last post. Here is problem we face many times. As time goes by coding standard rises and now a developer code in such a way that, it’s difficult to find different elements with names. One such difficulty come, when there is a pop up window appears on clicking a link and that has no name. Even with Selenium IDE, it’s difficult to find the handler name. What to do in such scenarios when we need to do some operation in the pop up window. Read More »
How to do Data Driven Testing using Selenium 2 (WebDriver)?
Many of us would be wondering if data driven testing is possible using Selenium 2 (WebDriver). The answer is yes, it can be done and again with the help of testNG. Below is a simple example where I’m passing data to the google search box using a 2×2 table.Read More »
Selenium 2.0 Released….
It’s been quite some time since my last post. I’m really excited about Selenium 2.0 which was released yesterday. Have a lot of research to do on it. How to data drive test using 2.0 and quite a few stuff. Till then, I’ll post selenium teachings step by step so that everyone can benefit. 🙂