Rational Testing Products
Release Notes


Release 2001A.04.00

Copyright © 2001 Rational Software and its subsidiaries. All rights reserved.
May 2001

About These Release Notes

Scope--Product Definition

Getting Started

Installation Information and System Requirements
Installation Issues
Installing on German Windows 98
Before you Install
Evaluation Artifacts
TeamTest and EnterpriseStudio Installation
SiteCheck Installation Notes
Upgrading TestFactory from Earlier Releases
Upgrading from Rational Test 6.x to 7.x
Internationalization

New and Changed Features

Rational TestManager
Rational Robot
Rational SiteCheck

Late Changes to Documentation

Rational TestFactory
Installing Rational Testing Products
SQABasic Language Reference
Robot Copyright Notices
TextBridge
GNU C Library

Guidelines and Restrictions on Using Rational Test Products

Rational Robot
Playback Under Purify, Quantify, or PureCoverage
Displaying the Euro Symbol
Session Recording and Test Script Generation
COM Session Recording
COM and ActiveX Controls in Internet Applications
Windows Millennium Edition
Rational TestFactory
Changing the System Font Size between Mapping Sessions
Moving a TestFactory Project for a Visual Basic Application to a Different Operating System
Recommended Java Virtual Machine
Mapping and Testing Java Applications Developed Using the Java Development Kit 1.1.8 or an Earlier JDK Release
Installing the Rational Test Java Enabler before Mapping a Java Application
Inprise Delphi Not Supported
Rational SiteCheck
ActiveScan View
Charset
Customizing Files Added by Rational SiteCheck
External Links
Previously-Saved Site Maps
Scanning Large Sites
Scanning Subdirectories
Preferences
Simultaneous Connections
Site Comparison
Windows 95 and Internet Explorer
Rational Administrator
Unified Change Management (UCM)
SQL Anywhere Database Server
Hardware and Software Requirements for SQL Anywhere Server
Other Information about SQL Anywhere Server

Defects/Change Requests

Rational SiteCheck
ActiveX Controls
Assertions
Comparisons
File Counts and Sizes
Frames
External Links
Microsoft Word Files
Rational Robot
Renaming Files
Scanning Anomalies
Smart Rescan
Site Monitor Issues
Rational Robot
General and Miscellaneous
PowerBuilder and Japanese Operating Systems
Timeout Problem with Windows 2000
Java Support
HTML Support
Visual Basic 4.0 Support
DCOM Support
Oracle Forms Support
PowerBuilder Support
Object Data Verification Points
Rational TestFactory
Working with Third-Party Controls
Running Test Scripts Generated for a Java AUT from Robot without Running TestFactory
Testing a Java Application that Runs on the Sun Java Virtual Machine
SQABasic

Contacting Rational Technical Support

About These Release Notes

These Release Notes provide information that is not available in the printed documentation or the Help for Rational Robot, SiteCheck, TeamTest, and TestFactory.

Scope--Product Definition

This release contains several usability and quality enhancements relative to the previous release, as well as several new features.

Getting Started

Installation Information and System Requirements

You will find complete installation instructions and system requirements in the Installing Rational Testing Products manual, which is available as a printed book and electronically as a PDF file on the Rational Solutions for Windows Online Documentation CD, which also includes a version of the Acrobat Reader.

Installation Issues

Installing on German Windows 98

If you install Rational Suite Enterprise on German Windows 98, you may see the following error message prior to rebooting:

A system error occurred while copying <CD-ROM Drive>:\coverage98\win98\testfactory.mkr to <Destination Drive>:\coverage98\testfactory.mkr: Zugriff wurde verweigert.

You can ignore this message since the file in question, testfactory.mkr, is not needed to run Rational applications and does not corrupt the install.

Before you Install

Before you install the current Rational testing product(s), you must uninstall any earlier versions of the following products:

Note: Rational LoadTest functionality is now included within Rational TestManager. Previous versions of Rational LoadTest will not work in conjunction with any testing products from the current release and must be uninstalled before installing this release.

Evaluation Artifacts

Evaluation artifacts are not included as a part of this installation procedure. As a result, when you select the Evaluator option on the Software Use page of the Rational Software Setup program, sample data will not be installed.

