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 – 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 »

Setting Up Selenium IDE with Firefox

How do we set up selenium IDE? Before doing anything first we need to check if we have Firefox installed in our system. As we all know IDE is the integrated development environment, selenium provides to record, customize and run different test in Firefox. Since it’s a Firefox add-on, we need to have Firefox installed in our machines to use the same. The max version of Firefox currently supported by IDE is Firefox 5.0 and the current version of IDE is 1.0.12. So first we need to install Firefox in our machine which is available for all sorts of premier operating systems used worldwide and can be downloaded from http://www.mozilla.com/en-US/firefox/new/ for free.Read More »