Confusions Personified

Confusions Personified has written 34 posts for Misadventures of a castaway coder!

Routing tests directly to Selenium Nodes

As and when the size of a Grid farm starts increasing, you will start having to worry about a lot of things. Since the Hub is the single point of interaction for a test with an actual node on which all the browser interactions are carried out, all tests end up bumping up the network … Continue reading

Just-Ask.. An On-Demand Docker Grid

A static Grid (i.e., a hub and a fixed number of nodes) is a good start for setting up a remote execution infrastructure. But once the usage of the hub starts going up, problems start creeping up. Nodes go stale and start causing false failures for the tests and require constant maintenance (restart). Some of … Continue reading

Talk to the Grid

Today I released talk2Grid which is a simple java library that lets you do the following : Find out to which node was a test routed to ? Provide access to the Grid Hub configuration. Provide access to the Grid node configuration to which the hub routed a test to. You can start using it … Continue reading

Simple Se – Page Objects – My first OSS contribution

Its been quite a while since I have been doing bits and pieces of deliveries here and there, contributing to TestNG both via pull requests and also on the mailer list and the same with Selenium as well (although I must admit I dont have too many contributions on Selenium), I have always wanted to … Continue reading

Dears Listeners…stand in Q please

Yes, you read the title right.. but I was not hinting at you the readers.. but I was referring to the TestNG listeners¬†. We have all at some point or the other wondered.. what if I could have my listeners follow some order when they are being executed by TestNG. I too wondered this. There … Continue reading

Testcase specific logs for a Selenium project

Problem statement: You would like to have a separate log file for every testcase so that if there are failures, its very easy for you to be able to debug and find out failures. For going through this, I am going to be using a selenium based test as an example. Selenium has a webdriver … Continue reading

Understanding PageFactory

I recently spent some time building some customisation around PageFactory. That was when I thought that maybe there is a need to explain PageFactory in detail apart from the user facing documentation that is available on the Selenium wiki page. The concept of PageFactory within the Selenium libraries consists of the following components : PageFactory … Continue reading

BrowserMobProxy meets JBrowserDriver

While I was casually skimming through the internet, I stumbled into this new flavour of webdriver which is being recommended as an alternate for “ghostdriver“. Its called “jBrowserDriver“. The github page should pretty much help you get started with using it. In this post we will just look at how do we couple a proxy … Continue reading

How to run test methods in parallel but test classes in sequence

This question came up recently on the TestNG forum. Since when solving this question I had a chance to use one of the lesser known features of TestNG, I thought I should perhaps capture this as a blog so that it can help someone. Here’s the problem statement : A user on the forum wanted … Continue reading

Disabling TRACE in Selenium

I have seen this question come up at-least twice on the Selenium forums. So I thought I might as well just create a blog post which shows how TRACE call can be disabled in the Selenium Uber jar. There’s no direct way of doing it. From what I have googled around, it looks like TRACE … Continue reading