To obtain the sample data, download the Rational Suite Tutorial from http://www.rational.com/documentation.

TeamTest and EnterpriseStudio Installation

Certain DLL stubs are not being updated correctly in the installation procedure for Rational TeamTest and Rational EnterpriseStudio. This affects generation of VU test scripts from sessions in Rational Robot. To update the DLL files, run the rtfxdlx utility:

SiteCheck Installation Notes

SiteCheck requires that Microsoft Internet Explorer 3.0 or later be installed before you install SiteCheck. The installation program may need to upgrade system files, depending on which version of Internet Explorer you have.

For Windows 95 systems using Microsoft Internet Explorer 3.x, the installation program installs DCOM95 (Windows 95 support for Microsoft's distributed component object model architecture). You must restart your computer and restart the SiteCheck installation program to complete the installation.

For systems using Microsoft Internet Explorer 4.x, the installation program will update the COMCTL32.DLL file if it is out of date. If it's updated, you must restart your computer before you can run SiteCheck; otherwise, you will get a runtime error.

For systems using Microsoft Internet Explorer 5.x or later, you can run SiteCheck as soon as the installation program terminates.

Upgrading TestFactory from Earlier Releases

There is no automatic upgrade path from Rational TestFactory version 2000 to Rational TestFactory version 2001 or 2001A. To upgrade, you must remap and reinstrument your application.

Upgrading from Rational Test 6.x to 7.x

To upgrade from Rational Test 6.x to Rational Test 7.x, you must install the Rational Test 6.x to 7.x Repository Upgrade Kit. Be sure that the machine you run the upgrade on contains no Rational software newer than 7.x. Installation of Rational Suite 2000 or newer on that machine will cause the Repository Upgrade Kit to no longer function.

Internationalization

New and Changed Features

Rational TestManager

For last minute information regarding TestManager, see the Rational TestManager Release Notes.

Rational Robot

Rational SiteCheck

Late Changes to Documentation

Rational TestFactory

The TestFactory documentation refers to a standalone source code instrumentor for VB apps called sqa7sci. This is now called rtsci.

Installing Rational Testing Products

The Installing Rational Testing Products manual refers to the installation types as Typical, Custom/Full, Compact/Laptop, and Minimal. In this release Minimal installation is now referred to as Network installation.

SQABasic Language Reference

Robot Copyright Notices

Robot contains portions of the GNU C Library as well as TextBridge OCR software from ScanSoft, Incorporated. Copyright notices for this software were not included in the printed documentation for Rational Robot due to production deadlines. Instead, they are provided in these release notes.

TextBridge

TextBridge® OCR© 1994-99 ScanSoft, Inc. All rights reserved.

GNU C Library

Copyright notices for the GNU C Library are as follows:

catgets.c:

Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.

This file is part of the GNU C Library.

Contributed by Ulrich Drepper, <drepper@gnu.org>.

gnu_getopt.c:

Copyright (c) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.

catgetsinfo.h:

Copyright (C) 1996, 1997 Free Software Foundation, Inc.

This file is part of the GNU C Library.

Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.

nl_types.h:

Copyright (C) 1996, 1997 Free Software Foundation, Inc.

This file is part of the GNU C Library.

gnu_getopt.h:

Copyright (c) 1989, 90, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.

The GNU C Library and its use are covered under the terms of the GNU Library General Public License, a copy of which may be found in <INSTALLDIR>\Rational\Rational Test\opensrc\GNU_LGPL.txt.

See the README.wri file in the same directory for additional information.

Robot includes a copy of rtcpp.exe, an executable program based on GNU cpp.

Portions of this executable are copyrighted as follows:

prefix.c:

Copyright (C) 1997 Free Software Foundation, Inc.

pcp.h:

Copyright (C) 1990 Free Software Foundation, Inc.

gansidecl.h:

Copyright (C) 1996, 1997 Free Software Foundation, Inc.

obstack.h:

Copyright (C) 1988,89,90,91,92,93,94,96,97 Free Software Foundation, Inc.

cccp.c:

Copyright (C) 1986, 87, 89, 92-96, 1997 Free Software Foundation, Inc.

Written by Paul Rubin, June 1986

Adapted to ANSI C, Richard Stallman, Jan 1987

rtcpp.exe and its use is covered under the terms of the GNU General Public License, a copy of which may be found in <INSTALLDIR>\Rational\Rational Test\opensrc\GNU_GPL.txt.

See the README.wri file in the same directory for additional information, including disclaimer of warranty.

Guidelines and Restrictions on Using Rational Test Products

Rational Robot

Playback Under Purify, Quantify, or PureCoverage

Keep the following in mind during Robot playback under Purify, Quantify, or PureCoverage (PQC):

Displaying the Euro Symbol

By default, the FixedSys font used by Robot does not display the Euro symbol. To fix this, change the font to Courier or another font that supports the Euro symbol.

Session Recording and Test Script Generation

Session recording and generation of VU and VB test scripts is not supported for Windows Me, Windows 98, and Windows 95.

COM Session Recording

The COM session recorder works only with COM applications that use either OLE32.dll or OLEAUT32.dll. For example, J-Integra applications may use neither OLE32.dll nor OLEAUT32.dll, in which case no traffic is recorded and no test scripts are generated for the session

COM and ActiveX Controls in Internet Applications

If COM and ActiveX controls are not created properly, during recording and playback a browser will display a security message. To create COM and ActiveX objects for Internet applications, two guids are required from Microsoft's include file objsafe.h:

CATID_SafeForScripting, which has a guid of {7DD95801-9882-11CF-9FA9-00AA006C42C4} and

CATID_SafeForInitializing, which has a guid of {7DD95802-9882-11CF-9FA9-00AA006C42C4}.

When added, the two security guids will appear under the CLSID of the COM object in HKEY_CLASSES_ROOT\CLSID\<COM Object CLSID> where <COM Object CLSID> is the COM object's class ID.

For information on creating Safe and Scriptable ActiveX controls, search MSDN CD for "Safe and ActiveX."

Windows Millennium Edition

The following are known limitations found when running under Windows Millennium Edition:

Rational TestFactory

Changing the System Font Size between Mapping Sessions

If you change the size of the system font between mapping sessions, you also change the size of dialog boxes and the placement of controls within those dialog boxes. TestFactory recognizes previously mapped dialog box controls as new controls and maps them as such.

Work-around:

If you change the size of the system font after you map the AUT, and you then try to run a Pilot, the Pilot run fails. TestFactory sees the controls that contain the changed text as unmapped controls.

Work-around:

Moving a TestFactory Project for a Visual Basic Application to a Different Operating System

If you map a Visual Basic application on the Windows 95 or Windows 98 operating system, and you then move the project to Windows NT or Windows 2000 and remap the application, any message box mapped previously is remapped as a duplicate window. This also occurs if you map the Visual Basic application first on either Windows NT or Windows 2000, and then remap the application on Windows 95 or Windows 98. This mapping inconsistency occurs because the size of button controls on a message box is not consistent between operating systems.

Work-around:

Recommended Java Virtual Machine

This release of TestFactory supports the running of Java applications on the following virtual machines:

Mapping and Testing Java Applications Developed Using the Java Development Kit 1.1.8 or an Earlier JDK Release

If the application-under-test was developed using the Java Development Kit (JDK) 1.1.8 or an earlier release, you cannot use the Java virtual machine included with that JDK to run the application during mapping and testing from TestFactory. Instead, you must use Jview or the Java virtual machine included with the JDK 1.2 or later release.

Installing the Rational Test Java Enabler before Mapping a Java Application

If you map a Java AUT without first installing the Rational Test Java Enabler, the resulting application map contains only a top-level window object and an exit transition object. To correct the problem, install the Rational Test Java Enabler, delete the top-level window and exit transition objects, and then remap the Java application.

You can install the Rational Test Java Enabler from the Rational Software Setup program. For information about how to run the Rational Test Enablers, see the following manuals: Installing Rational Suite or Installing Rational Testing Products.

To install the Rational Test Java Enabler, click Start > Programs > Rational Product Name > Rational Test > Java Enabler, and then follow the instructions provided on the install wizard.

Inprise Delphi Not Supported

TestFactory does not support Inprise Delphi applications.

Rational SiteCheck

ActiveScan View

ActiveScan View requires that Microsoft Internet Explorer 4.0 or later is installed. ActiveScan View does not work with Netscape Navigator because this browser cannot be embedded into an application at this time. You can use any Web browser in the Browser View.

Charset

SiteCheck does not support the 'charset' attribute of the 'Content-Type' META tag - e.g., <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">.

Customizing Files Added by Rational SiteCheck

In Rational SiteCheck, you can add an HTML file to your site by choosing Edit > Create a New HTML File. To customize the file that is added by this command, just modify or replace the template file rtnew.htm located in the Rational SiteCheck Template subdirectory.

Similarly, to customize the message page that LinkWizard generates for moved or deleted pages, modify the template files rtmoved.htm and rtdel.htm. However, in the rtmoved.htm template, do not change any reference to %new_URL%. LinkWizard replaces this text with the URL for the moved file.

External Links

All external links that do not refer to a specific HTML file are displayed in Page View and List View using the default page name for the file name (from the Open Site dialog box). For example, an external link to http://www.rational.com is displayed as http://www.rational.com/index.html. This does not affect any functionality. The actual HTTP requests for this link do not include the default page name.

(See also External Links under "Defects and Limitations" later in these notes.)

Previously-Saved Site Maps

Site maps are closely associated with the original site. So, when a site map for a local site is reopened and edited, the changes are made to the actual local site.

Scanning Large Sites

The table below displays recommended system configurations for different sized sites:

# Files on Site Recommended Memory Recommended OS
Up to 1,000 64 MB Windows 95, 98, Me, 2000, or NT
1,001 to 5,000 96 MB Windows 95, 98, Me, 2000, or NT
5,001 to 20,000 128 MB Windows 95, 98, Me, 2000, or NT
20,001 to 50,000 256 MB NT, 2000
50,000 and over 512 MB NT, 2000

Scanning large sites might require more memory than the minimums documented. A guideline for the memory requirement is 1.5 MB of available free memory for every 1,000 links. Therefore, a site with 10,000 links will require approximately 15 MB of available virtual memory.

We recommend using Rational SiteMonitor for scanning large (or busy) sites. In SiteMonitor, create an Analyze Site event and then schedule it to be run when the server is not busy (such as at 1:00 a.m.). For more information, see the Rational SiteMonitor Help.

Scanning Subdirectories

We recommend that you use a multiserver entry on HTTP sites where the server redirects the browser to a subdirectory of the site. Click the Servers button on the General dialog box of the Site Settings wizard to define the servers in your multiserver Web site.

Preferences

The settings in the Preferences dialog establish the baseline values used when scanning new sites. Changes made in the Preferences dialog do not affect the settings for sites which already have been scanned. Site specific settings are made in the Open Site Settings dialog.

Simultaneous Connections

If you are running SiteCheck on a workstation that is, relatively speaking, much faster than the Web server, reduce the simultaneous connections to 1.

The default setting is 4. By reducing the value to 1, you reduce the effects of the scan on other users of the Web site. Alternatively, you can set simultaneous connections for individual site scans on the first page of the Site Settings wizard.

Site Comparison

When SiteCheck performs a Web Site Comparison, it only examines the internal structure of two Web sites. Links to external pages are not checked. This may cause conflicting results if the baseline or comparison site is a previously saved site map file that checked external links.

Windows 95 and Internet Explorer

Installing SiteCheck on a Windows 95 machine without Internet Explorer will fail due to the absence of wininet.dll.

If you have Internet Explorer 4.01 on a Windows 95 machine, you must install SP 1 before installing any of the testing products or test suites.

If you have Internet Explorer 3.x on a Windows 95 machine, you need to run the DCOM95.EXE patch located in the "patches" folder of the install media.

Rational Administrator

Unified Change Management (UCM)

If you use Unified Change Management (UCM) with Rational Suite under these conditions:

then make sure that you do not set the UCM policy, "Check Assignment Before Work On". (The default is for the policy not to be set.)

When you set the policy, you cannot work on an activity unless you are the owner of that activity. But in the current implementation of UCM for RequisitePro and Rational Test, an entire team of workers share the same activity. Therefore, if the policy is set, only one person, not the entire team, can work in a RequisitePro project or in a Rational Test datastore.

If the policy is mistakenly set, you will see the error message "Source control could not set activity." To work around this error:

For further details, see the Using Rational Administrator manual.

SQL Anywhere Database Server

Hardware and Software Requirements for SQL Anywhere Server

Note: If you plan on making more than ten connections to a Rational Project, we recommend that you use a Window NT Server as your database server. A Windows NT Workstation allows only ten network connections.

Other Information about SQL Anywhere Server

Defects/Change Requests

Rational SiteCheck

ActiveX Controls

Files with the .ocx file extension are not currently recognized in List View as ActiveX controls and do not appear in the report when your click List View > Files and Links > ActiveX Controls.

Assertions

It is possible to have both an assertion that tests for the absence of an HTML object and an assertion that tests for the presence of the very same HTML object. SiteCheck does not notify you of this conflict.

The Global Assertion feature and the Smart Rescan feature can cause some confusion in some cases. Smart Rescan scans only pages that were changed since the last scan. If you add or modify a global assertion between the original scan and the rescan, the assertion will be applied only to the rescanned pages, not the entire site. If you add or modify a global assertion, consider rescanning the entire site.

Comparisons

When SiteCheck performs a Web Site Comparison, it only examines the internal structure of two Web sites. Links to external pages are not checked. This may cause conflicting results if the baseline or comparison site is a previously saved site map file that checked external links.

When comparing sites, we recommend you do not use the Scan Interrupt Recover feature if you are also using the Smart Rescan feature.

File Counts and Sizes

Currently the count of inbound and outbound anchors in List View is not always accurate.

If you delete files in File View while Site Properties View is open, the file count in Site Properties View does not change. You must press F5 or click View®Refresh Site Properties to refresh the view.

Site Properties View is suppose to refresh at the end of a scan but occasionally does not. Press F5 or click View®Refresh Site Properties to refresh the view.

The file size given for an HTML page in List View is less than the actual size if the page contains images, such as banner ads, supplied by an external source. The same low-size calculation can occur if you use the Exclude feature to ignore image files (as in exclude *.gif).

Frames

In cases where links are included between the <NOFRAMES> and </NOFRAMES> tags, the links do not appear in Page View. They are visible in other views, such as Source View and List View.

External Links

After you change the source of an HTML file (in Source View), a page reference to an external link that does not terminate with a slash (such as, http://www.asite.com/something), reverts to an unchecked state. If the link is properly terminated with a slash (such as, http://www.asite.com/something/), this problem does not occur. A simple workaround is to manually recheck the links.

If you stop a scan before it completes, some link anchors may appear as broken (they should appear as unchecked). Either recheck the links manually or run the scan again to completion.

Typically, when an HTML page includes the <BASE HREF > tag, the page uses relative URLs in its <A HREF > tags. These relative links will be incorrectly shown as broken links.

Some links that are associated with FrontPage extensions (for example, /_vti_bin/shtml.exe/...) may incorrectly be shown as broken links.

In Source View, when you pause the cursor over a JavaScript link with an anchor, the tip does not always include the anchor in the location information.

Microsoft Word Files

SiteCheck can parse and verify links embedded in Word files. Currently, if you attempt to parse a password-protected Word file, you are prompted to enter the password.

If you use Recheck on a broken link to a Word file (.doc), it is reported as a good link whether it is good or not.

Rational Robot

The baseline site for a Web Site Scan verification point is not correctly loaded when it is opened from the verification point frame of a Robot test script. To correctly open baseline site:

We recommended that you do not define a Wait State when recording a Web Site Scan or a Web Site Compare verification point. SiteCheck does not consider these settings during a site scan.

If your network has a Proxy Server and you have not configured the Proxy Server settings in SiteCheck, Robot test scripts that include Web Site Scan or Web Site Compare verification points will not play back properly.

To configure the Proxy Server settings:

To change the Proxy Server settings for the current scan:

Renaming Files

If you have a Word document or Excel spreadsheet displayed in the Browser View, you cannot rename it in File View. Switch to another view first. Renaming is available on local sites only.

Scanning Anomalies

Sometimes the interface appears to freeze. If you scan a large site with active content, and right-click in Browser View to view the context menu during the scan, the problem could show up when the default ActiveScan message box appears. If this happens, press the ESC key one or more times.

If you open a site map that was created on another desktop and click Reload, the default page name may display incorrectly. This error has no negative effect on the scan results.

Smart Rescan

When Smart Rescan locates a Web server that does not return a last modified date (LMD), it treats all pages as new pages and rescans the entire site. In this case, the scan actually takes longer than if Smart Rescan was not selected because each page is checked for an LMD value as well as being scanned. If Smart Rescan locates pages without an LMD value on a server that otherwise returns the LMD value, those pages are treated as changed and rescanned.

(See also "Assertions" and "Comparisons" in these notes.)

Site Monitor Issues

A Check Server Response event may fail on certain types of Web servers if the server does not identify itself as an HTTP server. To fix this, change the type of event to an Analyze Site event and only scan one level of the site.

Because of the heavy memory requirements of scans, we recommend you do not scan two or more large sites (greater than 50,000 links) simultaneously. Even with small sites, limit simultaneous scans to a maximum of three. These limits especially apply when the event is comparing two sites. Instead of simultaneous events, schedule the scans as sequential cascading events; for example, the second scan starts when the first scan ends.

When comparing sites, we recommend you do not use the Scan Interrupt Recover feature if you are also using the Smart Rescan feature.

Rational Robot

General and Miscellaneous

PowerBuilder and Japanese Operating Systems

Certain configurations of PowerBuilder DropDownDataWindows will not record and play back correctly on Japanese operating system. When recording item selection on a DropDownDataWindow in PowerBuilder, Robot does not record or play back properly. It does not click on the drop down portion of the DropDownDataWindow correctly.

To fix this problem, make the following registry setting:

Robot records and plays back correctly using the row number of the item selected in the DropDownDataWindow.

Timeout Problem with Windows 2000

You may get a time out error when playing back a test script under Purify when running Windows 2000. To fix this problem, we recommend that you set the timeout multiplier option for the GUI Playback Options three times higher than the default setting.

To set the timeout multiplier option:

Java Support

As long as the installation is run from a CD, or a Robot installation has been done (required for proper operation of the Rational Test Enabler for Java), the Enabler will run properly.

HTML Support

Visual Basic 4.0 Support

DCOM Support

Oracle Forms Support

PowerBuilder Support

Object Data Verification Points

Rational TestFactory

Working with Third-Party Controls

TestFactory does not support the mapping and testing of certain third-party controls. If the AUT contains a third-party control that TestFactory does not recognize, you can create a region object to represent the control and assign an interaction method to use on the control during mapping and testing. However, there is no guarantee that Pilots will test it correctly.

Running Test Scripts Generated for a Java AUT from Robot without Running TestFactory

If a Pilot generates a test script to test a Java AUT, and you play back the test script in Robot without running TestFactory at the same time, Robot may not be able to start the AUT. This is because Robot cannot determine the Java virtual machine that you specified in TestFactory to run the AUT. Without TestFactory running simultaneously, Robot also cannot determine what options, if any, that you specified in TestFactory to run the AUT.

To play back a Pilot-generated test script in Robot to test a Java application without running TestFactory, you must use the following:

Testing a Java Application that Runs on the Sun Java Virtual Machine

If you want to run a .jar or .class file on a computer running Windows 95 or Windows 98 using the LaunchAUT button on the TestFactory toolbar, do the following:

After you test, and before you map the AUT the next time, be sure to do the following:

SQABasic

Contacting Rational Technical Support

If you have questions about installing, using, or maintaining this product, contact Rational Technical Support as follows:

Your Location Telephone Facsimile E-mail
North America (800) 433-5444
(toll free) (408) 863-4000
Cupertino, CA
(781) 676-2460
Lexington, MA
support@rational.com
Europe, Middle East, Africa +31 (0) 20-4546-200
Netherlands
+31 (0) 20-4545-201
Netherlands
support@europe.rational.com
Asia Pacific +61-2-9419-0111
Australia
+61-2-9419-0123
Australia
support@apac.rational.com

Note: When you contact Rational Technical Support, please be prepared to supply the following information:


Rational Software Corporation
http://www.rational.com
support@rational.com