Introduction Testing Tools
Introduction Testing Tools
Section IV
Modern Testing
Tools
Recent advances in client/server software tools enable developers to build
applications quickly and with increased functionality. Quality assurance
departments must cope with software that is dramatically improved, but
increasingly complex. Testing tools have been developed to aid in the qual-
ity assurance process.
The objectives of this section are to:
• Describe when a testing tool is useful
• Describe when not to use a testing tool
• Provide a testing tool selection checklist
• Discuss types of testing tools
• Provide descriptions of modern and popular testing tools
• Describe a methodology to evaluate testing tools
225
Part 20
Introduction to
Testing Tools
The objective of this section is to provide an overview of some popular test
tools and demonstrate how they can improve the quality and productivity
of a development effort.
227
228
229
230
the tester with information on weaknesses in the test design, which can be
solved with additional test cases.
Unit and integration coverage is provided with these tools. Unit cover-
age entails the coverage of the code and paths within a single program unit.
Integration coverage comprises the interfaces between program units to
determine the linkage between them. (See Exhibit 2.)
232
Comparators
A comparator is a program used to compare two versions of source data to
determine whether the two versions are identical or to specifically identify
where any differences in the versions occur. Comparators are most effec-
tive during software testing and maintenance when periodic modifications
to the software are anticipated.
Windows File Revision Feature. With Windows File Revision Feature one
can compare two versions of a document. The two documents being com-
pared must have different file names or the same file name in different fold-
ers. To use this feature under Windows 95:
1. Open the edited version of the document.
2. On the Tools menu, click Revisions.
3. Click Compare Versions.
4. Click the name of the original document, or type its name in the File
Name box.
5. Accept or reject the revisions.
Exhibit 2 cross-references testing tool vendors with the testing tool
types discussed above (in alphabetical order). Exhibit 3 gives contact in-
formation for the vendors.
Requirements-
Vendor Test Based Web Site Load/
Name Y2000 Management Management Management Static Dynamic Performance Coverage Regression
Astra x
Load- x x
Runner
LoadTest x x
PreVue x x
Pure x x
Coverage
Purify x x
Quantify x x
Caliber–RBT x
SQA x
Manager
SQA Robot x x x
SQA x
SiteCheck
Test Library x
Manager
Requirements-
Vendor Test Based Web Site Load/
Name Y2000 Management Management Management Static Dynamic Performance Coverage Regression
Test Station x x x
Test- x
Director
Visual 2000 x
Visual x
Quality
ToolSet
Visual Re- x x
engineering
ToolSet
Visual Test x x x
Product Features.
• Comprehensive analysis, visual representation, and date-centric soft-
ware testing to ensure improved project planning, architectural in-
sight, and validation for Year 2000 compliance across numerous
languages and platforms.
• An open API enabling the leverage of investments in existing tools
(change and configuration management, editing, renovation, GUI test-
ing, and even other Year 2000 assessment and remediation tools).
• A database of software characteristics including metrics and flow-
graphs, used as a valuable resource for software development and
testing efforts continuing into the next millennium.
• The “On-Screen Battlemap” renders a structure chart of a system and
highlights modules/paragraphs containing date references. The high-
light color is determined by the complexity of the code. Potential high-
risk areas are easily detected.
• The “Scatterplot Diagrams” provide a view of the quality of the system
and thoroughness of testing performed within a system. Modules are
sorted by their ranking in user-specified metrics. Error prone or un-
tested modules are effortlessly located.
• The “Unit-Level Slice” pinpoints date references and helps identify po-
tential test paths for testing millennium bugs.
System Requirements.
200 Mhz Pentium
64 Mb RAM
Platforms Supported.
SunOS 5.x (Solaris)
Windows NT
Windows 95
Languages Supported: C, C++, Fortran, Visual Basic, COBOL, ASM370,
Model204, Ada, Java
237
Product Features.
238
System Requirements.
166 Mhz Pentium
32 Mb RAM
Platforms Supported.
SunOS4.x (Motif)
SunOS 5.x (Solaris–Motif)
Windows NT
Windows 95
IBM RS6000, AIX 4.2
HP700, HP-UX 10.x
SGI, IRIX 5.x, 6.x
Languages Supported: C, C++, Fortran, Visual Basic, COBOL, ASM370,
Model204, Ada83, Ada95, PL/1, Java
Product Features.
• Insight into software quality through module-by-module metric calcula-
tion. Metrics including cyclomatic complexity and essential complexity
help identify where a program is more likely to contain errors. Metrics
measurements are also traced over time to track program improvement.
• A visual environment for understanding software. Graphical displays
represent the structure of code and the metrics rankings to provide
assessment even of large systems.
• A database of software characteristics including metrics and flow-
graphs, used as a resource for future software changes and upgrades.
• The Battlemap renders a structure chart of a system and color-codes
modules based on their metrics. Potential high-risk areas are easily
detected.
239
System Requirements.
166 Mhz Pentium
32 Mb RAM
Platforms Supported.
SunOS4.x (Motif)
SunOS 5.x (Solaris–Motif)
Windows NT
Windows 95
IBM RS6000, AIX 4.2
HP700, HP-UX 10.x
SGI, IRIX 5.x, 6.x
Languages Supported: C, C++, Fortran, Visual Basic, COBOL, ASM370,
Model204, Ada83, Ada95, PL/1, Java
Product Features.
System Requirements.
166 Mhz Pentium
32 Mb RAM
Platforms Supported.
SunOS4.x
SunOS 5.x (Solaris)
Windows NT
Windows 95
SCO Open Desktop 3.0
SunOS 5.x, (Solaris x86)
IBM RS6000, AIX 3.2, AIX 4.x
HP700, HP-OX, 10.x
SGI, IRIX 5.x, 6.x
Languages Supported: C, C++, Fortran, Visual Basic, COBOL, ASM370,
Model204, Ada83, Ada95, PL/1, Java
Tool Features.
242
• Filters for Web-based forms, frames, Java, JavaScript, ActiveX, and VB-
Script
• Automatic tracking of moved or orphan pages and broken links
• Fixes links without needing a separate editor
• Includes automatic virus scanning
• Pinpoints all slow pages and predicts performance time for all commu-
nication paths
• Can impersonate both Microsoft Internet Explorer and Netscape Nav-
igator to see the different server responses to the different browsers
• Integration with SQA Suite: SQA Robot as the Web Site Test Case
System Requirements.
16 Mbytes, 32 Mbytes recommended for NT
10 Mbytes of disk space
PC with 486 processor, Pentium-class processor recommended
Platforms Supported.
Microsoft® Windows 95® or Windows NT 4.0 or later
ActiveScan View requires Microsoft Internet Explorer™ v3.0 or later
Product Features.
243
System Requirements.
Microsoft Windows 3.x
Windows 95
Windows NT
16 Mbytes; 24 Mbytes recommended for Windows NT and Windows
95, 8 Mbytes for Windows 3.x
40 Mbytes of disk space
PC with 486 processor, Pentium-class processor recommended
Platforms Supported.
Microsoft Visual Basic (versions 3, 4 & 5)
Sybase/Powersoft PowerBuilder (versions 4, 5 & 6)
Borland Delphi (versions 2.01 & 3.0)
PeopleSoft PeopleTools (versions 6 & 7)
Centura (version 1)
Microsoft Visual C++ (version 5 and later)
update the status of a defect, project leaders extract information about the
progress of a testing project, and QA managers generate reports and
graphs to measure progress and report to upper management. An adminis-
trator can assign and restrict access privileges for security and give team
members different privileges to open, fix, verify, and resolve a defect.
SQA Manager WebEntry provides defect entry and tracking capabilities
that are accessed via a web browser. This enables end users of an applica-
tion to submit defects directly to an SQA Repository via a Web browser as
well as list and display information about defects previously entered, giv-
ing one the ability to benefit from users’ feedback at any stage of the re-
lease cycle.
SQA Manager delivers an automated test solution with an integrated,
powerful report writer and graphing engine. The customizable report writ-
er lets one create reports using any data in the SQA Repository through an
intuitive drag-and-drop interface. One can also customize or use any of the
more than 50 preformatted reports. The graphing engine offers a variety of
customizable graphs to help analyze the progress of the testing project.
Any information can be instantly sent via email.
Product Features.
System Requirements.
Microsoft Windows 3.x
Windows 95
Windows NT
245
Platforms Supported.
Windows NT
Windows 95
Windows 3.x
Product Features.
246
Platforms Supported.
Windows NT 4.0
Windows 95
Product Features.
247
System Requirements.
A CD-ROM drive
VGA or higher-resolution video adapter
Microsoft mouse or compatible pointing device
Optional: NetBIOS-compatible network
8 Mb of memory for Windows 95
12 Mb for Windows NT workstation (16 Mb recommended)
16 Mb for Windows NT workstation on RISC (20 Mb recommended)
15 Mb of available hard-disk space
Personal computer with a 386DX/25 or higher processor or a Digital
Alpha running Microsoft Windows 95 or Windows NT workstation
3.51 or later operating system
Platforms Supported.
Microsoft Windows 95
Windows NT
248
ware to be installed on the client browser or server machines, the traffic re-
corded can be used to generate heavy user loads against a Web server even
as the environment changes. preVue-Web can record Internet and intranet
application traffic from any Windows, Windows 95, Windows NT, MacOS,
OS/2 or UNIX system. preVue-Web software is supported on all major UNIX
platforms and Windows NT.
preVue-X automates both GUI regression testing and load testing for X
Window applications and does not require special hooks into the applica-
tion or X libraries.
The tool operates at the X protocol level, between the X server and the
X client applications. It operates independently from the graphical user in-
terface (Open Look, Motif, CDE, etc.), toolkits, and network.
preVue-ASCII (Version 5.0) is a remote terminal emulator (RTE) that rep-
licates users running applications on a system under test (SUT). preVue-
ASCII automates multiuser testing of the applications by replacing both us-
ers and physical devices with software scripts that deliver an accurate
workload of user activity. It measures the quality and performance of the
applications under large user loads.
Product Features.
(preVue-C/S Features)
• Emulates 2-tier and 3-tier network traffic
• SQL, HTTP, and Tuxedo traffic is captured and automatically turned
into client-emulation scripts
• Supports testing of Oracle, Sybase, Informix, and SQL Server data-
bases
• Presentation-quality data analysis tools
• Real-time test monitoring
• Server response time measured under varying user loads
• Integrated reporting with performance monitoring tools
• Easily varies the user workload during playback
• Tests are independent of client operating system and hardware
environment
(preVue-Web Features)
• Measures Web server response times under large user loads
• Automatically captures and plays back HTTP traffic and download-
ing of Java applets
• Accurately emulates and time stamps concurrent responses to mul-
tiple HTTP requests
• Provides emulation of users of any Web browser, running on any cli-
ent platform
• Supported on all major UNIX platforms and Windows NT
• Integrates with preVue-C/S to test both database and Web servers
249
(preVue-X Features)
• A single tool for both GUI and performance testing
• Nonintrusive approach lets one “test what you ship”
• Tests all versions of UNIX, X server, GUI tool kits, etc.
• Automatically generates test scripts reproducing user inputs and
system responses
(preVue-ASCII Features)
• Cost-effectively and accurately emulates large user loads
• Tests any screen-based application in any operating system envi-
ronment
• Measures the user’s perception of performance–response times at
the user’s terminal
• Automatically generates test scripts reproducing user inputs and
system responses
• Provides the realism of actual users, yet tests are reproducible
• Support on all major UNIX platforms
• Uncovers quality and performance problems with new software re-
leases before the users see them
• Determines how the applications perform with new system hard-
ware or software upgrades
• Verifies the quality of applications following Year 2000 code changes
• Tests the capacity of the current system as the number of users in-
creases
System Requirements.
N/A
Platforms Supported.
UNIX
Windows NT
Product Features.
250
Platforms Supported.
UNIX
• Sun SPARC workstations running SunOS 4.x, Solaris 2.3 - 2.6 HP9000
Series 700/800 workstations running HP-UX 9.0.x through 10.30
• Intel architecture only
Windows NT
251
Product Features.
Platforms Supported.
UNIX
• Sun SPARC workstations running SunOS 4.x, Solaris 2.3 - 2.6
• HP9000 Series 700/800 workstations running HP-UX 9.0.x through
10.30
• SGI workstations running IRIX 5.3, 6.2, 6.3 and 6.4
Windows NT
• Intel architecture only
• Windows NT 3.51 or above
• Visual C++ 2.2 or above
Product Features.
Platforms Supported.
UNIX
253
254
Product Features.
(Validating Requirements Features)
• The system’s functional requirements are defined by an analyst to
Caliber–RBT via a series of Cause-Effect Graph statements. Cali-
ber–RBT then translates the input Cause-Effect Graph statements
into a set of “functional variations.” It combines these functional
variations into a suite of logical test cases. These functional varia-
tions and test cases can be reviewed by the analyst to verify the
completeness and accuracy of the requirements specification vs.
the Cause-Effect Graph input.
255
256
ments. However, 82% of the total cost associated with system er-
rors have their roots in these same requirements. The cost
difference between detecting an error in the requirements at the
time of writing them (call it x) vs. detecting an error after the sys-
tem is in production has been measured at 270x.
• Allows the project manager the option of accelerating the project
when faced with tight schedules. This is possible because the test-
ing effort can be performed in parallel with the analysis, design, and
coding efforts. Also, earlier detection of errors will minimize the
costly and time-consuming rework effort associated with errors not
detected until the end of the development cycle.
System Requirements.
The 16-bit version of Caliber–RBT Release 5.3 requires Microsoft Win-
dows 3.1x running on a “386” (or, preferably, faster)-based
machine.
The 32-bit version of Caliber–RBT Release 5.3 runs twice as fast as the
16-bit version and requires Microsoft Windows 9x or NT running on
a “486” (or, preferably, much faster)-based machine.
Disk space — 6 megabytes (additional disk space will be required for
user data files).
Platforms Supported.
Microsoft Windows 3.1x
Microsoft Windows 9x
Microsoft Windows NT
While a specific OS/2 version of the code is not available, clients do
have Caliber–RBT under OS/2. A special install procedure has been
put together to make this easier.
257
Product Features.
• Change and Version Control — Through user access rights and stan-
dard change control procedures, one controls access to the test li-
brary and monitors any changes made and who makes them. Change
control logs document all activity for a complete audit trail. For test-
ing multiple releases of applications, Test Library Manager stores cor-
responding versions of test files for quick access.
• Simplified Maintenance — Centralized control means simplified main-
tenance. The inevitable modifications which need to be made to the
test files are handled through Test Library Manager. Test library com-
ponents can be modified using the Test Library Manager’s built-in ed-
itors. Search and replace facilities provide global editing of data
values across selected tests or your entire library.
When tests must be modified due to changes in your application
screens and fields, Test Library Manager automatically identifies the
affected tests, thus eliminating time-consuming review of the test files.
• Analysis and Reporting — Test Library Manager’s current and histor-
ical reporting capabilities give one quick access to consolidated test
results whenever needed. For an analysis of testing over the life of an
application, Test Library Manager stores cumulative results including:
change logs for tracking all modifications made to the test library, test
and error logs for assessing system failure rates over time, and host
response logs for monitoring system performance over time
• Customized reporting options allow one to review and analyze only
the data which is critical to the tester. In addition, test results can be
exported for use with other tools including text editors, spreadsheets,
or databases for further analysis.
System Requirements.
(Windows 3.X)
IBM PC-386 or greater and 100% compatibles
4 Megabytes minimum memory plus Windows system requirements
258
Platforms Supported.
Windows 3.1x
Windows 95
Windows NT
OS/2 LAN MGr
Novell 3.12
Product Features.
259
and release to release. With Test Station, tests can be captured at any
point in the software development process.
• Unattended Test Execution — Tests are intelligent scripts which pro-
vide dynamic verification of application responses against expected
results, duplicating expectations and decision points. When unexpect-
ed application responses occur during test execution, the tests identi-
fy those responses and react accordingly. Recovery options log the
details of application failures and then continue the testing process if
possible. In addition, Test Station’s playback synchronization pro-
vides proper test playback regardless of system performance.
• Reusability and Maintainability — Helps one develop an automated
test library that can be easily modified to account for new or different
application behavior over time. For ease of maintenance, tests can be
edited while in the application and then executed immediately, or they
can be edited off-line with Test Station or any text editor.
• Documentation and Reporting — Each step of every test is automati-
cally documented in English for ease of understanding. Tests are iden-
tified with detailed descriptions, test case numbers, and test
requirement identifiers for cross-reference purposes. After test execu-
tion, detailed results are available online or in report format for imme-
diate review and analysis.
• Scripting — Includes the AutoTester Scripting Language. Designed to
supplement the capabilities of Test Station, this language is a com-
mand set which can accommodate unique testing needs and provide
general task automation functionality.
System Requirements.
(Test Station)
IBM PC 386 or 100% compatible machines
MS-DOS or PC-DOS 5.0 or higher
326K conventional memory or 30K with LIM 4.0 compliant
expanded memory manager or DPMI 0.9 compliant extended
memory manager
10 Megabytes minimum storage requirements
Supports most network terminal emulation and communications
protocols, including IBM 3270, IBM 5250 (AS400), Hewlett-Pack-
ard 2392, Tandem 6530 and Unisys
(Windows 3.X)
IBM PC-386 or greater and 100% compatibles
4 Megabytes minimum memory plus Windows system require-
ments
10 Megabytes minimum disk storage
260
Platforms Supported.
Windows 3.1x
Windows 95
Windows NT — V4.x local testing 16-BIT applications only. No emula-
tion supported.
Product Features.
(Test Planning Features)
• Intuitive user interface can be used easily by a broad range of users
261
• Both manual and automated tests are organized in the same visual,
hierarchical tree
• Quick access folders allow for easy navigation through the test plan
• Test plan steps are converted automatically to WinRunner test tem-
plates
• Existing documents in other formats — Microsoft Word, Microsoft
Excel, and others — can be included in TestDirector’s repository
• Complete control over access privileges for both groups and indi-
viduals
(Scalable Architecture Features)
• Collaborative groupware provides access to all tests and defects
with TestDirector’s central repository
• Single repository for all test data supports industry-standard data-
bases
• Complete control over access privileges
(Test Execution Features)
• Integration with WinRunner provides support for automated test-
ing within the TestDirector environment
• Batch or individual tests are automatically launched from TestDi-
rector; test results are then reported immediately back to TestDi-
rector’s repository
• All tests are clearly labeled as manual or automated
• Testers are guided step-by-step through manual tests, while allow-
ing users to report actual behaviors, compare them to expected re-
sults, and report each step as passed or failed as they perform each
test step
• Defect reports can be created at any point during test execution,
importing information such as actual and expected results to the
defect report
• Failures of automated tests show the exact place where the error
occurred
(Defect Tracking Features)
• Defect reports include complete information, including the exact way
to reproduce the problem, who in the development group has respon-
sibility for correcting the problem, and where the defect occurred
• Remote Defect Reporter allows external users, such as off-site beta
testers, to report defects using the same structure
• Remote users are automatically notified of changes in the status of
relevant defect reports
• Defects are associated with the phase of the defect life cycle, the
tests which produced them, and the application function where
they occurred
262
System Requirements.
Minimum 16 MB RAM
Minimum 40 MB disk space
Platforms Supported.
Oracle
Sybase
Microsoft SQL Server
Microsoft Access
Product Features.
(Visually Integrated Scripting Features)
• Visual testing for powerful, flexible test creation productivity
• Interpreted development workspace with test script interpreter
and multiple document interface for simple management of script
development
263
264
System Requirements.
Minimum 16 MB RAM
Minimum 16 MB disk space
Platforms Supported.
Windows 95
Windows NT
Product Features.
(Automated GUI Regression Testing Features)
• XRunner runs on all UNIX platforms and may be ported for testing
across multiple environments
• RapidTest™ Script Wizard automatically learns the entire applica-
tion and generates tests for unattended regression testing
• Visual Testing environment for combining object-oriented record-
ing
• Point-and-click test generation and test script logic into a single en-
vironment
• Flexible verification and replay options
• Sophisticated reporting tools
• Portability across multiple platforms and more
(Automatic Test Generation Features)
• A GUI regression test that captures a baseline checkpoint of GUI at-
tributes for every window that opens
• A bitmap regression test that compares bitmaps between versions
by creating a screen capture for every window that opens
265
267
System Requirements.
16MB minimum RAM
Approximately 100 MB disk space
Platforms Supported.
UNIX
Product Features.
(Client Load Testing Features)
• Exercises the system, driving real applications through the virtual
clients simultaneously from a single point of control
• Includes an integrated set of new load testing components: Virtual
User Generator, ScenarioWizard, Visual Controller, and Load Ana-
lyzer
• Synchronizes all virtual users to create peak loads, pinpoint bottle-
necks, and isolate problems
• Records test scripts automatically at GUI, SQL, Web, and terminal
levels
• Aids in isolating problems at client, server, and network level
268
System Requirements.
Controller
32 MB RAM
70 MB disk space
Virtual Users
Minimum 2 MB per virtual user
269
Platforms Supported.
Windows 3.x
Windows NT
Windows 95
Sun OS, Solaris, HP-UX, IBM AIX, NCR
Product Features.
(Visual Web Display Features)
• View an entire Web site on screen
270
System Requirements.
486 or Pentium-based machine
6 MB RAM minimum
5 MB hard disk space
TCP/IP dial-up or LAN connection
Any Web browser (Netscape Navigator, Microsoft Internet Explorer,
etc.)
Access to organization’s Web site and one of its log files is preferred,
but not required
Platforms Supported.
Windows 95
Windows NT 3.51 or 4.0
271