The 2nd Annual Google Test Automation Conference (GTAC) in New York on August 23 and 24. Jason Huggins Extending Selenium into the Browser and out to the Grid video.
Selenium Remote Control I think of as a more robust, ‘best-practice’ solution to functional automation of a website.
You basically install the “Remote Control” then you can you can write your tests in most languages including Java, Perl, Python, Ruby, PSP. And then you can run your tests from the command line.
Install and configure Selenium RC.
Make sure your Selenium RC server is running.
RC will act as a proxy for your browser
Works with multiple platforms including Windows, Mac OSX and Linux. And browsers including Internet Explorer, Firefox, Opera, Safari. More details is at Selenium Remote Control Docs.
Selenium IDE is one of the easiest ways to automate a web application quickly and it is the only flavor of Selenium that will record and play. Like other flavors of Selenium it will work in multiple browsers on multiple platforms.
You might want to use Selenium IDE to perform a quick and dirty test if the data and site never changes and is only used for a shirt while like perhaps a couple of days. But if I want to use it longer term, I might try something else like Selenium Remote Control.
Some basic steps to use Selenium IDE:
Install Selenium IDE (I installed it in Firefox for this example)
Open Firefox and go to the link you want to test
Launch Selenium IDE
By default you will be in Record mode
Select HTML Format
Click on some links, enter some text for your web application under test
JUnit is a framework for the Java programming language. This framework was developed by Kent Beck and Erich Gamma and is one of the most successful and widely used automated Unit testing frameworks.
Basic installation steps include:
Download and Install JUnit
Define a Subclase of TestCase
Override setUP() method Initialize the environment
Define one or many test() method that exercises objects under test and asserts expected results
OVerride tearDown() method to release resources properly
Define a suite() method to create a test suite
Execute tests one at a time or execute a suite of tests