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]

Automate regression tests

IBM Rational Functional Tester makes regression testing a snap

Brian Bryson, Author, IBM
Brian Bryson joined IBM Rational in 1995 after having spent several years in software development. Since joining IBM Rational, he has held various positions supporting software quality tools, from consultant to technical marketing. He is currently the automated software quality evangelist for IBM Rational and spends his days speaking to customers, partners and analysts on all matters pertaining to software quality. Brian has spoken at numerous conferences and published many articles, the most recent on Patterns of Success in Test Automation in the December 2004 issue of Software Test and Performance.

Summary:  This tutorial introduces you to IBM Rational Functional Tester, an automated regression testing tool that lets you test Java, .NET, terminal-based and web applications running on Windows and Linux platforms. The tutorial will help you create, execute and edit a Functional Tester regression test. Along the way you'll explore the challenges of regression testing and the solutions offered by Functional Tester to address these challenges.

Date:  21 Feb 2005
Level:  Introductory PDF:  A4 and Letter (62 KB | 17 pages)Get Adobe® Reader®

Activity:  21035 views
Comments:  

About regression testing

The challenges of regression testing

Eventually, in any software system, users will uncover defects or bugs in the program. Typically, these bugs are fixed, the fixes are tested, and the updated software is released back to the user community. However, due to the interconnected nature of software, even the smallest change can wreak unpredictable havoc when the implications of that change are not properly understood. Any software change, even one that corrects a known defect, can affect a system in an unforeseen manner and potentially cause problems that are worse than those that the change was originally trying to address.

Regression testing is the practice of retesting of a software system that has been modified to ensure that no previously-working functions have failed as a result of defect reparations or newly added functionality. Comprehensive regression testing fully ensures that a software system is functioning as designed. Comprehensive regression testing, however, is rarely feasible, given the time and resource constraints placed on the typical software development team. As a software system expands and evolves, it becomes more and more difficult to test every piece of functionality. This problem is compounded by the frequency of software builds. In an environment where software builds are done on a nightly basis, comprehensive regression testing of every build is essentially impossible. Typically, in these environments, the testing of previous functionality is foregone to allow for testing of new fixes and new functionality. This leaves open the possibility that the software team will release software with undiscovered defects.

Rational Functional Tester is an automated regression testing tool that addresses these challenges. With Functional Tester, test scripts are created for the purpose of retesting system functionality. With every build of a new system, the scripts are executed to validate previously working functionality. Scripts are generally executed in an unattended mode, freeing up the quality assurance team to test the most recent fixes and functionality. As the software expands and evolves, so does the library of test scripts, ensuring that every build of the application is adequately tested from beginning to end.


Is Rational Functional Tester the tool for you?

Ask yourself the following question to determine whether or not Functional Tester is the tool for you:

Am I testing a Java, .NET, Web, or browser-based application?

If you answered Yes, then Functional Tester could be the tool for you! Functional Tester was designed to test Java, .NET, and Web/browser based applications exclusively. If you are testing Visual Basic, C++, or other Windows 32-bit applications, Functional Tester is not the tool for you. For users operating in these environments, IBM Rational offers Rational Robot. Similar in concept to Functional Tester, Rational Robot enables automated regression testing of Windows-based applications.

Now, consider these questions:

  • Are you forced to forgo some tests due to time constraints?
  • Are you spending too much time on test script maintenance?
  • Are you testing a complex application that is hostile to record and playback?

If you answered Yes to any of the above, then you need to take a good look at what Functional Tester can do for you. Continue on through this tutorial and explore the tool. In about an hour, you'll go through the process of recording, editing, executing, and analyzing your first Functional Tester script. Once complete, you should be in a good position to understand the value that Functional Tester can bring to your software development process.

2 of 9 | 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=134558
TutorialTitle=Automate regression tests
publish-date=02212005
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.