Over a million developers have joined DZone.

Selenium RC Gets Sauced

DZone's Guide to

Selenium RC Gets Sauced

· Agile Zone ·
Free Resource

Adopting a DevOps practice starts with understanding where you are in the implementation journey. Download the DevOps Transformation Roadmap. Brought to you in partnership with Techtown.

From the developers who brought you Selenium, comes a new free and open source distribution of Selenium 1.0.1 RC with commercial support and added open source features called Sauce RC.  Sauce RC (Remote Control) 1.0 is a cross-browser, multi-language functional testing framework.  It's a tool that is mainly geared toward developers and QA testers that haven't incorporated automated functional testing into the continuous integration frameworks they have in place.  Sauce RC makes Selenium RC much easier to configure and use, and with SauceOnDemand for parallel testing in the cloud, Sauce RC gains a lot of horsepower.

With more than 2.5 million downloads, Selenium RC is one of the most popular functional testing frameworks in the open source domain.  Sauce RC was built by the same developer who wrote Selenium.  The goal of Sauce Labs is to make Selenium usable and maintainable for a broader section of the market while bringing it up to higher business standards.

The GUI for Sauce RC features an integrated log viewer and a preference pane that lets you configure the RC server without going to the command line.  This simple web interface allows for some powerful remote administration of test servers.  Sauce RC 1.0 also includes an installer and a taskbar widget enabling easier server control.

                                                                                                           Sauce IDE closely resembles the Selenium IDE
To use Sauce RC, you start by opening Sauce IDE, which is the record and playback tool for testing.  After you record a test (without having to program anything), you can use an exporter to convert the test into several different languages (e.g. converts to a JUnit file for Java).  Then you just drop that file into your continuous integration scripts after changing the URL to the site that you're testing.  When you run the test with Sauce RC you can select just about any browser and version for the test (IE 6-8, even Firefox 3.6).  

Sauce RC 1.0 can integrate with Sauce OnDemand for even more powerful functionality.  Users can sign up for on demand plans at 5 cents a minute or pre-paid plans.  Sauce OnDemand lets you run parallel tests on multiple browsers in the cloud, which frees testers from the maintenance of dedicated testing infrastructure.  The service also stores videos of each test that you run on it and archives those tests, eliminating the need for detailed descriptions on how to reproduce a test error.

Sauce RC is licensed under Apache 2.0.  See the Sauce RC video demo on the Sauce Labs website along with the Sauce OnDemand pricing.

Take Agile to the next level with DevOps. Learn practical tools and techniques in the three-day DevOps Implementation Boot Camp. Brought to you in partnership with Techtown.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}