Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Functional testing with Rational Robot

Becoming productive with IBM Rational Robot

Dennis Schultz joined Rational in 1995 as a Technical Sales Engineer. For eight years, he worked closely with numerous clients implementing Rational solutions in their projects. Dennis helped deploy solutions for Software Configuration Management, Change Management, Requirements Management, and Test Management and Implementation. Since 2003, Dennis has been a Technical Marketing Engineer for IBM Rational software. Dennis holds a B.S. in Computer Engineering from Iowa State University. He is based in St. Louis, Missouri and fills his non-work time with his four children.

Summary:  This tutorial demonstrates how to use IBM Rational Robot to record, edit, and execute functional regression tests. It will give you a jump-start on using Rational Robot by showing the basic steps of installing the product, creating the necessary datastores, launching the tool, using it to record manual interactions with a sample application, editing the resulting test script, and playing it back against another build of the application to uncover a functional regression.

Date:  19 Mar 2007 (Published 18 Jan 2005)
Level:  Introductory PDF:  A4 and Letter (828 KB | 32 pages)Get Adobe® Reader®

Activity:  19939 views
Comments:  

Why Rational Robot?

What is Rational Robot?

If you are working through this tutorial, you probably already know what Rational Robot is. Following is the official description from the Rational Robot Users Guide:

Rational Robot is a complete set of components for automating the testing of Microsoft Windows client/server and Internet applications running under Windows NT 4.0, Windows XP, Windows 2000, Windows 98, and Windows Me.

The main component of Robot lets you start recording tests in as few as two mouse clicks. After recording, Robot plays back the tests in a fraction of the time it would take to repeat the actions manually.

Other components of Robot are:

  • Rational Administrator -- Create and manage Rational projects to store your testing information.
  • Rational TestManager -- Review and analyze test results.
  • Object Properties, Text, Grid, and Image Comparators -- View and analyze the results of verification point playback.
  • Rational SiteCheck -- Manage Internet and intranet Web sites.

It can be a little confusing. Both the record/playback engine component and the entire package have the same name -- Robot. In this tutorial, I will try to refer to the record/playback engine component as simply "Robot" and use the term "Robot Package" for the entire offering.

During the course of this tutorial, I will touch on almost all of these components, although you will concentrate most of your time on the main component of Rational Robot.

Rational Robot is an automated functional regression testing tool. Let's break that down a little...


Rational Robot is a functional testing tool

Functional testing is not concerned with how quickly or slowly the application does its job. That would be performance testing.

Functional testing is not directly concerned with how robust the application is. Functional testing doesn't really care if there are memory leaks unless, of course, the lack of a robust implementation means the user cannot use the application to do what it needs to do.

Functional testing is concerned with verifying an application operates as it was intended. There are various ways to gauge how well an application functions such as how well it conforms to specifications or requirements. In the simplest terms, you can ask "Does the application do what the user needs it to do?"


Rational Robot is a regression testing tool

A regression is when something that worked in one build of an application suddenly does not work in a subsequent build. Often, this occurs when there seemingly should be no connection between the change made in the new build and the existing functionality. Regression testing involves running a suite of functional tests against build after build of an application to verify everything that was working continues to work.


Rational Robot is an automated testing tool

Functional regression testing can be done through manual testing. The problem is, as a project evolves, that functional test suite becomes longer and longer. At some point, it can take more time to run the test suite manually than you actually have between builds!

When this happens, test teams are faced with tough choices. They have to find a way to decide which tests are "less critical" and can be omitted on some or all build tests. Now the door has been opened for regressions to slip into those untested capabilities of the application.

Rational Robot is an automated functional regression tool. This means you use a computer to execute the tests much faster than you could manually. The key to doing this is to have a way to capture interactions with an application and make those interactions available to be repeated later.

2 of 14 | Previous | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=135451
TutorialTitle=Functional testing with Rational Robot
publish-date=03192007
author1-email=
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.