Professional Documents
Culture Documents
1. Purpose................................................................................................3
2. Overview on TestDirector........................................................................3
2.1 Requirements...................................................................................3
2.2 Test Plan.........................................................................................3
2.3 Test Lab..........................................................................................3
2.4 Defects...........................................................................................3
3. Site Administration.................................................................................3
3.1 Projects...........................................................................................3
3.1.1 Adding New Domains...................................................................4
3.1.2 Querying the data in project.........................................................4
3.1.3 Restoring the Project...................................................................4
3.1.4 Renaming the Project..................................................................4
3.1.5 Activating the Project..................................................................4
3.1.6 Deactivating the Project...............................................................4
3.1.7 Deleting the Project.....................................................................4
3.1.8 Removing the Project..................................................................4
3.2 Users..............................................................................................4
3.3 Connections.....................................................................................5
3.4 Licenses..........................................................................................5
3.5 TD Servers......................................................................................5
3.6 DB Servers......................................................................................5
4. TD Server Overview...............................................................................5
4.1 DomsInfo........................................................................................5
4.2 Project directories.............................................................................5
4.3 Significance of some other directories.................................................6
5. Creating the Project...............................................................................6
5.1 Pre - requisite for Creating MS Access Project......................................6
5.2 Pre - requisite for Creating Oracle Project............................................6
5.3 Pre - requisite for Creating SQL Project...............................................8
5. Managing the Project (Project Customization)............................................9
5.1 Overview.........................................................................................9
5.2 Change Password.............................................................................9
5.3 Set up Users....................................................................................9
5.4 Set up Groups..................................................................................9
5.5 Customize Project Entities.................................................................9
5.6 Set up workflow..............................................................................10
5.6.1 Add Defect Field Customization...................................................10
5.6.2 View Defect Field Customization..................................................10
6 Managing the Database.........................................................................10
6.1 Taking Backup using script...............................................................10
6.2 Taking cold back up........................................................................10
7 Report Generation in TD........................................................................10
7.1 Test Director Inbuilt Reports............................................................10
7.2 Document Generator.......................................................................11
7.3 Data Model for TD...........................................................................11
7.4 Report generation for Projects..........................................................12
8 Frequently occurring Problems with TD...................................................14
8.1 User gets Blank page on TD. User can’t access any module in TD.........14
8.2 User Changes the execution status in Test Lab module........................14
8.3 User gets runtime errors while accessing TD......................................14
8.4 User gets C++ Runtime error while accessing TestDirector..................15
9 FAQs & Best Practices in TD...................................................................15
9.1 What is the prerequisite for installing TestDirector Server?..................15
9.2 How do I upgrade the TD project?.....................................................15
9.3 How do I export the test cases from TestDirector to MS Excel?.............16
9.4 How do I import the data from MS excel to TD?..................................16
9.5 How do I copy the existing Test cases from a Project to Other?............16
9.6 How do I arrange the test lab module if two iterations of execution is
planned?................................................................................................16
9.7 How do I migrate from MS access database to Oracle?........................17
9.8 Can I move the Project directory on TD server to some other location?. 17
9.9 Can I generate the document on requirement/Test plans/Defects?........17
9.10 Which is the database recommended for TestDirector?........................18
9.11 What do I do if MS Access database size is too large?..........................18
9.12 How do I rearrange the Test cases in Test set?...................................18
9.13 What is “unattached” in Test Plan and Test Lab module?......................18
9.14 Can I take Snapshot of screen while logging the defect?......................19
9.15 Can I maintain History for any of the attribute of defect/Test Case etc?. 19
10. Drawbacks of TestDirector..................................................................19
1.Purpose
The Purpose of this document is to get brief idea on Test Director as a testing
tool, understanding on report generation using database tables and different
kinds of problems user normally faces along with their solution.
2.Overview on TestDirector
TestDirector is Web-based test management tool. It helps you organize
and manage all phases of the application testing process, including
specifying testing requirements, planning tests, executing tests and
tracking defects. TestDirector is organized in four modules as mentioned
below.
2.1 Requirements
All the testing requirements are organized in this module.
Requirement tree shall be build to define overall testing requirements.
For each requirement topic in tree, create the detailed requirement. It
is better practice to update description for each of these requirements.
Each requirement is associated with the test cases in “Test Plan”
module. This is done in “Coverage View”.
2.4 Defects
This contains all the defects for the application. All the activities like
adding new defect, fixing the defect, review and tracking the defect
are accomplished in this module.
3.Site Administration
This is Web environment provided for monitoring the Test Director
application. Site Administration provides you with the tools needed to
monitor the key aspects of Test director server and web environment. Site
Administration keeps you informed of the status of your TestDirector
system in real time.
3.1 Projects
This is used to manage your TestDirector projects. This includes adding
new domains and projects, querying data in a project, restoring a project,
upgrading a project, renaming a project, and activating or deactivating a
project, Deleting the project, removing the project.
Following section explains in brief each of these functionality.
3.1.1 Adding New Domains
Projects are added through site administrator and associated with
domain. Domains are nothing but logical grouping of the projects.
3.2 Users
You manage TestDirector users in the Site Administrator. You can add and
import new TestDirector users, define user properties, and change user
passwords. You add users here, to be available for giving specific access to
projects. For associating users to the project, please refer to “Managing
the Projects” section.
3.3 Connections
You can view all active users and their details, which are connected to TD
at real time.
3.4 Licenses
This allows viewing Number of licenses used, available, expiry date etc.
New Licence key for the TD shall be updated here. Licenses are counted
per desktop.
3.5 TD Servers
It lists out all the TD servers available. By default it updates with the
current Test Director server.
3.6 DB Servers
It lists out all the database servers available. Following are the important
parameters in this.
Server Alias = This is the database SID name.
DB Admin user = User required to connect to the Database instance. This
user shall have admin access given to the database. This is “system” level
user.
DB Admin Password = Admin password for connecting to DB instance.
4.1 DomsInfo
This is very important folder wrt TD server is concerned. It contains
mdb file which has all the admin related information, project details,
Schema name for the oracle user for oracle project , All the user
names and passwords etc.
This mdb file is located at “C:\Program Files\Common Files\Mercury
Interactive\DomsInfo\doms.mdb”. Default password for this mdb file
is “tdtdtd”.
Beside these, there are two more prerequisites for creating Oracle Project.
1. User shall have Table space having enough memory.
Data table space = This is Table space for actual storage
Temp table space = This is temporary table space used by oracle for
operations like sorting etc.
2. User shall have user id and password, having admin rights to connect
to database.
When creating a new empty database it is recommended that the Device (Tablespace)
selected have at least 50 MB of free space. When copying the data from an existing
database, it is recommended that there be at least 2 to 3 times the space that is
currently being used by the database or 50 MB, whichever is greater. The Temporary
Space Device (Tablespace) is used for things like the rollback transaction log which is
very important for recovering from errors. It is recommended that the Device
(Tablespace) used for the Temporary Space have at least half as much free space as
the size of the space being set aside for the database itself.
In Oracle, TestDirector requires space on the server where the TestDirector project
tables can be created. It is usually a good idea to set up two separate tablespaces for
TestDirector. One tablespace for the data and the other for temporary storage (for
sorting and such).
This is an example on how the user creates a “tablespace” (device) in oracle: NOTE:
Please consult your Oracle DBA before attempting to create a tablespace.
Here is the SQL for creating a 100 MB tablespace for data called "TD_DATA_SPACE."
Here is similar command that might be used to create the temporary space.
Oracle
The following Oracle privileges are required by TestDirector 7.6 and 8.0. Note that the
user account should be created on the Oracle database server by an Oracle database
administrator logging in as "SYS".
NOTE:
The user name must be capitalized.
Note that this information can be found in the TestDirector Administrator's guide in the
Chapter on Configuring Servers and Parameters. It is in the section for defining new
database servers for Oracle.
Beside these, there are two more prerequisites for creating Oracle Project.
1. User shall have user id and password, having admin rights to connect
to database.
When creating a new empty database it is recommended that the Device selected have
at least 50 MB of free space. When copying the data from an existing database, it is
recommended that there be at least 2 to 3 times the space that is currently being used
by the database or 50 MB, whichever is greater. The Log device is used for things like
the rollback transaction log which is very important for recovering from errors. It is
recommended that the device used for the Log space have at least half as much free
space as the size of the space being set aside for the database itself.
Can the user use another subset user's permission to create or delete a SQL Server
database in TestDirector instead of using the "sa" privilege? Also, what is the password
for the "sa" user?
It is possible for SQL Server 7.0 and 2000, but not for SQL Server 6.5. You have to use
the "sa" privilege to create or delete a TestDirector SQL Server project for SQL Server
version 6.5. This is limited by the SQL Server 6.5 end.
However, for SQL Server 7.0 and 2000, you can create a user with privileges that are
the combination of a database creator and a process administrator on the SQL Server
backend and then use this username, different from "sa," to create or delete a SQL
Server project in TestDirector.
NOTE:
You must use the "sa" user the first time that you create a MS SQL Server project
through TestDirector, or grant the user "Security Administrators" role to create the first
project. The first time TestDirector creates a project on a new SQL Server database, it
needs to create the "TD" user first.
The default password for the "sa" user is blank after first installing MS SQL
Server. If this does not work, then a password was created for the user.
Please consult you SQL Server DBA for more information. If your DBA will
not give you the "sa" password, then just have the DBA create the first
project. There is a way to keep and save the password where it will be
encrypted.
5.1 Overview
This section gives brief description about how user manages different
projects. It also briefs different options available in TD for project
customization. This facility is available through “Customize” option on
a login screen of TD.
Usually there are Project needs like only Testing team can close the
defect. In such scenario, you need to create new group and set such
restriction.
User can change the attributes of the field like whether field is
mandatory, Does TD needs to maintain history for the field, LOV
values for the field etc. LOV values can be added depending upon the
project needs.
5.6 Set up workflow
This section is used for the Customization of user interfaces in user
interfaces for “Add Defect” and “View Detail” pop up window in Defect
module.
7 Report Generation in TD
If still the problem persists, User may have to try option like
restarting machine and again try the steps mentioned above.