Thursday, November 13, 2008

Flash Selenium: zZzZZzz, drool....

When we kicked off Flash Selenium, Firefox 2 and IE7 were the only browser(s) that we intended to support. But, the world moved on and most likely we did not. The scene was something of this sort:

Microsoft: IE 7 is awesome. We rule your world!
Mozilla: Firefox 2 is kick-ass. We'll take over the world with FF2.
Selenium: Oh yeah, these two are here to stay. I'm cool with both of them.
Flash Selenium: Thank god Selenium's got my back.

Microsoft: IE 8 is better than ever. Lotta ppl agree to this.
Mozilla: To hell with Firefox 2. We'll give out Firefox 3. A better, improved, cutting-edge browser full of c**p! We'll make hell lotta changes to the way things used to work with FF2 and how it'll work with FF3. You damn right we will, coz WE CAN!
Selenium: I'll patch myself to make things work for now. Man these two guys are driving me nuts!
Flash Selenium: zZzZZzz, drool....

So now you see, we thought that we had the most generic solution that was transparent to the outside world and could be used to test even Einstein's Theory Of Relativity, but boy were we wrong! Firefox 3 made some changes to the way Javascript functions were invoked as compared to Firefox 2 and it's only when the issue was logged that we snapped out of our dream and came crashing down to reality.

FF2 used the document. notation while FF3 will use window.document. notation to refer to a document object. I still don't know why Mozilla ended up making this change but Flash Selenium went in for a toss.

The good news is that Revision 25 has the fix for Java and .NET Client of Flash Selenium and we'll fix the rest in few days.

PS: We appreciate the issues that have been logged by our users. Thanks a lot.