Firefox 3.5 now supported for Selenium testing of LabKey | kevink | 2010-01-19 15:25 |
Status: Closed | ||
Good news: you can run the selenium tests using Firefox 3.5 now! Some of us have been using Firefox 3.5 for a few weeks and haven't noticed any issues running the tests. If you run into any problems, please let us know. The issue was with extra spaces appearing in the 'class' attribute in some of our xpaths. Some change in FF 3.5 was causing the extra spaces to appear in the class attribute after using javascript to toggle the class (say from 'labkey-button' to 'labkey-disabled-button'). Normalizing the spaces in the xpath fixed the problem. If you'd like to run tests against both FF 3.0 and 3.5, you can switch between them by either using the FIREFOX_HOME environment variable or setting the "selenium.browser" ant property on the command line. For example,
ant drt "-Dselenium.browser=*firefox3 Or you can set FIREFOX_HOME in your environment:
;; stop the server if it is running to pick up the new environment To use the second form, you'll have to stop the selenium server before the new environment will be picked up.
Kevin |
||