Selenium RC 1.0.1 with Firefox 3.6
The last day I get stuck while I was writing my automated test codes with selenium but using firefox 3.6. Selenium was failing to open the firefox browser session because selenium RC 1.0.1 does not support firefox 3.6 by default. You know what I did? I did nothing but some googling as everyone does :) and found an excellent post on describing this problem. Here it is [http://www.qaautomation.net/?p=15]. Well you will have a lot of commands to read there. But in a nutshell all you need to do is modify the firefox version in following 5 files in the selenium-server.jar archive.
./customProfileDirCUSTFF/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf
./customProfileDirCUSTFF/extensions/readystate@openqa.org/install.rdf
./customProfileDirCUSTFFCHROME/extensions/{503A0CD4-EDC8-489b-853B-19E0BAA8F0A4}/install.rdf
./customProfileDirCUSTFFCHROME/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf
./customProfileDirCUSTFFCHROME/extensions/readystate@openqa.org/install.rdf
You just need to replace <em:maxVersion>3.5.*</em:maxVersion> to <em:maxVersion>3.6.*</em:maxVersion> in the above files (Step 5 of the aforementioned link)
My OS is windows. And I simply used a zip-unzip software to open the archive and changed the files through the it. Anyway, now I am writing my automated test code with selenium as well as using firefox 3.6 with its more improved speed and facilities.
./customProfileDirCUSTFF/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf
./customProfileDirCUSTFF/extensions/readystate@openqa.org/install.rdf
./customProfileDirCUSTFFCHROME/extensions/{503A0CD4-EDC8-489b-853B-19E0BAA8F0A4}/install.rdf
./customProfileDirCUSTFFCHROME/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf
./customProfileDirCUSTFFCHROME/extensions/readystate@openqa.org/install.rdf
You just need to replace <em:maxVersion>3.5.*</em:maxVersion> to <em:maxVersion>3.6.*</em:maxVersion> in the above files (Step 5 of the aforementioned link)
My OS is windows. And I simply used a zip-unzip software to open the archive and changed the files through the it. Anyway, now I am writing my automated test code with selenium as well as using firefox 3.6 with its more improved speed and facilities.
Comments
Post a Comment