The beta-2 release of Selenium RC contains some significant changes you should be aware of. I'll describe some of those here.
Most notably, the default behaviors of the *iexplore and *firefox browser launchers have changed, to provide a better "first experience" for new users. *iexplore is now equivalent to *iehta . A new mode name has been added, *iexploreproxy, which is equivalent to the old *iexplore. Similarly, *firefox is now equivalent to *chrome . The *firefoxproxy mode is equivalent to the old *firefox.
To summarize:
LAUNCHER NAME DESCRIPTION CROSS-DOMAIN
*iexplore, *iehta => Internet Explorer in HTA mode YES
*iexploreproxy => Internet Explorer normal NO
*firefox, *chrome => Firefox in Chrome mode YES
*firefoxproxy => Firefox normal NO
Another significant change is the default to multi-window mode. Previously, you could tell the Selenium server to run in multi-window mode by providing the -multiWindow switch when starting it up. Now, multi-window is the default. This too provides a better first experience for users of framed applications. To return to previous behavior, you now specify the oppositve -singleWindow switch.
Selenium Core beta-1, included in RC beta-2, includes a couple of new features you may find useful.
First, we've started using a new, faster javascript XPath library for browsers that don't have native XPath, like IE. You can select this library in your test with the useXpathLibrary Selenium command. To select the new library, specify javascript-xpath as the target of the command. To select the original library, specify either ajaxslt , or simply default .
Secondly, I'm personally pleased to announce that UI-Element has been merged in. UI-Element is a feature allowing you to write a map file in javascript which can provide a layer of abstraction between the label used to identify elements on the page, and the actual Selenium locator that is used to locate the element. In practice, this makes it much easier to cope with a continually changing user interface - instead of updating all tests when an interface element changes, you simply update the map. More documentation on UI-Element can be found here: http://svn.openqa.org/fisheye/browse/~raw,r=2181/selenium/trunk/src/main/resources/core/scripts/ui-doc.html.
Enjoy these new features of the beta! And if you have questions, post to the forum, or join us on IRC:
server: irc.freenode.net
room: #selenium
