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
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 »
A way to test Object by Object using selenium
Many of us must be trying to find the best way to do automation testing using selenium. And if we write our script in the same class, it becomes too long and difficult to manage. To tackle the same one can always follow the hybrid framework mentioned in my earlier post. But is it the […]