background image
<< Setting Up Your Test Environment | Setting GUI Recording Options >>
<< Setting Up Your Test Environment | Setting GUI Recording Options >>

Enabling IDE Applications for Testing

Recording GUI Scripts
When you need more comprehensive testing, modular scripts can easily be called
from or copied into other scripts. They can also be grouped into shell scripts, which
are top-level, ordered groups of scripts.
The benefits of modular scripts are:
They can be called, copied, or combined into shell scripts.
They can be easily modified or rerecorded if the developers make intentional
changes to the application-under-test.
They are easier to debug.
Creating Shared Scripts with UNC
When projects containing GUI or Manual scripts are to be shared, create the project
in a shared directory using the Uniform Naming Convention (UNC). UNC paths
are required for GUI test scripts and Manual test scripts that are run on Agent
computers. For more information about creating a shared directory, see the Rational
Suite Administrator's Guide
or the Rational Administrator Help.
Enabling IDE Applications for Testing
Robot provides specialized support for testing the objects in applications that are
created in many integrated development environments (IDEs).
To successfully test the objects in Oracle Forms, HTML, Java, C++, Delphi, and
Visual Basic 4.0 applications, you need to enable the applications as follows before
you start recording your scripts:
Oracle Forms Install the Rational Test Enabler for Oracle Forms. Run the
Enabler to have it add the Rational Test Object Testing Library and three
triggers to the .fmb files of the application. For information, see Chapter 12,
Testing Oracle Forms Applications.
HTML While recording or editing a script, use the Start Browser toolbar
button from Robot to start Internet Explorer or Netscape Navigator if they are
not already running. For information, see Chapter 14, Testing HTML
Java Run the Java Enabler to have it scan your hard drive for Java
environments such as Web browsers and Sun JDK installations that Robot
supports. The Java Enabler only enables those environments that are currently
installed. For information, see Chapter 15, Testing Java Applets and Applications.