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 profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

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]

Test terminal-based applications with Rational Functional Tester

Dennis Schultz (dennis.schultz@us.ibm.com), Marketing Engineer, IBM
Author photo
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:  Regression testing -- in which code is thoroughly tested to ensure that changes have not produced unexpected results -- is an important part of any development process. But many testing environments neglect the terminal-based applications that still form the backbone of many industries. In this tutorial, you'll learn how the Rational® Functional Tester Extension for Terminal-Based Applications works with other Rational Functional Tester to help test terminal-based applications quickly and easily.

Date:  06 Dec 2007 (Published 13 Apr 2005)
Level:  Introductory PDF:  A4 and Letter (86 KB | 22 pages)Get Adobe® Reader®

Activity:  26285 views
Comments:  

Why use the Extension?

Functional regression testing

When I bought my house, the backyard fence was in pretty bad shape. One summer, I decided to build a new one. After a couple of days of hard work, the fence looked great. The next day, my neighbor came home from a trip and asked, "Is your phone working?" I knew immediately what had happened: when digging a post hole for my new fence, I had cut my neighbor's phone line. In trying to fix one problem (an old fence), I had created another problem without realizing it (my neighbor now had no phone service).

I tell you that story to illustrate a regression. Sometimes developing and maintaining software can be similar. When a developer adds a new feature or fixes a bug in the system, it is quite possible that the code being modified is used by a seemingly unrelated feature. How was I to know that the same patch of dirt I wanted for my fence post was also used for my neighbor's phone line? If we test only the new features each time we modify our code, we can't say for sure that all the things that used to work still do. In my case, the completed fence looked great, but unknown to me, my neighbor was no longer able to make phone calls.

The only way to know for sure that we have not broken existing functionality is to retest everything on every revision or iteration of our system. This is what's known as functional regression testing.


The challenge

Functional regression testing can be performed manually. The problem is that as a project evolves, that functional test suite becomes longer and longer. At some point, it may 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 an application.


What is Rational Functional Tester?

Rational Functional Tester is an automated functional regression tool. This means that it uses 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. You will be doing just that in a few moments.

Note that Rational Functional Tester is a functional regression tool. Rational Functional Tester is not intended to provide load for stress testing. For that, you need to look to Rational Performance Tester. In this tutorial, we will see how use the Extension to test the functionality of the application, not its scalability.

2 of 10 | Previous | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=273500
TutorialTitle=Test terminal-based applications with Rational Functional Tester
publish-date=12062007
author1-email=dennis.schultz@us.ibm.com
author1-email-cc=