Google Test Automation Conference Extending Selenium RC

By testautomationfaq, September 7, 2007

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.

Technorati Tags: , , , , ,

Introduction to Selenium Remote Control

By testautomationfaq, August 29, 2007

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.

Technorati Tags: ,

Introduction to Selenium IDE

By testautomationfaq, August 28, 2007

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:

  1. Install Selenium IDE (I installed it in Firefox for this example)
  2. Open Firefox and go to the link you want to test
  3. Launch Selenium IDE
  4. By default you will be in Record mode
  5. Select HTML Format
  6. Click on some links, enter some text for your web application under test
  7. Stop your test
  8. Now run it

Technorati Tags: , ,

Introduction to JUnit

By testautomationfaq, August 28, 2007

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:

  1. Download and Install JUnit
  2. Define a Subclase of TestCase
  3. Override setUP() method Initialize the environment
  4. Define one or many test() method that exercises objects under test and asserts expected results
  5. OVerride tearDown() method to release resources properly
  6. Define a suite() method to create a test suite
  7. Execute tests one at a time or execute a suite of tests

Technorati Tags: , ,

OfficeFolders theme by Themocracy