Using The Rational Administrator
Using The Rational Administrator
Rational Administrator
Version 2000.02.10
U sing the Rational Administrator
Copyright 1999-2000 Rational Software Corporation. All rights reserved. The contents of this
manual and the associated software are the property of Rational Software Corporation and are
copyrighted. Any reproduction in whole or in part is strictly prohibited. For additional copies of this
manual or software, please contact Rational Software Corporation.
Rational, the Rational logo, PerformanceStudio, SiteCheck, TestFactory, TestStudio,
O bject-O riented Recording, and O bject Testing are trademarks or registered trademarks of Rational
Software Corporation in the U nited States and in other countries. Java and all Java-based marks are
trademarks or registered trademarks of Sun Microsystems, Inc. in the U nited States and other
countries. All other names are used for identification purposes only and are trademarks or registered
trademarks of their respective companies.
U .S. GO VERMEN T RIGH TS. U se, duplication, or disclosure by the U .S. Government is subject to
restrictions set forth in the applicable Rational License Agreement and in DFARS 227.7202-1(a) and
227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (O ct 1988), FAR 12.212(a) 1995, FAR
52.227-19, or FAR 52.227-14, as applicable.
Revised 04/2000
This manual prepared by:
Rational Software Corporation
20 Maguire Road
Lexington, MA 02421
U .S.A.
Phone:
800-433-5444
408-863-4000
E-mail: support@rational.com
Web: http://www.rational.com
P/N 800-023362-000
ii
ã ã ã
Contents
Preface
Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
U sing H elp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Contacting Rational Technical Publications . . . . . . . . . . . . . . . viii
Contacting Rational Technical Support . . . . . . . . . . . . . . . . . . viii
iii
Contents
iv
Contents
Glossary
Index
v
Contents
vi
ã ã ã
Preface
This manual describes how to use the Rational Administrator and Rational
repositories. This manual is intended for system administrators, application
developers, quality assurance managers, and quality assurance engineers.
Other Resources
ã This product contains complete online H elp. From the main toolbar,
choose an option from the H elp menu.
For information about context-sensitive H elp, see the following section.
ã All manuals for this product are available online in PDF format. These manuals
are on the Rational Solutions for Windows O nline Documentation CD.
ã For information about training opportunities, see the Rational U niversity
Web site: http://www.rational.com/university.
Using Help
This product contains context-sensitive H elp for dialog boxes, menus, and toolbars.
Click th is to see an
overview of the d ialog box.
vii
Preface
viii
ã ã ã
C H A P T E R 1
1 -1
A bout the Rational Repository
1 -2
Parts of a Rational Repository
The following table provides specific examples of how you can benefit from
associating different datastores with one another in a Rational repository as you
design, develop, and test software applications.
1 -3
A bout the Rational Repository
1 -4
Parts of a Rational Repository
About Projects
Projects help you categorize your software development and testing information for
easy tracking. The number of projects in a repository depends on the complexity of
the software development project or application-under-test. The number of projects
also depends on the number of ongoing testing efforts. For example, you can divide
a large testing effort into several smaller projects within one repository, or you can
create separate repositories for unrelated testing efforts.
A project usually consists of the following:
ã Data in Rational Test datastores
ã Data in RequisitePro datastores
ã O ne or more Rose Models (optional)
ã Rational Synchronizer rules
For instructions about how to add or delete a project, see Managing Projects on page
2-25.
1 -5
A bout the Rational Repository
1 -6
Parts of a Rational Repository
1 -7
A bout the Rational Repository
1 -8
A bout Rational ClearQ uest D atabases
N O T E: The version of ClearQ uest that comes with Rational TeamTest differs
from standard C learQ uest in one way: you cannot add a field to a ClearQ uest
schema. To add fields to a schema, you must purchase standard Rational
ClearQ uest software.
N O T E: Rational ClearQ uest Web does not support Microsoft Access databases.
1 -9
A bout the Rational Repository
M icrosoft Access – Microsoft Access is the default database type for Rational
repositories and installs automatically when you install your Rational software. We
recommend using Microsoft Access for a database with seven or fewer concurrent
users. H owever, with more than seven users, data access is slower than for a
comparably sized Sybase SQ L Anywhere Database Server database. This type of
database is virtually maintenance-free. For example, you can back up the database
simply by backing up the Rational repository directory.
Sybase SQ L Anywhere D atabase Server – Sybase SQ L Anywhere Database Server
software comes with your Rational software, but does not install automatically. We
recommend using this type of database for a database with eight or more concurrent
users. Data access for a SQ L Anywhere Database Server database is faster than for a
comparably sized Microsoft Access database. For information about installing this
software, see your Rational installation manual.
M icrosoft SQ L Server – Microsoft SQ L Server does not come with your Rational
software. You can use this software for ClearQ uest databases; however, you must
purchase the software and install it separately.
O racle – O racle does not come with your Rational software. You can use this
software for C learQ uest databases; however, you must purchase the software and
install it separately.
1 -1 0
D eterm ining a D atabase T ype
The following table summarizes which type of database software to use for a
ClearQ uest database.
1 -1 1
A bout the Rational Repository
1 -1 2
ã ã ã
C H A P T E R 2
2 -1
M anaging a Rational Repository
Statu s bar
2 -2
Rational Repository Privileges
2 -3
M anaging a Rational Repository
Repository Tasks
The following table provides an overview of the typical tasks that you perform to
manage a Rational repository.
2 -4
Repository Tasks
(Continued)
Task Description See
Connect to a You must connect to a repository Connecting to a Repository on
repository. before you can add a project, user, page 2-20
group, or computer.
Add one or more A project stores data from Rational Managing Projects on page
projects to a Test programs. O ther files stored in 2-25
repository. the projects related to testing are
scripts, files, and schedules.
O ptionally, a project can store
RequisitePro requirements, Rose
models, and Synchronizer rules.
Add one or more Create a group or groups with Rational T est Database
groups to privileges for a repository. When you Privileges on page 3-1
a Rational Test add a user to a group, the user takes
database and assign on the privileges of that group.
privileges to a group.
Add one or more users You must add a user to a repository Managing Users on page
to a Rational Test before a user can use other 3-6 and Rational T est
database. Rational software. You must also Database Privileges on page
make a user a member of a group to 3-1
grant user privileges.
Add one or more Managing Computers on
computers to a page 3-9
repository.
Change a Rational You can change a Rational Test Changing a Rational T est
Test database type. database from a Microsoft Access Database T ype on page 2-22
database to a SQ L Anywhere Server
database, or from a SQ L Anywhere
Server database to a Microsoft Access
database.
2 -5
M anaging a Rational Repository
2 -6
U pgrading an SQ A 6 .x Repository
2 -7
M anaging a Rational Repository
(Continued)
Type of SQA Suite 6.x data Converted?
Test plans Yes
Test procedures Yes
(Called scripts in Rational repository.)
U sers Yes
(Privileges are not converted.)
Virtual user test procedures No
(Called virtual user scripts in a Rational repository.)
Conversion Details
When you create a Rational repository with SQ A Suite 6.x data, the following
conversion takes place:
ã A verification point ID or script file name with a period (.) in the name is
prefixed with _REN AMED_.
ã A period (.) in a script file name or verification point ID converts to an
underscore (_).
For example, a script named wn95.tst converts to _REN AMED_wn95_tst.
A verification point ID named alpha.b2 converts to _REN AMED_alpha_b2.
2 -8
U pgrading an SQ A 6 .x Repository
The following table lists each field of an SQ A 6.x defect and the comparable
Rational TeamTest defect field. The table also describes the conversion of each field.
N O T E: The word List in the Description column of this table indicates that if
you customize a list in SQ A 6.x, it converts to a list in the TeamTest defect form.
2 -9
M anaging a Rational Repository
(Continued)
SQA 6.x TeamTest Description
Defect Field Defect Field
Reported By Reported By
Contact
Reported By Reported By
Company Company
H ardware H ardware List
O perating O perating List
System System
O ther O ther
Environment
Test Station (N ot converted) In SQ A 6.x, a Test Station field is a text field.
In Rational 7.x the Computers field replace the
Test Station field and is an object. A Computer
object is not created for each SQ A 6.x Test
Station field.
Log (N ot converted)
Custom 1 Custom 1 List
If you customized the label for this field in
SQ A 6.x, the label is not converted. U se the
ClearQ uest Designer to customize this label.
Custom 2 Custom 2 List
If you customized the label for this field in
SQ A 6.x, the label is not converted. U se the
ClearQ uest Designer to customize this label.
Custom 3 Custom 3 If you customized the label for this field in
SQ A 6.x, the label is not converted. U se the
ClearQ uest Designer to customize this label.
Attachment Attachments You can attach more than one file after you
convert to a 7.x Rational repository.
Requirement Requirement
2 -1 0
Before Creating a Repository
(Continued)
SQA 6.x TeamTest Description
Defect Field Defect Field
Status H istory H istory
Resolution Resolution List
Resolution Resolution
Description N ote
Modified (N ot converted)
Software
Troubleshooting
The convert.txt file in the converted project directory contains the conversion status
of each verification point and script. U se this file as a diagnostic tool if you have any
problems with your data after conversion.
2 -1 1
M anaging a Rational Repository
4. If your Rational software comes with ClearQ uest, you must create a ClearQ uest
database to store defects for your functional testing efforts. This database is
separate from the Rational Test database. If you use O racle or Microsoft SQ L
Server for a ClearQ uest database, do the following:
a. Purchase, install, and configure O racle or Microsoft SQ L Server database
software.
Configuring ClearQuest
Before you create a repository with a C learQ uest database, or attach an existing
ClearQ uest database to a repository, you must configure C learQ uest by creating a
new schema repository or by connecting to an existing schema repository. You only
need to do this once for all repositories. If you attach an existing ClearQ uest database
to a Rational repository that has an existing schema repository, you do not have to
create a new schema repository. For more information about C learQ uest schemas,
see About Rational ClearQuest Databases on page 1-9 and the ClearQ uest H elp.
For information about attaching an existing ClearQ uest database when you create a
repository, see Creating a Repository on page 2-13. For information about attaching an
existing ClearQ uest database to an existing repository, see Attaching an Existing
ClearQuest Database on page 2-24.
To configure ClearQ uest:
1. Click T ools → Rational ClearQ uest M aintenance T ool.
2. Follow the directions in the ClearQ uest Setup Wizard to create a new schema
repository or to connect to an existing schema repository.
3. O ptionally, create a sample database. ClearQ uest provides a sample database
containing sample records that you can use to familiarize yourself with
ClearQ uest.
2 -1 2
Creating a Repository
For more information about the ClearQ uest Setup Wizard, click H elp on the wizard.
The wizard creates two default ClearQ uest accounts. You need the user ID and
password to log into ClearQ uest. The user IDs and passwords are as follows:
ã Default administrator account – The user ID is adm in, with no password.
ã Default user account – The user ID is user, with the password, password.
Creating a Repository
Before working with a Rational Test application for the first time, you use the
Administrator to create a repository.
There are three steps that are required to create a Rational repository:
1. Specify a path and database type for a Rational repository.
2. O ptionally, initialize a Rational Test database with data from an existing
SQ A Suite 6.x or Rational repository.
N O T E: You can only initialize a Rational Test database with global repository
data, such as users, groups, permissions, and computers from an existing
Rational repository. Initializing does not copy project information.
2 -1 3
M anaging a Rational Repository
2 -1 4
Creating a Repository
6. Proceed to the next section, Initialize a Rational Test Database with Data.
2 -1 5
M anaging a Rational Repository
N O T E: You can only initialize a Rational Test database with global repository
data, such as users, groups, permissions and computers from an existing
Rational repository. Initializing does not copy project information.
1. In the Create Repository wizard, take one of the actions listed in the
following table.
If you Then
Do not want to initialize a Rational a. Click D o not initia lize the new repository
Test database with data from an using data from an existing repository.
existing Rational repository. b. Click N ext to continue, and then proceed to
step 2.
Want to initialize a Rational Test a. Click Initia lize the new repository using
database with data from an existing data from an existing Rational
Rational repository. repository.
b. Type the drive and pathname of an existing
repository in the box, or select a repository
from a list of registered Rational
repositories. Alternatively, click Browse to
select the path for an existing repository.
c. Click N ext to continue, and then proceed to
step 2.
Want to initialize the Rational Test a. Click Initia lize the new repository using
database with data from an existing data from an existing SQ A 6 .x repository.
SQ A 6.x repository.
b. Type the drive and pathname of the existing
SQ A 6.x repository in the box, or select a
repository from a list of registered Rational
repositories. Alternatively, click Browse to
select the path for an existing repository.
c. Click N ext to continue, and then proceed to
step 2.
2 -1 6
Creating a Repository
If you Then
Do not want to create or a. Clear the Create or Atta ch ClearQ uest D ataba se
attach a ClearQ uest check box.
database to a new b. Click N ext to continue.
repository. A summary page confirms the type and location of your
new repository.
c. Click Finish to create the new repository.
Want to create or attach a Proceed to the next section, Create or Attach a Rational
ClearQ uest database to a ClearQuest Database.
new repository.
2 -1 7
M anaging a Rational Repository
To create or attach a Rational ClearQ uest database to the Rational repository that you
are creating:
1 . In the Create Repository wizard, select the Create or Attach ClearQ uest
D atabase check box.
2. Log into the administrator account of the ClearQ uest schema repository.
N O T E: The user ID for the default administrator account is adm in, with no
password.
2 -1 8
Creating a Repository
2 -1 9
M anaging a Rational Repository
(Continued)
If you want to Then
Create a new N O T E: To prevent ClearQ uest from disconnecting
ClearQ uest database. from a database, type 0 in the Tim eout: M inutes box
and 0 in the Poll Interval: M inutes boxes.
i. Click N ext.
j. Select an existing ClearQ uest schema from the
Schem a N am e column. For Rational testing software,
(Rational Suite Enterprise, Rational Suite
PerformanceStudio, Rational Suite TestStudio, or
Rational TeamTest) we recommend that you select the
T estStudio schema. This is the Rational schema that is
designed to work with Rational testing software.
N O T E: If you are using Rational TeamTest, you must
select the TestStudio schema or ClearQ uest will not
work. The version of ClearQ uest that comes with
TeamTest differs from standard Rational ClearQ uest
and does not allow you to add a field to a schema or to
use any schema other than the TestStudio schema. To
add fields to a schema or to use a schema other than the
TestStudio schema, you must purchase standard
Rational ClearQ uest software or a Rational Suite
product that comes with standard Rational ClearQ uest.
k. Click N ext.
A summary page confirms the type and location of your
new repository.
l. Click Finish to create the new repository.
Connecting to a Repository
You must connect to a repository if you want to add a project to a repository or
add a user, group, or computer to a Rational Test database. When you connect to a
repository, you gain access to the entire Rational repository.
To connect to a repository:
1. Right-click the repository to which you want to connect, and then click
Connect.
2. Click O K.
2 -2 0
Creating a Repository
N O T E: When you connect to a repository for the first time, you should
define a password for the Admin user to prevent unauthorized access. The
Admin user always has full user access privileges and cannot be deleted from
a repository.
iii. Change the password of the Admin user to prevent other users from
using the Administrators group privileges. For more information about
changing a password, see Changing a Password on page 3-9.
b. If you are not logging in for the first time:
i. Type your U ser ID. The U ser ID is not case-sensitive.
ii. Type your password. The password is case-sensitive.
c. Click O K.
2 -2 1
M anaging a Rational Repository
Deleting a Repository
When you delete a repository, the Rational Administrator deletes all parts of the
repository created by the Administrator. If you attached a C learQ uest database or a
Rose model not created by the Administrator, they are not deleted when you delete
the repository. O nly the association with the repository is deleted.
To delete a repository:
1. Make sure that no one else is using the repository that you want to delete.
2. Select the repository you want to delete from the left pane of the main window.
3. Click Edit → D elete to delete the repository.
4. If you are not connected to the repository you want to delete, you are prompted
to log in.
a. Type your U ser ID. The U ser ID is not case-sensitive.
b. Type your password. The password is case-sensitive.
5. The Administrator prompts you to confirm the deletion. Click Yes.
2 -2 2
Creating a Repository
2 -2 3
M anaging a Rational Repository
3. Type the U ser ID and the Password of the administrator account of the
ClearQ uest schema repository, and then click N ext.
4. Select the new D atabase type.
5. Type the information required by your new type of database.
6. Click N ext.
7. Click Finish.
4. Click Finish.
2 -2 4
M anaging Projects
Managing Projects
When you create a repository, the Administrator creates a default project for you.
You can add projects to a repository. The number of projects in a repository depends
on the complexity of the work you are doing or on the number of ongoing unrelated
efforts. For example, you could divide a large testing application into several smaller
projects, or you could define a separate project for each unrelated testing effort.
You cannot modify the name of a project once you create it.
Adding a Project
When you add a project to a repository, you can associate a project with one or more
Rose models. See step 6.
When you create a project in the Administrator, you can use an existing RequisitePro
database or you can create a new RequisitePro database. If you create a new
RequisitePro database for a project, the Administrator creates a Microsoft Access
type of database. If you use an existing RequisitePro database, the database can be any
type of RequisitePro database that RequisitePro allows. For information about the
types of RequisitePro databases that you can create using RequisitePro, see the
Rational RequisitePro H elp.
2 -2 5
M anaging a Rational Repository
N O T E: If you have a ClearQ uest project with the same name, the
Administrator prompts you to confirm that you want to use the same
project name in the Rational repository.
5. Click N ext.
2 -2 6
M anaging Projects
6. O ptionally, click Attach to associate a project with one or more Rose models.
To change your selection, click D etach.
Project
n am e and
directory
2 -2 7
M anaging a Rational Repository
A set of default rules ship with the Rational Synchronizer. The Administrator stores
the default Synchronizer rules in each project in a Rational repository. You can use
the default rules, or you can customize them by adding your own rules or editing the
existing ones. For more information about using, adding, or editing rules, see the
Rational Synchronizer H elp.
Deleting a Project
Deleting a project removes all project data for that project from the repository. When
you delete a project, the Administrator deletes everything in the project folder — the
RequisitePro database, any Rose models created within a project folder, and all
Rational Synchronizer rules in the folder.
To delete a project:
1. Double-click Projects in the left pane of the main window to display all projects.
2. Select the project you want to delete.
2 -2 8
Viewing the Properties of a Repository
N O T E: You must connect to a repository before you can view a project, user,
group, or computer in a repository. For more information about connecting to a
repository, see Connecting to a Repository on page 2-20.
The properties of the object that you select appear in the right pane of the main
window. For more information about displaying property pages, see property pages in
the Rational Administrator H elp.
2 -2 9
M anaging a Rational Repository
2 -3 0
ã ã ã
C H A P T E R 3
When you log into a Rational repository, your Rational Test database privileges
determine the privileges that you have for managing a repository.
3 -1
M anaging a Rational T est D atabase
For example, as administrator of a repository, you can create a group with privileges
that allow the group to create and modify test assets, builds, logs, and reports in a
repository, but deny the group the privilege of deleting a repository.
You can also make a group the default group. When you add a user to a Rational Test
database, and this option is set, every user that you create takes on the privileges of
that default group.
A member of the Administrators group can:
ã Create, modify, and delete test assets.
ã Create, modify and delete reports and layouts, builds, logs, and requirements.
ã Customize test assets and builds.
ã Create, modify, and delete logs and reports.
3 -2
Rational Test D atabase Privileges
Adding a Group
Groups allow you to set privileges for each user.
N O T E: You must connect to a repository before you can add a project, user,
group, or computer to a Rational Test database. For more information, see
Connecting to a Repository on page 2-20.
3 -3
M anaging a Rational T est D atabase
3 -4
Rational Test D atabase Privileges
Custom ization Privileges – Select the appropriate check boxes to give privileges
to a group to customize test assets or builds. Test assets include scripts, and
schedules. You can customize the properties of scripts, schedules, and build
states using Rational TestManager. For more information about customizing
scripts and schedules, see the chapter about planning tests in the Using Rational
Robot manual. For more information about customizing build states, see the
chapter about managing builds, log folders, and logs in the Using Rational Robot
manual.
Adm inistration Privileges – Select the appropriate check boxes to give
privileges to a group to manage projects, users, groups, or computers.
7. Click O K.
Modifying a Group
You must have privileges to modify a group. For more information about privileges,
see Rational Test Database Privileges on page 3-1.
To modify existing group information:
1. Connect to the repository that you want to modify. For more information about
connecting to a repository, see Connecting to a Repository on page 2-20.
2. If Groups is not visible in the left pane of the main window, double-click
Rational T est D atabase.
3. If the group that you want to modify is not visible, double-click Groups to
display all groups.
4. Select the group to modify.
5. Click Edit → Properties.
6. Change the group information.
7. Click O K to apply your changes.
Deleting a Group
When you delete a group, you delete the group privileges for any users in the deleted
group. You do not delete any users who are members of the deleted group.
You must have privileges to delete a group from a Rational Test database. For more
information about privileges, see Rational Test Database Privileges on page 3-1.
To delete a group from a Rational Test database:
1. Connect to the repository that you want to modify. For more information about
connecting to a repository, see Connecting to a Repository on page 2-20.
3 -5
M anaging a Rational T est D atabase
2. If Groups is not visible in the left pane of the main window, double-click
Rational T est D atabase.
3. If the group that you want to delete is not visible, double-click Groups to
display all groups.
4. Select the group to delete, and then click Edit → D elete.
The Administrator prompts you to confirm the deletion.
5. Click Yes.
Managing Users
U sers are typically the Q A managers, developers, and test engineers who use
Rational Test components to create, edit, run, monitor, analyze, and manage scripts
that run across a network.
If you have privileges, you can add new users and modify information for existing
users. For each user, you can specify a user ID, password, first name, last name,
company, title, department, phone number, and email address.
You can assign privileges to a user by adding a user to a group. When you add a user
to a group, the user takes all privileges of that group. A user can be a member of one
or more groups.
You must have privileges to add new users, modify user information, and change
user privileges. For more information about privileges, see Rational Test Database
Privileges on page 3-1.
Adding a User
N O T E: You must connect to a repository before you can add a project, user,
group, or computer to a Rational Test database. For more information, see
Connecting to a Repository on page 2-20.
3 -6
M anaging U sers
3. Type information about a user in the G eneral tab of the dialog box.
5. In the N ot A M em ber O f list, select one or more groups to make the user
a member, and click > or > > .
6. Click O K.
For more information about groups, see Rational Test Database Privileges on page 3-1.
3 -7
M anaging a Rational T est D atabase
Modifying a User
You must have privileges to modify a user in a Rational Test database. For more
information about privileges, see Rational Test Database Privileges on page 3-1.
To modify existing user information:
1. Connect to the repository that you want to modify. For more information about
connecting to a repository, see Connecting to a Repository on page 2-20.
2. If U sers is not visible in the left pane of the main window, double-click Rational
T est D atabase.
3. If the user that you want to modify is not visible, double-click U sers to display
all users.
4. Select the user to modify.
5. Click Edit → Properties.
6. Click the G eneral tab and change the general information.
7. Click the G roups tab and change the groups information.
8. Click O K to apply your changes.
Deleting a User
You must have privileges to delete a user from a Rational Test database. For more
information about privileges, see Rational Test Database Privileges on page 3-1.
To delete a user from a Rational Test database:
1. Connect to the repository that you want to modify. For more information about
connecting to a repository, see Connecting to a Repository on page 2-20.
2. If U sers is not visible in the left pane of the main window, double-click Rational
T est D atabase.
3. If the user that you want to delete is not visible, double-click U sers to display all
users.
4. Select the user to delete.
You cannot delete the adm in user.
5. Click Edit → D elete.
The Administrator prompts you to confirm the deletion.
6. Click Yes.
3 -8
M anaging Com puters
Changing a Password
To change a password:
1. Double-click Rational T est D atabase in the left pane of the main window.
2. Double-click U sers to display all users.
3. Select the user name of the password that you want to change.
4. Click Edit → Properties, or right-click and then click Properties.
5. Click the G eneral tab of the dialog box.
6. Select the original password (xxxxx) in the Password box, and then type a new
password over it.
Type an alphanumeric string of up to 20 characters for the password. Passwords
are case-sensitive. A user with a defined password must type that password and
user ID to log into the Rational software.
7. Click O K.
Managing Computers
To manage your testing efforts, you can add a computer to a Rational Test database,
modify computer information, and delete a computer from a Rational Test database.
3 -9
M anaging a Rational T est D atabase
Adding a Computer
When you add a computer to a Rational Test database, you do the following:
ã Type the network name, operating system, and a description of the computer.
ã O ptionally, define how Rational LoadTest uses the computer in a schedule.
ã O ptionally, type the port name and number of the computer used for proxy
recording with Rational LoadTest. For more information, see the Using Rational
LoadT est manual.
Before you add a computer to the Rational Test database, you must determine the
network name of your computer. For information about determining the network
name of a computer, see Determining the N etwork N ame of a Computer on page 3-9.
N O T E: You must connect to a repository before you can add a project, user,
group, or computer to a Rational Test database. For information about connecting
to a repository, see Connecting to a Repository on page 2-20.
3 -1 0
M anaging Com puters
N O T E: If your operating system does not appear in the O perating System list,
you can add it to this list. For more information about adding an operating
system, Customizing Operating Systems on page 3-13.
a. Select the appropriate check box under Recording uses for the type of
LoadTest recording on your computer.
Client – Select if you are using this computer as a client.
Server – Select if you are using this computer as a database server, proxy
server, or Web server.
3 -1 1
M anaging a Rational T est D atabase
b. Select the appropriate check box under Playback uses for the type of
LoadTest playback on your computer.
GU I Agent – Select if you are using this computer to play back a GU I script.
VU Agent – Select if you are using this computer to play back a virtual user
script.
c. Click Add to type the port name and number of the computer for the
application-under-test.
i. O ptionally, type the port name. The port name helps to identify the
computer when you are recording tests.
i. Type the port number.
ii. Click O K.
To remove a port name and number, select the port name, and then click
Rem ove.
5. Click O K.
3 -1 2
M anaging Com puters
3. Click Add, and then type the name of the operating system that you want to add
in the N ew List Entry box.
4. Click O K.
5. Click O K.
3 -1 3
M anaging a Rational T est D atabase
Modifying a Computer
You can modify the following information about a computer in the Rational Test
database:
ã N ame
ã N etwork name
ã O perating system
ã Description
ã Recording uses and playback uses
ã Ports name and number
You must have privileges to modify computers. For more information about
privileges, see Rational Test Database Privileges on page 3-1.
To modify existing computer information:
1. Connect to the repository that you want to modify. For more information about
connecting to a repository, see Connecting to a Repository on page 2-20.
2. If Com puters is not visible in the left pane of the main window, double-click
Rational T est D atabase.
3. If the computer that you want to modify is not visible, double-click Com puters
to display all computers.
4. Select the computer to modify.
5. Click Edit → Properties.
6. Click the G eneral tab and change the general information.
7. Click the U sage tab and change the usage information.
8. Click O K to apply your changes.
Deleting a Computer
You must have privileges to delete a computer from a Rational Test database. For
more information about privileges, see Rational Test Database Privileges on page 3-1.
To delete a computer from a Rational Test database:
1. Connect to the repository that you want to delete. For more information about
connecting to a repository, see Connecting to a Repository on page 2-20.
2. If Com puters is not visible in the left pane of the main window, double-click
Rational T est D atabase.
3 -1 4
M anaging Com puters
3. If the computer that you want to delete is not visible, double-click Com puters
to display all computers.
4. Select the computer to delete.
5. Click Edit → D elete.
The Administrator prompts you to confirm the deletion.
6. Click Yes.
3 -1 5
M anaging a Rational T est D atabase
3 -1 6
ã ã ã
C H A P T E R 4
4 -1
M anaging a SQ L A nywhere D atabase Server
Server Terminology
The following table lists some terms that apply to a SQ L Anywhere database server:
Term Definition
server The computer with Sybase SQ L Anywhere
Server software installed on it
service Starts the SQ L Anywhere database server
SQ L Anywhere database server A service that manages database requests for
one or more repositories
4 -2
Creating a SQ L A nywhere D atabase Server
2. Choose a user account to run the SQ L Anywhere database server and set
privileges for that account.
For information about setting privileges, see the next section, Setting Privileges.
3. Create a SQ L Anywhere database server.
For information about creating a SQ L Anywhere database server, see How to
Create a SQL Anywhere Database Server on page 4-5.
Setting Privileges
To set privileges for a user account running a SQ L Anywhere database server:
1. Do one of the following:
If a computer is Then
running
Windows 2000 a. Click Sta rt → Program s → Adm inistra tive Tools →
Server Local Security Policy.
b. Click Local Policies, and then double-click U ser Rights
Assignm ent.
Windows 2000 a. Click Sta rt → Settings → Control Panel.
Professional b. Click Adm inistrative T ools.
c. Click Loca l Security Policy.
N T Server a. Click Sta rt → Program s → Adm inistrative T ools
(Com m on) → U ser M anager for D om ains.
b. Click U ser → Select D om ain and type the local
machine in the D om ain box, and then click O K.
c. Click Policies → U ser Rights.
d. Click Show Advanced U ser Rights.
N T Workstation a. Click Sta rt → Program s → Adm inistrative T ools
(Com m on) → U ser M anager.
b. Click Policies → U ser Rights.
c. Click Show Advanced U ser Rights.
4 -3
M anaging a SQ L A nywhere D atabase Server
2. Do the following:
If a computer is Then
running
Windows 2000 a. Click Sta rt → Settings → Control Panel.
b. Click Adm inistrative T ools.
c. Click Loca l Security Policy.
Windows N T a. Click Access this com puter from network in the
Right list and complete steps 3–8.
b. Click Log on as a service in the Right list and
complete steps 3–8.
c. Click Log on locally in the Right list and complete
steps 3–8.
4 -4
Creating a SQ L A nywhere D atabase Server
3. Click Add.
4. Click the domain of the account running the SQ L Anywhere database server
from the List N am es From list.
5. Click Show U sers.
6. Click the account running the SQ L Anywhere database server from the
N am es list.
7. Click Add, and then click O K.
8. Go back to step 4 to set all privileges.
9. Click O K.
1 0 . Click U ser → Exit.
4 -5
M anaging a SQ L A nywhere D atabase Server
4. Type the amount of space for caching data for the SQ L Anywhere database
server, and then click N ext. We recommend 2048K for each Rational repository
on the server.
5. Select one or more protocols to communicate with the SQ L Anywhere database
server, and then click N ext.
a. Click one of the following buttons to set the N T Service Startup options.
These options start the SQ L Anywhere database server when you turn on
your system.
– Click Autom atic to start the N T Service that starts the SQ L Anywhere
database server when you start your system.
– Click M anual to not start the N T Service that starts the SQ L Anywhere
database server when you start your system.
b. Select or clear the Start service im m ediately check box. This option starts
the SQ L Anywhere database server immediately after you create it. If the
box is cleared, you must start the server manually.
4 -6
Creating a SQ L A nywhere D atabase Server
4 -7
M anaging a SQ L A nywhere D atabase Server
5. Click O K.
4 -8
Starting a SQ L A nywhere D atabase Server
4 -9
M anaging a SQ L A nywhere D atabase Server
4 -1 0
W hat T o D o N ext
What To Do Next
As the next step, you can create or delete a repository, or you can change the type of
database. The following table lists the sections that provide more information about
these tasks.
Task See
Create a repository. Creating a Repository on page 2-13
Change a database type. Changing a Rational T est Database T ype on page
2-22 and Changing a ClearQuest Database T ype
on page 2-23
Delete a repository. Deleting a Repository on page 2-22
4 -1 1
M anaging a SQ L A nywhere D atabase Server
4 -1 2
ã ã ã
A P P E N D I X A
Customizing Toolbars
The Rational Administrator has two default toolbars:
ã Standard – Contains buttons for choosing the most frequently used commands
for that component.
ã T ools – Contains buttons for choosing other components.
All toolbar buttons correspond to menu commands. Click a toolbar button to
immediately access the menu command. The toolbar buttons are dynamic. This
means that some toolbar buttons are enabled only when you select related menu or
toolbar commands.
A -1
Custom izing Toolbars
Displaying Toolbars
To display or hide a toolbar:
ã Click View → T oolbars, and then click the name of the toolbar you want to
display or hide.
A check mark appears in front of the name of each displayed toolbar.
A nchored toolbar
A -2
Setting T oolbar O ptions
A -3
Custom izing Toolbars
A -4
Glossary
action object – In TestFactory, an object in the application map that represents an
action to which a control in the application responds. Typical actions are mouse
left-click, mouse right-click, and mouse left-double-click; the corresponding action
objects in the application map are LeftClick, RightClick, and LeftDoubleClick.
ActiveX control – A reusable software control that takes advantage of O bject Linking
and Embedding (O LE) and Component O bject Modeling (CO M) technologies.
Developers can use ActiveX controls to add specialized functions to applications,
software development tools, and Web pages. Robot can test ActiveX controls in
applications.
actual results – In a functional test, the outcome of testing an object through a
verification point in a GU I script. Actual results that vary from the recorded baseline
results are defects or intentional changes in the application. See also baseline results.
Adm inistrator – See Rational Administrator.
Agent com puter – In LoadTest, a computer that has the Rational Agent software
installed and that plays back a virtual user or GU I script. In a LoadTest schedule,
you can identify the Agent computer on which to run a script. See also Rational Agent.
API recording – In Robot, a virtual user recording method that captures API calls
between a specific client application and a server. These calls are captured on the
client computer.
application m ap – In TestFactory, a hierarchical list of controls and actions in the
application-under-test, as well as the states of the application-under-test and the
transitions between those states. An application map can include U I objects and
action objects, as well as TestFactory objects such as Pilots, Test Suites, and scripts.
application-under-test – The software being tested. See also system-under-test.
Asset Browser – A window that displays testing resources such as builds, queries,
scripts, schedules, reports, report output, and logs. The Asset Browser is available in
TestManager and LoadTest.
AU T – See application-under-test.
Glossary-1
Glossary
autom ated testing – A testing technique in which you use software tools to replace
repetitive and error-prone manual work. Automated testing saves time and enables a
reliable, predictable, and accurate testing process.
AutoPilot – In TestFactory, a tool for running scripts, Test Suites, and Pilots. The
scripts and Test Suites can run on your local computer or on computers in the Test
Lab. The Pilots run on your local computer, and the scripts they generate can run on
your local computer or on computers in the Test Lab.
base state – In TestFactory, the known, stable state in which you expect the
application-under-test to be at the start of each script segment. See also script segment.
baseline results – In a functional test, the outcome of testing an object through a
verification point in a GU I script. The baseline results become the expected state of
the object during playback of the script. Actual test results that vary from the baseline
results are defects or intentional changes in the application. See also actual results.
best script – In TestFactory, an optimized script generated by a Pilot. A best script
contains the fewest number of script segments that provide the most coverage of the
source code or user interface in the application-under-test.
breakpoint – A feature of the Robot debugger. When you assign a breakpoint to a
line of code, and then run the script in the debugger environment, the script stops
executing at that line of code. Control returns to you, and the breakpoint line is
displayed. From here you can view variables, perform other debugging activities, and
continue executing the script.
build – A version of the application-under-test. Typically, developers add new
features or enhancements to each incremental build. As team members test a build,
they enter defects against those features that do not behave as expected. You use
TestManager to define and manage builds.
built-in data test – A data test that comes with Robot and is used with the O bject
Data verification point. A data test uses a specific property of the object, in
conjunction with other parameters, to determine the data to capture. Although
built-in data tests cannot be edited, renamed, or deleted, they can be copied and then
edited, and they can be viewed. See also custom data test.
ClearQ uest – See Rational ClearQuest.
client/server – An architecture for cooperative processing in which the software
tasks are split between server tasks and client tasks. The client computer sends
requests to the server, and the server responds.
code coverage – In TestFactory, the percentage of code that is tested by a script.
This percentage is based on the portion of the code that a script touches, relative to
all code in the application-under-test. A Pilot can use code coverage to determine the
best script for a run. See also UI coverage.
Glossary-2
Glossary
Glossary-3
Glossary
Glossary-4
Glossary
Im age Com parator – The Robot component for reviewing and analyzing bitmap
image files for Region Image and Window Image verification points. The Image
Comparator displays differences between the recorded baseline image and the actual
image captured during playback. The Image Comparator also displays unexpected
active windows that appear during playback.
instrum entation – In TestFactory, the process of inserting code coverage counters
into the application-under-test. These counters record how much code is executed
during a script run. See also object code instrumentation and source code instrumentation.
load – See workload.
load balancing – See workload balancing.
LoadT est – See Rational LoadT est.
log – A repository object that contains the record of events that occur while playing
back a script or running a schedule. A log includes the results of all verification points
executed as well as performance data that can be used to analyze the system’s
performance.
LogViewer – See Rational LogViewer.
low-level recording – A recording mode that uses detailed mouse movements and
keyboard actions to track screen coordinates and exact timing. During playback, all
actions occur in real time, exactly as recorded.
m anual script – A set of testing instructions to be run by a human tester. The
script can consist of steps and verification points. You create manual scripts in
TestManager.
M aster com puter – A computer that executes LoadTest. From this computer, you
create, run, and monitor schedules. When the run is finished, you use it to analyze
test results.
m ix-ins – See Pilot mix-ins.
network recording – In Robot, a virtual user recording method that records packet-
level traffic. This traffic is captured on the wire.
next available selector – In LoadTest schedules, a selector that distributes each item
such as a script, delay, or other selector to an available computer or virtual user. This
type of selector is used in a GU I schedule. The next available selector parcels out the
items sequentially, based on which computers or virtual users are available.
Glossary-5
Glossary
object – An item on a screen, such as a window, dialog box, check box, label, or
command button. An object has information (properties) associated with it and
actions that can be performed on it. For example, information associated with the
window object includes its type and size, and actions include clicking and scrolling.
In some development environments, a term other than object is used. For example,
the Java environment uses component, and the H TML environment uses element.
object code instrum entation – In TestFactory, the process of inserting code
coverage counters into the executable file of the application-under-test. These
counters record how much of the program a script tests. See also instrumentation and
source code instrumentation.
O bject-O riented Recording ® – A script recording mode that examines objects in
the application-under-test at the Windows layer. Robot uses internal object names to
identify objects, instead of using mouse movements or absolute screen coordinates.
O bject Properties Com parator – The Robot component that you use to review,
analyze, and edit the properties of objects captured by an O bject Properties
verification point. The O bject Properties Comparator displays differences between
recorded baseline data and the actual data captured during playback.
O bject Scripting com m ands – A set of SQ ABasic commands for accessing an
application’s objects and object properties. You add O bject Scripting commands
manually when editing a script.
O bject T esting ® – A technology used by Robot to test any object in the application-
under-test, including the object’s properties and data. O bject Testing lets you test
standard Windows objects and IDE-specific objects, whether they are visible in the
interface or hidden.
O CI – O bject Code Insertion. The Rational technology used in TestFactory to
instrument object code and measure how much of the application-under-test a script
tests. See also code coverage and object code instrumentation.
perform ance test – A test that determines whether a multi-client system performs
within user-defined standards under varying loads. Performance tests are always run
from a schedule in LoadTest.
Pilot – In TestFactory, a tool for generating scripts automatically.
Pilot m ix-ins – In TestFactory, a list of Pilots that are executed on a random basis
during the run of a lead Pilot. Mix-ins are useful for randomly testing multiple areas
of the application-under-test. To make tests more realistic, you can combine mix-ins
and scenarios.
Pilot scenario – An ordered list of Pilots that are executed during the run of a Pilot.
A Pilot scenario is useful for testing U I objects that need to be exercised in a specific
order. To make tests more realistic, you can combine scenarios and mix-ins.
Glossary-6
Glossary
Glossary-7
Glossary
Glossary-8
Glossary
Glossary-9
Glossary
shell script – A script that calls or groups several other GU I scripts and plays them
back in sequence. Shell scripts provide the ability to create comprehensive tests and
then store the results in a single log.
SiteCheck – See Rational SiteCheck.
source code instrum entation – In TestFactory, the process of inserting code into
the source code of the application-under-test. This code measures how much of the
source code a script tests. See also instrumentation and object code instrumentation.
SQ ABasic – The Robot scripting language for recording GU I actions
and verifying GU I objects. SQ ABasic contains most of the syntax rules and core
commands that are contained in the Microsoft Basic language. In addition,
SQ ABasic has commands that are specifically designed for automated testing.
See also VU.
stable load – In LoadTest, a condition that occurs when a specified number of
virtual users have logged on to the system-under-test and are active. When the stable
load criterion is met, LoadTest begins measuring the load.
streak – When running a virtual user schedule in LoadTest, a series of successes or
failures for emulation commands. You can see a streak while monitoring a schedule.
structural test – A test to determine whether the structure of a Web site is consistent
and complete. A structural test ensures that an application’s interdependent objects
are properly linked together. You perform a structural test using SiteCheck.
synchronization point – In LoadTest, a place where emulated virtual users stop and
wait until all other synchronized users reach that point. When all users reach the
synchronization point, they are released and continue executing.
Synchronizer – See Rational Synchronizer.
system tuning – In LoadTest, the process of optimizing a system’s performance by
changing hardware resources and software configuration parameters while using a
constant workload.
system -under-test – The system being tested. This includes the computers and any
software that can generate a load on the system, networks, user interfaces, CPU s, and
memory. See also application-under-test.
test assets – The resources that facilitate the planning or development phases of
the testing effort. Examples of test assets include scripts, schedules, sessions, test
documents, and test requirements.
test developm ent – The process of developing tests to verify the operation of a
software application. This includes creating scripts that verify that the application-
under-test functions properly. Test development lets you establish the baseline of
expected behavior for the application-under-test.
Glossary-1 0
Glossary
test docum ents – Test plans, project schedules, resource requirements, and any
other documents that are important to your project. You develop your test
documents using your own word processing or scheduling program; you then
reference the name and location of the document in TestManager. This lets
members of the test and development team locate documents quickly.
T est Lab – A collection of computers on which TestAccelerator is running. In
TestFactory, you can distribute the scripts associated with a Pilot, a Test Suite, or the
AutoPilot to run on computers in the Test Lab. See also Rational T estAccelerator.
T est Suite – In TestFactory, a tool for running a collection of scripts as a group.
T estAccelerator – See Rational T estAccelerator.
T estFactory – See Rational T estFactory.
T estM anager – See Rational T estManager.
T ext Com parator – The Robot component for reviewing, analyzing, and editing
data files for text and numeric verification points in any format except grids. The
Text Comparator displays the differences between the recorded baseline results and
the actual results.
think tim e – In virtual user and GU I scripts, think times are delays that simulate a
user’s pauses to type or think while using an application. With virtual user scripts,
LoadTest calculates the think time at runtime, based on think time VU environment
variables that are set in the script. You can set a maximum think time in Robot. With
GU I scripts, Robot uses the actual delays captured between keystrokes, menu
choices, and other actions.
transaction – In LoadTest, a logical unit of work performed against a server. For
example, submitting a search query or submitting a completed form to a Web server
are both transactions.
transaction rate – In LoadTest, the playback speed calculated as a function of
number of transactions per unit of time. For example, if a script contains one
transaction, and each script is started at half-second intervals, your transaction rate
would be 2 per second.
transactor – In LoadTest, an item that you insert in a LoadTest schedule to indicate
the number of user-defined transactions that a virtual user performs in a given time
period.
U I coverage – In TestFactory, the percentage of objects in the application map that
are tested by a Pilot-generated script. This percentage is the proportion of U I objects
that the script touches, relative to all U I objects available to the Pilot. A Pilot can use
U I coverage to determine the best script for a run. See also code coverage.
Glossary-1 1
Glossary
Glossary-1 2
ã ã ã Index
Index-1
Index
D G
databases group privileges
changing type of 2-22, 2-23 adding 3-4
ClearQ uest sample 2-12 clearing all 3-4
ClearQ uest schema repository 2-12 removing 3-4
Rational Test 1-8 groups
types of 2-6 adding 3-3
datastores adding users to 3-7
Rational ClearQ uest 1-2 deleting 3-5
Rational RequisitePro 1-2 modifying 3-5
Rational Test 1-1, 1-4 privileges of 3-2
default groups 3-2 GU I Agent 3-12
defects, converting 2-8
deleting
H
computers 3-14
help desk viii
groups 3-5
hotline support viii
projects 2-28
SQ L Anywhere database servers 4-10
toolbar buttons A-3 I
toolbars A-4 idle-connection 2-19
users 3-8
users from a group 3-7
department name, specifying for users 3-7 L
description of computers, modifying 3-14 last name, specifying for users 3-7
detaching Rational Rose models 2-27 licenses 2-4
determining
network name for U N IX computers 3-9
M
network name for Windows computers 3-9
main window
disconnecting from a repository 2-21
details pane 2-3
Rational Administrator 2-2
E repository pane 2-3
e-mail address, specifying for users 3-7 status bar 2-3
exiting Rational Administrator 2-2 managing 2-3, 3-1
projects 2-25
Rational Test databases 3-1
F
first name, specifying for users 3-7
Index-2
Index
Index-3
Index
Index-4
Index
Index-5
Index
Index-6
Index
deleting 3-8
department 3-7
e-mail address 3-7
first name 3-7
last name 3-7
modifying 3-8
password 3-7
phone number 3-7
removing 3-7, 3-8
title 3-7
user ID 3-7
V
verification point IDs, converting 2-8
verification points 1-4
viewing property pages 2-29
virtual user Agent 3-12
W
Windows computers, determining network
name of 3-9
write privileges, assigning to groups 3-4
Index-7
Index
Index-8