208
TestTrack Database Layout Version 2010.1

TestTrack Database Layout - Perforce

  • Upload
    others

  • View
    20

  • Download
    0

Embed Size (px)

Citation preview

TestTrack Database Layout Version 2010.1

2 TestTrack Database Layout

Contents Audit Log ..................................................................................................................................................... 8

ER diagram ............................................................................................................................................... 8 Entity details .............................................................................................................................................. 9

Entity: AUDITLOG ................................................................................................................................ 9 Entity: DEFECTS ................................................................................................................................. 9 Entity: DOCUMENT ........................................................................................................................... 10 Entity: REQMNT................................................................................................................................. 11 Entity: TESTCASE ............................................................................................................................. 12 Entity: TESTRUN ............................................................................................................................... 13 Entity: USERS .................................................................................................................................... 14

Defects ....................................................................................................................................................... 16 ER diagram ............................................................................................................................................. 16 Entity details ............................................................................................................................................ 18

Entity: ATTACHINFO ......................................................................................................................... 18 Entity: ATTACHMT............................................................................................................................. 18 Entity: ATTARCHIVE ......................................................................................................................... 19 Entity: CSTDEVTVAL ........................................................................................................................ 19 Entity: CUSTMVAL ............................................................................................................................ 20 Entity: DEFECTEVTS ........................................................................................................................ 20 Entity: DEFECTS ............................................................................................................................... 21 Entity: DEFLOG ................................................................................................................................. 22 Entity: EVENTS .................................................................................................................................. 23 Entity: FLDCOMP............................................................................................................................... 24 Entity: FLDCUSTM............................................................................................................................. 24 Entity: FLDDFNTN ............................................................................................................................. 24 Entity: FLDDISPO .............................................................................................................................. 27 Entity: FLDPRIOR .............................................................................................................................. 27 Entity: FLDPROD ............................................................................................................................... 27 Entity: FLDPULIST ............................................................................................................................. 28 Entity: FLDREPRO ............................................................................................................................ 28 Entity: FLDSEVER ............................................................................................................................. 28 Entity: FLDTYPE ................................................................................................................................ 28 Entity: FLDVERSN ............................................................................................................................. 29 Entity: REPORTBY ............................................................................................................................ 29 Entity: SCCFILE ................................................................................................................................. 30 Entity: SCMCHGLST ......................................................................................................................... 30 Entity: STATES .................................................................................................................................. 31 Entity: SYSCONF ............................................................................................................................... 31 Entity: USERS .................................................................................................................................... 32

Document Attachments ........................................................................................................................... 34 ER diagram ............................................................................................................................................. 34 Entity details ............................................................................................................................................ 35

Entity: ATTACHINFO ......................................................................................................................... 35 Entity: ATTACHMT............................................................................................................................. 35 Entity: ATTARCHIVE ......................................................................................................................... 36 Entity: DOCUMENT ........................................................................................................................... 36 Entity: SCCFILE ................................................................................................................................. 37 Entity: SCMCHGLST ......................................................................................................................... 37

Documents ................................................................................................................................................ 39 ER diagram ............................................................................................................................................. 39 Entity details ............................................................................................................................................ 40

Entity: CSDOCVAL ............................................................................................................................ 40 Entity: CSRDEVTVL .......................................................................................................................... 40 Entity: DOCCHNGS ........................................................................................................................... 40 Entity: DOCEVTS ............................................................................................................................... 41 Entity: DOCLOG................................................................................................................................. 42 Entity: DOCSNPST ............................................................................................................................ 42 Entity: DOCTREE............................................................................................................................... 43

TestTrack Database Layout 3

Entity: DOCUMENT ........................................................................................................................... 43 Entity: EVENTS .................................................................................................................................. 44 Entity: FLDCUSTM............................................................................................................................. 45 Entity: FLDDFNTN ............................................................................................................................. 45 Entity: FLDPULIST ............................................................................................................................. 47 Entity: REQMNT................................................................................................................................. 47 Entity: SNPSTTRE ............................................................................................................................. 48 Entity: STATES .................................................................................................................................. 48 Entity: USERS .................................................................................................................................... 49

Email .......................................................................................................................................................... 51 ER diagram ............................................................................................................................................. 51 Entity details ............................................................................................................................................ 53

Entity: DEFECTS ............................................................................................................................... 53 Entity: DOCUMENT ........................................................................................................................... 54 Entity: EMAIL ..................................................................................................................................... 54 Entity: EMAILASSOC ......................................................................................................................... 55 Entity: EMAILRECP ........................................................................................................................... 55 Entity: REQMNT................................................................................................................................. 56 Entity: TESTCASE ............................................................................................................................. 56 Entity: TESTRUN ............................................................................................................................... 57 Entity: USERS .................................................................................................................................... 58

Fields.......................................................................................................................................................... 60 ER diagram ............................................................................................................................................. 60 Entity details ............................................................................................................................................ 61

Entity: DISPNAME ............................................................................................................................. 61 Entity: FIELDREL ............................................................................................................................... 61 Entity: FLDCOMP............................................................................................................................... 61 Entity: FLDCUSTM............................................................................................................................. 62 Entity: FLDDFNTN ............................................................................................................................. 62 Entity: FLDDISPO .............................................................................................................................. 63 Entity: FLDPRIOR .............................................................................................................................. 64 Entity: FLDPROD ............................................................................................................................... 64 Entity: FLDPULIST ............................................................................................................................. 64 Entity: FLDREPRO ............................................................................................................................ 65 Entity: FLDSEVER ............................................................................................................................. 65 Entity: FLDTOTP ................................................................................................................................ 65 Entity: FLDTRSET.............................................................................................................................. 65 Entity: FLDTYPE ................................................................................................................................ 67 Entity: FLDVERSN ............................................................................................................................. 67 Entity: SUBFLDDF ............................................................................................................................. 67 Entity: SUBTYPE ............................................................................................................................... 68

Filters ......................................................................................................................................................... 69 ER diagram ............................................................................................................................................. 69 Entity details ............................................................................................................................................ 70

Entity: FILTDISP ................................................................................................................................ 70 Entity: FILTER .................................................................................................................................... 70 Entity: SHRWUSRGRP ...................................................................................................................... 71 Entity: USERGRP .............................................................................................................................. 71 Entity: USERS .................................................................................................................................... 72

Folders ....................................................................................................................................................... 74 ER diagram ............................................................................................................................................. 74 Entity details ............................................................................................................................................ 75

Entity: DEFECTS ............................................................................................................................... 75 Entity: DOCUMENT ........................................................................................................................... 76 Entity: FLDRDTL ................................................................................................................................ 76 Entity: FLDRITEM .............................................................................................................................. 77 Entity: FLDRLOG ............................................................................................................................... 77 Entity: FLDRTYP ................................................................................................................................ 78 Entity: FOLDER.................................................................................................................................. 78

4 TestTrack Database Layout

Entity: REQMNT................................................................................................................................. 79 Entity: SHRWUSRGRP ...................................................................................................................... 80 Entity: TESTCASE ............................................................................................................................. 80 Entity: TESTRUN ............................................................................................................................... 81 Entity: USERGRP .............................................................................................................................. 82 Entity: USERS .................................................................................................................................... 83

Hyperlinks ................................................................................................................................................. 85 ER diagram ............................................................................................................................................. 85 Entity details ............................................................................................................................................ 86

Entity: DEFECTS ............................................................................................................................... 86 Entity: HYPRLNK ............................................................................................................................... 87 Entity: USERS .................................................................................................................................... 87

Linking ....................................................................................................................................................... 89 ER diagram ............................................................................................................................................. 89 Entity details ............................................................................................................................................ 90

Entity: DEFECTS ............................................................................................................................... 90 Entity: DOCUMENT ........................................................................................................................... 91 Entity: LINKDFNTN ............................................................................................................................ 91 Entity: LINKHISTRY ........................................................................................................................... 92 Entity: LINKITEM................................................................................................................................ 92 Entity: LINKS ...................................................................................................................................... 93 Entity: LINKWRKFLW ........................................................................................................................ 93 Entity: REQMNT................................................................................................................................. 94 Entity: TESTCASE ............................................................................................................................. 96 Entity: TESTRUN ............................................................................................................................... 96

Miscellaneous ........................................................................................................................................... 98 ER diagram ............................................................................................................................................. 98 Entity details ............................................................................................................................................ 99

Entity: CUSTMMAP ........................................................................................................................... 99 Entity: EMAILTMP .............................................................................................................................. 99 Entity: OWNERLCK ......................................................................................................................... 100 Entity: RDBMSOPTNS ..................................................................................................................... 100 Entity: SCCPROJ ............................................................................................................................. 100 Entity: TTDBOPTN ........................................................................................................................... 100 Entity: TTPROJECTS ...................................................................................................................... 101

Reporting ................................................................................................................................................. 102 ER diagram ........................................................................................................................................... 102 Entity details .......................................................................................................................................... 104

Entity: FILTER .................................................................................................................................. 104 Entity: RPCHRT ............................................................................................................................... 104 Entity: RPDETL ................................................................................................................................ 105 Entity: RPDIST ................................................................................................................................. 106 Entity: RPEXTERN .......................................................................................................................... 108 Entity: RPFRMT ............................................................................................................................... 108 Entity: RPIDS ................................................................................................................................... 109 Entity: RPLIST.................................................................................................................................. 109 Entity: RPTREND ............................................................................................................................. 110 Entity: SHRWUSRGRP .................................................................................................................... 111 Entity: USERGRP ............................................................................................................................ 112 Entity: USERS .................................................................................................................................. 113

Reporting (Custom) ................................................................................................................................ 115 ER diagram ........................................................................................................................................... 115 Entity details .......................................................................................................................................... 116

Entity: FILTER .................................................................................................................................. 116 Entity: FOLDER................................................................................................................................ 116 Entity: RPCUSTOM ......................................................................................................................... 117 Entity: RPIDS ................................................................................................................................... 118 Entity: SHRWUSRGRP .................................................................................................................... 118 Entity: USERGRP ............................................................................................................................ 119

TestTrack Database Layout 5

Entity: USERS .................................................................................................................................. 120 Reporting (Live Charts) .......................................................................................................................... 122

ER diagram ........................................................................................................................................... 122 Entity details .......................................................................................................................................... 123

Entity: CHARTS ............................................................................................................................... 123 Entity: FILTER .................................................................................................................................. 123 Entity: RPIDS ................................................................................................................................... 124 Entity: SHRWUSRGRP .................................................................................................................... 124 Entity: USERGRP ............................................................................................................................ 124 Entity: USERS .................................................................................................................................. 125

Requirements .......................................................................................................................................... 127 ER diagram ........................................................................................................................................... 127 Entity details .......................................................................................................................................... 129

Entity: ATTACHINFO ....................................................................................................................... 129 Entity: ATTACHMT........................................................................................................................... 129 Entity: ATTARCHIVE ....................................................................................................................... 130 Entity: CSREQVAL .......................................................................................................................... 130 Entity: CSREVTVL ........................................................................................................................... 131 Entity: EVENTS ................................................................................................................................ 131 Entity: FLDCUSTM........................................................................................................................... 132 Entity: FLDDFNTN ........................................................................................................................... 133 Entity: FLDPULIST ........................................................................................................................... 134 Entity: FLDRPRIO ............................................................................................................................ 134 Entity: REQCHNGS ......................................................................................................................... 135 Entity: REQEVTS ............................................................................................................................. 135 Entity: REQLOG ............................................................................................................................... 136 Entity: REQMNT............................................................................................................................... 137 Entity: REQVRSN ............................................................................................................................ 138 Entity: SCCFILE ............................................................................................................................... 138 Entity: SCMCHGLST ....................................................................................................................... 138 Entity: STATES ................................................................................................................................ 139 Entity: SUBTYPE ............................................................................................................................. 140 Entity: USERS .................................................................................................................................. 140

Rules ........................................................................................................................................................ 142 ER diagram ........................................................................................................................................... 142 Entity details .......................................................................................................................................... 143

Entity: ACTNTGT ............................................................................................................................. 143 Entity: EMAILTMP ............................................................................................................................ 143 Entity: EVENTS ................................................................................................................................ 144 Entity: FILTER .................................................................................................................................. 145 Entity: FLDDFNTN ........................................................................................................................... 145 Entity: STATES ................................................................................................................................ 146 Entity: TACTMOD ............................................................................................................................ 147 Entity: TRGACTN ............................................................................................................................. 148 Entity: TRIGGERS ........................................................................................................................... 148 Entity: TRIGLOG .............................................................................................................................. 149 Entity: TRIGSCHD ........................................................................................................................... 150 Entity: USERS .................................................................................................................................. 150

Test Cases ............................................................................................................................................... 152 ER diagram ........................................................................................................................................... 152 Entity details .......................................................................................................................................... 153

Entity: ATTACHINFO ....................................................................................................................... 153 Entity: ATTACHMT........................................................................................................................... 153 Entity: ATTARCHIVE ....................................................................................................................... 154 Entity: CSTTCEVTVAL .................................................................................................................... 154 Entity: CUSTTCVAL ......................................................................................................................... 155 Entity: EVENTS ................................................................................................................................ 155 Entity: FLDCUSTM........................................................................................................................... 156 Entity: FLDDFNTN ........................................................................................................................... 157

6 TestTrack Database Layout

Entity: FLDPULIST ........................................................................................................................... 158 Entity: FLDTOTP .............................................................................................................................. 158 Entity: SCCFILE ............................................................................................................................... 159 Entity: SCMCHGLST ....................................................................................................................... 159 Entity: STATES ................................................................................................................................ 159 Entity: TCEVTS ................................................................................................................................ 160 Entity: TCLOG .................................................................................................................................. 161 Entity: TESTCASE ........................................................................................................................... 162 Entity: USERS .................................................................................................................................. 163

Test Runs ................................................................................................................................................ 165 ER diagram ........................................................................................................................................... 165 Entity details .......................................................................................................................................... 167

Entity: ATTACHINFO ....................................................................................................................... 167 Entity: ATTACHMT........................................................................................................................... 167 Entity: ATTARCHIVE ....................................................................................................................... 168 Entity: CSTTREVTVAL .................................................................................................................... 168 Entity: CUSTTRVAL ......................................................................................................................... 169 Entity: EVENTS ................................................................................................................................ 169 Entity: FLDCUSTM........................................................................................................................... 170 Entity: FLDDFNTN ........................................................................................................................... 171 Entity: FLDPULIST ........................................................................................................................... 172 Entity: FLDTOTP .............................................................................................................................. 172 Entity: FLDTRSET............................................................................................................................ 173 Entity: SCCFILE ............................................................................................................................... 173 Entity: SCMCHGLST ....................................................................................................................... 173 Entity: STATES ................................................................................................................................ 174 Entity: TESTCASE ........................................................................................................................... 174 Entity: TESTRUN ............................................................................................................................. 175 Entity: TREVTS ................................................................................................................................ 176 Entity: TRLOG .................................................................................................................................. 177 Entity: USERS .................................................................................................................................. 178

Users ........................................................................................................................................................ 180 ER diagram ........................................................................................................................................... 180 Entity details .......................................................................................................................................... 182

Entity: SUBCMDSC ......................................................................................................................... 182 Entity: SUBFLDSC ........................................................................................................................... 182 Entity: SUBTYPE ............................................................................................................................. 182 Entity: SYSCONF ............................................................................................................................. 183 Entity: USERGRP ............................................................................................................................ 184 Entity: USERS .................................................................................................................................. 185 Entity: USERSET ............................................................................................................................. 186

Views ........................................................................................................................................................ 189 ER diagram ........................................................................................................................................... 189 Entity details .......................................................................................................................................... 190

Entity: FILTER .................................................................................................................................. 190 Entity: FLDDFNTN ........................................................................................................................... 190 Entity: LISTWND .............................................................................................................................. 191 Entity: LISTWNDTAB ....................................................................................................................... 192 Entity: TABFILTER ........................................................................................................................... 192 Entity: TABFLTRDSP ....................................................................................................................... 193 Entity: USERS .................................................................................................................................. 193 Entity: USERSET ............................................................................................................................. 194 Entity: VIEWCOLINFO ..................................................................................................................... 196 Entity: VIEWINFO ............................................................................................................................ 197

Workflow .................................................................................................................................................. 198 ER diagram ........................................................................................................................................... 198 Entity details .......................................................................................................................................... 199

Entity: EVENTS ................................................................................................................................ 199 Entity: FLDCUSTM........................................................................................................................... 200

TestTrack Database Layout 7

Entity: FLDDFNTN ........................................................................................................................... 200 Entity: FLDPULIST ........................................................................................................................... 201 Entity: STATES ................................................................................................................................ 202 Entity: TRANSITION ........................................................................................................................ 202

TestTrack native database extension fields ........................................................................................ 204 ATTACHINFO ....................................................................................................................................... 204 ATTACHMT ........................................................................................................................................... 204 DEFECTS ............................................................................................................................................. 204 DOCUMENT ......................................................................................................................................... 204 EMAIL.................................................................................................................................................... 204 EMAILTMP ............................................................................................................................................ 204 FLDCOMP ............................................................................................................................................. 204 FLDCUSTM ........................................................................................................................................... 204 FLDDISPO ............................................................................................................................................ 204 FLDPRIOR ............................................................................................................................................ 205 FLDPROD ............................................................................................................................................. 205 FLDREPRO ........................................................................................................................................... 205 FLDRYTP .............................................................................................................................................. 205 FLDSEVER ........................................................................................................................................... 205 FLDTOTP .............................................................................................................................................. 205 FLDTRSET ............................................................................................................................................ 205 FLDTYPE .............................................................................................................................................. 205 FLDVERSN ........................................................................................................................................... 206 FOLDER ................................................................................................................................................ 206 LINKDFNTN .......................................................................................................................................... 206 LINKHISTRY ......................................................................................................................................... 206 LINKS .................................................................................................................................................... 206 LISTWNDTAB ....................................................................................................................................... 206 RPDETL ................................................................................................................................................ 206 RPDIST ................................................................................................................................................. 206 RPLIST .................................................................................................................................................. 206 RPTREND ............................................................................................................................................. 206 RQMNT ................................................................................................................................................. 207 SCCFILE ............................................................................................................................................... 207 SUBTYPE ............................................................................................................................................. 207 SYSCONF ............................................................................................................................................. 207 TASK ..................................................................................................................................................... 207

8 TestTrack Database Layout

Audit Log ER diagram

TestTrack Database Layout 9

Entity details

Entity: AUDITLOG Entity details: Description Contains the changes made to defect, test case or test run records. Each row

records changes made to an entity and information regarding who, when, and how changes were made. Change information is stored in such a way that, if the user information is modified or deleted at a later date, the audit log table represents the information as it was when the changes were made.

Primary key constraint name

PK__AUDITLOG__3D5E1FD2

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. datetime DATETIME Yes Date and time change was made; changed item

identified by ENTITYTYPE and ENTITYID loginname NVARCHAR Yes User login name fullname NVARCHAR Yes Full name (last, first) of user making the changes entitytype NUMERIC Yes Entity to which the changes are linked to, defects, test

cases or test runs FK entityid NUMERIC Yes Link to the record ID in the table specified by

ENTITYTYPE autoreason NVARCHAR Yes Description of how item was changed (e.g.,

renumbered, changed via bulk field changes) entityiden NVARCHAR No Description of changed item manreason NVARCHAR No Reason, entered by user, describing why changes

were made; identified by ENTITYTYPE and ENTITYID modsource NVARCHAR No Description of source of changes (e.g, Web, SOAP,

XML) modtype NVARCHAR No Description of how source changes were made (e.g.

Edit Window, List window, bulk field changes) changes NTEXT No XML-formatted text documents changes hash NVARCHAR No An MD5 hash of the LOGINNAME and DATETIME;

verifies that data for this row has not been modified

Entity: DEFECTS Entity details: Description Contains defect information. Each table row represents one defect. Additional

information associated with a defect is found in the DEFECTEVTS table. This table has a one-to-one relationship with the STATES, FLDTYPE, FLDPROD, FLDDISPO, FLDPRIOR, FLDCOMP and FLDSEVER tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__DEFECTS__1BFD2C07

10 TestTrack Database Layout

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) defect was added to the database FK idCreateBy NUMERIC No User who added the defect, Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) defect was last modified FK idModifyBy NUMERIC No User who last modified the defect, Links to a record ID

in USERS table DefectNum NUMERIC No Defect number, value is zero if number not yet

assigned Summary NVARCHAR No Summary field FK Status NUMERIC No Defect state, links to a record ID in STATES table InitStatus NUMERIC No Initial defect state FK idType NUMERIC No Type field, links to a record ID in FLDTYPE table FK idProduct NUMERIC No Product field, links to a record ID in FLDPROD table Reference NVARCHAR No Reference field FK idEnterBy NUMERIC No Entered by field, links to a record ID in USERS table FK idDisposit NUMERIC No Disposition field, links to a record ID in FLDDISPO

table FK idPriority NUMERIC No Priority field, links to a record ID in FLDPRIOR table FK idCompon NUMERIC No Component field, links to a record ID in FLDCOMP

table FK idSeverity NUMERIC No Severity field, links to a record ID in FLDSEVER table dateEnter DATETIME No Date entered field (in GMT) AddLocat NUMERIC No Method used to add defect; includes the following

values: 0 (unknown) 1 (Add defect window) 2 (SoloSubmit) 3 (SoloBug file) 4 (Email import) 5 (Text file import) 6 (TestTrack user duplicated a defect) If a defect was created during a conversion from a TestTrack 1.8.x or Workgroup database, value is set to "unknown"

Workaround NTEXT No Workaround field idTicket NUMERIC No Reserved for future functionality Notify NVARCHAR No List of users/customers notified when defect changes,

links to the USERS table CurAsgTo NTEXT No Stores names of users defect is currently assigned to

for external reporting tools.

Entity: DOCUMENT Entity details: Description Contains requirement document information. Each table row represents one

requirement document. Primary key constraint name

PK_DOCUMENT

TestTrack Database Layout 11

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) document was added to the

database FK idCreateBy NUMERIC No User who added the document. Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) document was last modified FK idModifyBy NUMERIC No User who last modified the document. Links to a

record ID in USERS table DocNum NUMERIC No Document number, value is zero if number not yet

assigned Name NVARCHAR No Document name. FK idStatus NUMERIC No Current document state, links to a record ID in

STATES table AddLocat NUMERIC No Version NUMERIC No Current document version number. Descrptn NTEXT No Document description PgWidth NUMERIC No Current page width for multi-line text fields in

specification window. LeftMargin NUMERIC No Current left margin indent in specification window. UnitType NUMERIC No Units that the page width and left margin are specified

in. 0- Pixels 1 - Inches 2 - Centimeters Notify NTEXT No List of users/customers notified when document

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users document is currently assigned

to for external reporting tools.

Entity: REQMNT Entity details: Description Contains requirement information. Each table row represents either one

requirement. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) requirement was added to the

database FK idCreateBy NUMERIC No User who added the requirement. Links to a record ID

in USERS table dateModify DATETIME No Date/time (in GMT) requirement was last modified FK idModifyBy NUMERIC No User who last modified the requirement. Links to a

record ID in USERS table dateEnter DATETIME No Date entered field (in GMT)

12 TestTrack Database Layout

FK idEntryBy NUMERIC No Entered by field, links to a record ID in USERS table ReqNum NUMERIC No Requirement number, value is zero if number not yet

assigned Tag NVARCHAR No Contains the requirement tag number. Summary NVARCHAR No Summary field FK idStatus NUMERIC No Current requirement state, links to a record ID in

STATES table FK idType NUMERIC No Requirement type, links to a record ID in SUBTYPE

table AddLocat NUMERIC No Method used to add requirement, includes the

following values: 0 (unknown) 1 (Add requirement window) 4 (Email import) 5 (Text file import) 13 (MS Word Import)

Version NUMERIC No Current requirement version number. FK idPriority NUMERIC No Importance field, links to a record ID in FLDRPRIO

table Descrptn NTEXT No Description field. Notify NTEXT No List of users/customers notified when requirement

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users requirement is currently

assigned to for external reporting tools.

Entity: TESTCASE Entity details: Description Contains test case information. Each table row represents one test case.

Additional information associated with a test case is found in the TCEVTS table. This table has a one-to-one relationship with the STATES and FLDTOTP tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTCASE__7A672E12

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test case was added to the

database. FK idCreateBy NUMERIC No User who added the test case, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test case was last modified. FK idModifyBy NUMERIC No User who last modified the test case, Links to a record

ID in USERS table. TstCaseNum NUMERIC No Test case number, value is zero if number not

assigned. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test case execution.

TestTrack Database Layout 13

Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test case window) 5 (Text file import) 6 (TestTrack user duplicated a test case)

Notify NTEXT No Currently not in use. SaveGrid NUMERIC No Flag indicates to save test runs in grid mode or plain

text. Status NUMERIC No Record id of the current state for the test case. CurAsgTo NTEXT No Names of the users the test case is currently assigned

to.

Entity: TESTRUN Entity details: Description Contains test run information. Each table row represents one test run. Additional

information associated with a test run is found in the TREVTS table. This table has a one-to-one relationship with the STATES, FLDTOTP and FLDTRSET tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTRUN__7C4F7684

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test run was added to the

database. FK idCreateBy NUMERIC No User who added the test run, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test run was last modified. FK idModifyBy NUMERIC No User who last modified the test run, Links to a record

ID in USERS table. FK TstCaseRID NUMERIC No Test case record ID. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test run execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test run window) 5 (Text file import) 6 (TestTrack user duplicated a test run)

TstRunNum NUMERIC No Test run number (Auto generated). FK idTRSet NUMERIC No Test run set field, links to a record ID in FLDTRSET

table. Notify NTEXT No Currently not in use. ViewGrid NUMERIC No Flag indicates to view test runs in grid mode or plain

text. PrbState NTEXT No Problem statement for this test run, if any.

14 TestTrack Database Layout

Status NUMERIC No Record id of the current state for the test run. CurAsgTo NTEXT No Names of the users the test run is currently assigned

to.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a

user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support.

TestTrack Database Layout 15

Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

16 TestTrack Database Layout

Defects ER diagram

TestTrack Database Layout 17

18 TestTrack Database Layout

Entity details

Entity: ATTACHINFO Entity details: Description Contains additional information on attachments to test cases and test runs. Each

table row represents one file attached to the given record. This table has one-to-one relationship with ATTACHMT table.

Primary key constraint name

PK__ATTACHINFO__4CA06362

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. AttachType NUMERIC Yes Attachment type: 0 (Regular attachment), 1 (Script, 2

(Run Result) FK AttachID NUMERIC Yes Record ID in ATTACHMT table Type NUMERIC Yes Indicates Attachment table type (tableID_Attachments

or tableID_SCCFiles) OwnerType NUMERIC Yes Entity Type to which attachment belongs to FK OwnerID NUMERIC Yes Entity RID to which attachment belongs to ScrptOrder NUMERIC No This field is valid only if attachment type is script.

Indicates order script is displayed in scripts tab and executed.

ScrptStat NVARCHAR No This field is valid only if attachment type is script. Indicates status of the script.

Entity: ATTACHMT Entity details: Description Contains file attachment information. Each table row represents one file attached

to the given record. This table has a many-to-one relationship with the REPORTBY table. Each row has a reported by record ID that matches a record ID in the REPORTBY table.

Primary key constraint name

PK__ATTACHMT__4AB81AF0

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table attachment is linked to. (Defect, Defect

event, Test case, Test case event, Test run, or Test run event)

AttType NUMERIC No File attachment type; includes the following values: 1 (Macintosh binary file) 2 (other file type)

FK EntityRID NUMERIC Yes Links to a REPORTBY table or DEFECTEVTS table record ID in case of Defects, otherwise links to Entity record ID.

FileName NVARCHAR No Original file name, before it was attached to an entity.

TestTrack Database Layout 19

MacType NUMERIC No Macintosh type (valid for Macintosh only) MacCreator NUMERIC No Macintosh creator (valid for Macintosh only) dateCreate DATETIME No File creation date dateModify DATETIME No File modification date FileSize NUMERIC No File size FK ArchvFile NVARCHAR Yes Archive file name used for storage in the database Compressed NUMERIC No Reserved for future use AttachInDB NUMERIC No Flag indicates if archive file contents are stored in

database (valid for RDBMS only) FieldID NUMERIC No Contains field id of field containing image for

WYSIWYG inline images. AttDesc NVARCHAR No Reserved for future use. ImgWidth NUMERIC No Width of original image added as inline WYSIWYG

image. ImgHeight NUMERIC No Height of original image added as inline WYSIWYG

image.

Entity: ATTARCHIVE Entity details: Description Contains file attachment archive information. Each table row represents one file

attachment. Primary key constraint name

PK__ATTARCHIVE__4E88ABD4

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ArchvFile NVARCHAR No Archive file name. FileData IMAGE No Binary attachment data

Entity: CSTDEVTVAL Entity details: Description Contains custom field values for defect events. Each table row represents one

custom field value for a single event. This table has a many-to-one relationship with the DEFECTEVTS and the FLDDFNTN tables. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK__CSTDEVTVAL__693CA210

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table

20 TestTrack Database Layout

CustValue NTEXT No Custom field value (comma separated record IDs for drop-down list)

FK idDefEvt NUMERIC No Links to a record ID in DEFECTEVTS table

Entity: CUSTMVAL Entity details: Description Contains information related to custom fields on a defect. Each table row

represents one custom field value associated with a single defect. This table has a many-to-one relationship with the DEFECTS table and the FLDDFNTN table. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK__CUSTMVAL__6B24EA82

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC No Links to a record ID in DEFECTS table FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No If custom field is an edit box, this is the text the user

enters; if custom field is a pop-up menu, links to a record ID.

Entity: DEFECTEVTS Entity details: Description Contains event information for each event recorded with a defect. Each table row

represents a single defect event. This table has a many-to-one relationship with the DEFECTS table, the EVENTS table, the USERS table, and the STATES table.

Primary key constraint name

PK__DEFECTEVTS_NEW__0E6E26BF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EvtDefID NUMERIC No Links to a record ID in EVENTS table OrderNum NUMERIC No Identifies order the defect event was created relative to

other defect events; an internal counter for a specific defect

FK ParentID NUMERIC Yes Links to a record ID in DEFECTS table FK EvtMUParnt NUMERIC No Links to a record ID in DEFECTEVTS table; if event is

a response to a multi-user assignment, field is the record ID of the parent event; if event is not a response to a multiuser assignment, field contains the value -1

TestTrack Database Layout 21

FK idUser NUMERIC No Links to a record ID in USERS table; if user created event, it has the record ID of the user; if event was generated by TestTrack, it has a record ID of -2

dateEvent DATETIME No Defect event date Notes NTEXT No Notes field TimeSpent NUMERIC No If event definition for this event (EVENT table) has the

time reporting option selected, field stores the amount of time entered by the user; if event does not record time spent, this field has the value -1

FK RsltState NUMERIC No Links to a record ID in STATES table; if event affects resulting defect state, field contains the record ID of resulting state; if event does not affect resulting state, a value of 0 is stored in field

RelVersion NVARCHAR No Notes field if event is configured to include release notes information

AsgndUsers VARCHAR No If event is an assignment event (EVENT table), field contains a list of record IDs linked to the USERS table; if event is not an assignment, field is empty

GenByType NUMERIC No Value that identifies how event was created; includes following values: 0 (created by user) 1 (created by multi-user assignment) 2 (created by auto assignment) 3 (created by auto escalation)

CreatorID NUMERIC No Stores record ID of who created the event in the following cases: escalation rule record ID, trigger rule record ID, and user record ID of user who performed an action generating a system comment event

DefAsgEff NUMERIC No Stores assignment of event at the time it was run (intended to preserve history if the event definition is modified); includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

OvrWF NUMERIC No Flag indicates if event is a result of a Workflow Override

OvrWFUsrID NUMERIC No Links to the USERS table; if event is a result of a Workflow Override, field stores the record ID of user; otherwise, the value 0 is written to field

SspLnkItms NUMERIC No Flag indicating if user specified to mark dependent items as suspect.

Entity: DEFECTS Entity details: Description Contains defect information. Each table row represents one defect. Additional

information associated with a defect is found in the DEFECTEVTS table. This table has a one-to-one relationship with the STATES, FLDTYPE, FLDPROD, FLDDISPO, FLDPRIOR, FLDCOMP and FLDSEVER tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__DEFECTS__1BFD2C07

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project

22 TestTrack Database Layout

PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) defect was added to the database FK idCreateBy NUMERIC No User who added the defect, Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) defect was last modified FK idModifyBy NUMERIC No User who last modified the defect, Links to a record ID

in USERS table DefectNum NUMERIC No Defect number, value is zero if number not yet

assigned Summary NVARCHAR No Summary field FK Status NUMERIC No Defect state, links to a record ID in STATES table InitStatus NUMERIC No Initial defect state FK idType NUMERIC No Type field, links to a record ID in FLDTYPE table FK idProduct NUMERIC No Product field, links to a record ID in FLDPROD table Reference NVARCHAR No Reference field FK idEnterBy NUMERIC No Entered by field, links to a record ID in USERS table FK idDisposit NUMERIC No Disposition field, links to a record ID in FLDDISPO

table FK idPriority NUMERIC No Priority field, links to a record ID in FLDPRIOR table FK idCompon NUMERIC No Component field, links to a record ID in FLDCOMP

table FK idSeverity NUMERIC No Severity field, links to a record ID in FLDSEVER table dateEnter DATETIME No Date entered field (in GMT) AddLocat NUMERIC No Method used to add defect; includes the following

values: 0 (unknown) 1 (Add defect window) 2 (SoloSubmit) 3 (SoloBug file) 4 (Email import) 5 (Text file import) 6 (TestTrack user duplicated a defect) If a defect was created during a conversion from a TestTrack 1.8.x or Workgroup database, value is set to "unknown"

Workaround NTEXT No Workaround field idTicket NUMERIC No Reserved for future functionality Notify NVARCHAR No List of users/customers notified when defect changes,

links to the USERS table CurAsgTo NTEXT No Stores names of users defect is currently assigned to

for external reporting tools.

Entity: DEFLOG Entity details: Description Contains historical log information about changes made to defect records. Each

row in this table represents a log entry in one of the defect records. Each row has a defect record ID that matches a record ID in the DEFECTS table.

Primary key constraint name

PK__DEFLOG__3F466844

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project

TestTrack Database Layout 23

PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. idUser NUMERIC No User who made change, links to a record ID in USERS

table dateLog DATETIME No Date/time the change occurred Notes NVARCHAR No Description of the change FK ParentID NUMERIC No Links to a record ID in DEFECTS table

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity AllowAttch NUMERIC No Flag indicates if files can be attached to the event TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes the

following values: 1 (display sum of event hours) 2 (display last event hours)

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to complete

this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs.

24 TestTrack Database Layout

EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

Entity: FLDCOMP Entity details: Description Contains the components pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDCOMP__182C9B23

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Pop-up item order, relative to other items. Descriptor NVARCHAR No Text displayed for this pop-up menu item.

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes:

TestTrack Database Layout 25

Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code for

email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields for

entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values can

be modified. DefaultVal NUMERIC No Default value for this field; stored values are based on

field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

26 TestTrack Database Layout

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

TestTrack Database Layout 27

Entity: FLDDISPO Entity details: Description Contains the disposition pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDDISPO__145C0A3F

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Pop-up item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDPRIOR Entity details: Description Contains the priority pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDPRIOR__164452B1

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDPROD Entity details: Description Contains the product pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDPROD__108B795B

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

28 TestTrack Database Layout

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ListName NVARCHAR No Pop-up list name.

Entity: FLDREPRO Entity details: Description Contains the reproduced pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDREPRO__44FF419A

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDSEVER Entity details: Description Contains the severity pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDSEVER__1273C1CD

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDTYPE Entity details:

TestTrack Database Layout 29

Description Contains the type pop-up menu values. Each row in this table represents one pop-up menu item.

Primary key constraint name

PK__FLDTYPE__1A14E395

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDVERSN Entity details: Description Contains the version pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDVERSN__7E6CC920

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item

Entity: REPORTBY Entity details: Description Contains defect reported by information. Each table row represents one report of a

defect. This table has a many-to-one relationship with the DEFECTS table because TestTrack allows multiple reports of a single defect. Each row in this table has a defect record ID that matches a record ID in the DEFECTS table.

Primary key constraint name

PK__REPORTBY__46E78A0C

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idFoundBy NUMERIC No Found by field, links to a record ID in USERS table. dateFound DATETIME No Found by date field. OrderNum NUMERIC No Identifies reported by record order, relative to other

reported by records; internal counter for a specific defect.

VersnFound NVARCHAR No Version found in field. This field stores the text of the item if selected from the FLDVERSN table.

Descrptn NTEXT No Description field.

30 TestTrack Database Layout

FK idReprod NUMERIC No Reproduced field, links to a record ID in FLDREPRO table.

ReproSteps NTEXT No Steps to reproduce field. TstConType NUMERIC No Computer configuration field type; includes the

following values: 1 (User’s Test Configuration) 2 (Standard Test Configuration)

FK idConfig NUMERIC No Standard computer configuration field, links to a record ID in SYSCONF table

OtherHwSw NTEXT No Other hardware and software field. Contact NVARCHAR No User contact information, either phone number or

email address. FK idDefRec NUMERIC Yes Links to a record ID in DEFECTS table.

Entity: SCCFILE Entity details: Description Contains SCC file information. Each table row represents one SCC file that is

attached to an entity. This table has a many-to-one relationship with the corresponding entity table. Each row has an entity record ID.

Primary key constraint name

PK__SCCFILE__239E4DCF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK, FK EntityRID NUMERIC Yes Links to a record ID in corresponding entity table. EntityType NUMERIC Yes Entity type to which SCC File is linked to. FileName NVARCHAR No File name in SCC system. Version NTEXT No Version number of fix in the SCC system. dateFixed DATETIME No Date fix was made. ChgLstID NUMERIC Yes Change list record ID from the SCMCHGLST table.

Entity: SCMCHGLST Entity details: Description Contains SCC project information. Primary key constraint name

PK__SCMCHGLST__25869641

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK EntityRID NUMERIC Yes Entity Record ID to which change list is associated with. EntityType NUMERIC Yes Entity type to which change list is associated with. ChgLstID NUMERIC Yes This id is the Change List ID as stored in the SCM

product.

TestTrack Database Layout 31

Committed NUMERIC Yes Flag indicates if change list is committed. MLneName NTEXT No MainLine name. Name NTEXT No Change list name.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into. Primary key constraint name

PK__STATES__09DE7BCC

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the following

values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

Entity: SYSCONF Entity details: Description Contains test configuration information. Each table row represents one system test

configuration. Primary key constraint name

PK__SYSCONF__023D5A04

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project.

32 TestTrack Database Layout

PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ConfType NUMERIC No System configuration type; includes the following values:

1 (User’s Test Configuration) 2 (Standard Test Configuration)

SysName NVARCHAR No Name field. Location NVARCHAR No Reserved for future use. CompModel NVARCHAR No Computer model field. CompBrand NVARCHAR No Computer brand field. CPUType NVARCHAR No CPU type field. CPUSpeed NVARCHAR No CPU speed field (value specified in MHz). HDiskTypt NVARCHAR No Hard disk type field. HDiskSize NVARCHAR No Hard disk size field (value specified in MB). RAMSize NVARCHAR No RAM field (value specified in MB) ROMSize NVARCHAR No ROM field (value specified in MB). OSName NVARCHAR No Operating system field. OSVersion NVARCHAR No Operating system version field. VideoName NVARCHAR No Video controller field. HasMultMon NUMERIC No Has multiple monitors field. HasCDROM NUMERIC No Has CD-ROM field CDROMModel NVARCHAR No CD-ROM model field. HasScanr NUMERIC No Has scanner field. ScanrModel NVARCHAR No Scanner model field. HasModem NUMERIC No Has modem field. ModemModel NVARCHAR No Modem model field. HasPrint NUMERIC No Has printer field PrintModel NVARCHAR No Printer model field OtherHW NVARCHAR No Other hardware and software field.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field.

TestTrack Database Layout 33

LoginName NVARCHAR Yes Login name field. As login name is stored as an encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a

user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

34 TestTrack Database Layout

Document Attachments ER diagram

TestTrack Database Layout 35

Entity details

Entity: ATTACHINFO Entity details: Description Contains additional information on attachments to test cases and test runs. Each

table row represents one file attached to the given record. This table has one-to-one relationship with ATTACHMT table.

Primary key constraint name

PK__ATTACHINFO__4CA06362

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. AttachType NUMERIC Yes Attachment type: 0 (Regular attachment), 1 (Script, 2

(Run Result) FK AttachID NUMERIC Yes Record ID in ATTACHMT table Type NUMERIC Yes Indicates Attachment table type (tableID_Attachments

or tableID_SCCFiles) OwnerType NUMERIC Yes Entity Type to which attachment belongs to FK OwnerID NUMERIC Yes Entity RID to which attachment belongs to ScrptOrder NUMERIC No This field is valid only if attachment type is script.

Indicates order script is displayed in scripts tab and executed.

ScrptStat NVARCHAR No This field is valid only if attachment type is script. Indicates status of the script.

Entity: ATTACHMT Entity details: Description Contains file attachment information. Each table row represents one file attached

to the given record. This table has a many-to-one relationship with the REPORTBY table. Each row has a reported by record ID that matches a record ID in the REPORTBY table.

Primary key constraint name

PK__ATTACHMT__4AB81AF0

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table attachment is linked to. (Defect, Defect

event, Test case, Test case event, Test run, or Test run event)

AttType NUMERIC No File attachment type; includes the following values: 1 (Macintosh binary file) 2 (other file type)

FK EntityRID NUMERIC Yes Links to a REPORTBY table or DEFECTEVTS table record ID in case of Defects, otherwise links to Entity record ID.

FileName NVARCHAR No Original file name, before it was attached to an entity.

36 TestTrack Database Layout

MacType NUMERIC No Macintosh type (valid for Macintosh only) MacCreator NUMERIC No Macintosh creator (valid for Macintosh only) dateCreate DATETIME No File creation date dateModify DATETIME No File modification date FileSize NUMERIC No File size FK ArchvFile NVARCHAR Yes Archive file name used for storage in the database Compressed NUMERIC No Reserved for future use AttachInDB NUMERIC No Flag indicates if archive file contents are stored in

database (valid for RDBMS only) FieldID NUMERIC No Contains field id of field containing image for

WYSIWYG inline images. AttDesc NVARCHAR No Reserved for future use. ImgWidth NUMERIC No Width of original image added as inline WYSIWYG

image. ImgHeight NUMERIC No Height of original image added as inline WYSIWYG

image.

Entity: ATTARCHIVE Entity details: Description Contains file attachment archive information. Each table row represents one file

attachment. Primary key constraint name

PK__ATTARCHIVE__4E88ABD4

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ArchvFile NVARCHAR No Archive file name. FileData IMAGE No Binary attachment data

Entity: DOCUMENT Entity details: Description Contains requirement document information. Each table row represents one

requirement document. Primary key constraint name

PK_DOCUMENT

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) document was added to the

database FK idCreateBy NUMERIC No User who added the document. Links to a record ID in

USERS table

TestTrack Database Layout 37

dateModify DATETIME No Date/time (in GMT) document was last modified FK idModifyBy NUMERIC No User who last modified the document. Links to a

record ID in USERS table DocNum NUMERIC No Document number, value is zero if number not yet

assigned Name NVARCHAR No Document name. FK idStatus NUMERIC No Current document state, links to a record ID in

STATES table AddLocat NUMERIC No Version NUMERIC No Current document version number. Descrptn NTEXT No Document description PgWidth NUMERIC No Current page width for multi-line text fields in

specification window. LeftMargin NUMERIC No Current left margin indent in specification window. UnitType NUMERIC No Units that the page width and left margin are specified

in. 0- Pixels 1 - Inches 2 - Centimeters Notify NTEXT No List of users/customers notified when document

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users document is currently assigned

to for external reporting tools.

Entity: SCCFILE Entity details: Description Contains SCC file information. Each table row represents one SCC file that is

attached to an entity. This table has a many-to-one relationship with the corresponding entity table. Each row has an entity record ID.

Primary key constraint name

PK__SCCFILE__239E4DCF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK, FK EntityRID NUMERIC Yes Links to a record ID in corresponding entity table. EntityType NUMERIC Yes Entity type to which SCC File is linked to. FileName NVARCHAR No File name in SCC system. Version NTEXT No Version number of fix in the SCC system. dateFixed DATETIME No Date fix was made. ChgLstID NUMERIC Yes Change list record ID from the SCMCHGLST table.

Entity: SCMCHGLST Entity details: Description Contains SCC project information. Primary key constraint name

PK__SCMCHGLST__25869641

Attributes:

38 TestTrack Database Layout

Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK EntityRID NUMERIC Yes Entity Record ID to which change list is associated with. EntityType NUMERIC Yes Entity type to which change list is associated with. ChgLstID NUMERIC Yes This id is the Change List ID as stored in the SCM

product. Committed NUMERIC Yes Flag indicates if change list is committed. MLneName NTEXT No MainLine name. Name NTEXT No Change list name.

TestTrack Database Layout 39

Documents ER diagram

40 TestTrack Database Layout

Entity details

Entity: CSDOCVAL Entity details: Description Contains information related to custom fields on a requirement document. Each

table row represents one custom field value associated with a single document. This table has a many-to-one relationship with the DOCUMENT table and FLDDFNTN table. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK_CSDOCVAL

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC No Links to a record ID in DOCUMENT table FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No If custom field is an edit box, this is the text the user

enters; if custom field is a pop-up menu, comma separated record IDs will be set.

Entity: CSRDEVTVL Entity details: Description Contains custom field values for requirement document events. Each table row

represents one custom field value for a single event. This table has a many-to-one relationship with the DOCEVTS and the FLDDFNTN tables. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK_CSRDEVTVL

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No Custom field value (comma separated record IDs for

drop-down list) FK idEvent NUMERIC No Links to a record ID in DOCEVTS table

Entity: DOCCHNGS Entity details: Description Contains the original values for fields that were changed after a document

snapshot was created. The document itself always stores the current value.

TestTrack Database Layout 41

Primary key constraint name

PK_DOCCHNGS

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC No Links to a record ID in DOCSNPST table FK idField NUMERIC No Links to a record ID in FLDDFNTN table indentifying the

field. HasValue NUMERIC No Flag indicating if OrigValue field represents original

value. If false the original value was NULL. OrigValue NTEXT No Contains the original value for the field stored as the

string value.

Entity: DOCEVTS Entity details: Description Contains event information for each event recorded with a document. Each table

row represents a single document event. This table has a many-to-one relationship with the DOCUMENT table, the EVENTS table, the USERS table, and the STATES table.

Primary key constraint name

PK_DOCEVTS

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EvtDefID NUMERIC No Links to a record ID in EVENTS table OrderNum NUMERIC No Identifies order the document event was created

relative to other document events; an internal counter for a specific document.

FK ParentID NUMERIC Yes Links to a record ID in DOCUMENT table FK EvtMUParnt NUMERIC No Links to a record ID in DOCENTS table; if event is a

response to a multi-user assignment, field is the record ID of the parent event; if event is not a response to a multiuser assignment, field contains the value -1

FK idUser NUMERIC No Links to a record ID in USERS table; if user created event, it has the record ID of the user; if event was generated by TestTrack, it has a record ID of -2

dateEvent DATETIME No Document event date Notes NTEXT No Notes field TimeSpent NUMERIC No If event definition for this event (EVENT table) has the

time reporting option selected, field stores the amount of time entered by the user; if event does not record time spent, this field has the value -1

FK RsltState NUMERIC No Links to a record ID in STATES table; if event affects resulting document state, field contains the record ID of resulting state; if event does not affect resulting state, a value of 0 is stored in field

42 TestTrack Database Layout

RelVersion NVARCHAR No Notes field if event is configured to include release notes information

AsgndUsers VARCHAR No If event is an assignment event (EVENT table), field contains a list of record IDs linked to the USERS table; if event is not an assignment, field is empty

GenByType NUMERIC No Value that identifies how event was created; includes following values: 0 (created by user) 1 (created by multi-user assignment) 2 (created by auto assignment) 3 (created by auto escalation)

CreatorID NUMERIC No Stores record ID of who created the event in the following cases: escalation rule record ID, trigger rule record ID, and user record ID of user who performed an action generating a system comment event

DefAsgEff NUMERIC No Stores assignment of event at the time it was run (intended to preserve history if the event definition is modified); includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

OvrWF NUMERIC No Flag indicates if event is a result of a Workflow Override

FK OvrWFUsrID NUMERIC No Links to the USERS table; if event is a result of a Workflow Override, field stores the record ID of user; otherwise, the value 0 is written to field

SspLnkItms NUMERIC No Flag indicating if user specified to mark dependent items as suspect.

Version NUMERIC No Contains the version number of the document that was current when the event was entered.

Entity: DOCLOG Entity details: Description Contains historical log information about changes made to requirement document

records. Each row in this table represents a log entry in one of the document records. Each row has a document record ID that matches a record ID in the DOCUMENT table.

Primary key constraint name

PK_DOCLOG

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. idUser NUMERIC No User who made change, links to a record ID in USERS

table dateLog DATETIME No Date/time the change occurred Notes NVARCHAR No Description of the change FK ParentID NUMERIC No Links to a record ID in DOCUMENT table

Entity: DOCSNPST Entity details:

TestTrack Database Layout 43

Description Contains document snapshot information. Each table row represents one document snapshot.

Primary key constraint name

PK_DOCSNPST

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idDocument NUMERIC No Links to a record ID in DOCUMENT table dateCreate DATETIME No Date/time (in GMT) snapshot was added to the

database FK idCreateBy NUMERIC No User who added the snapshot. Links to a record ID in

USERS table Version NUMERIC No Snapshot version number Label NVARCHAR No Snapshot label Commnt NTEXT No Snapshot comment

Entity: DOCTREE Entity details: Description Contains the requirement relationship tree for the current version of the

document. Primary key constraint name

PK_DOCTREE

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idDocument NUMERIC Yes Links to a record ID in DOCUMENT table FK ParentID NUMERIC No Links to a record ID in DOCTREE table; Field contains

the record ID of the parent node in the tree. If the node is at the top level ParnetID contains 0.

FK idReqmnt NUMERIC No Links to a record ID in REQMNT table SibOrder NUMERIC No Contains the order of this node in relation to its siblings

in the parent node. IsSuspect NUMERIC No Flag indicating if the node is marked as suspect.

Entity: DOCUMENT Entity details: Description Contains requirement document information. Each table row represents one

requirement document. Primary key constraint name

PK_DOCUMENT

Attributes: Key Attribute name Data type Not null Description

44 TestTrack Database Layout

PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) document was added to the

database FK idCreateBy NUMERIC No User who added the document. Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) document was last modified FK idModifyBy NUMERIC No User who last modified the document. Links to a

record ID in USERS table DocNum NUMERIC No Document number, value is zero if number not yet

assigned Name NVARCHAR No Document name. FK idStatus NUMERIC No Current document state, links to a record ID in

STATES table AddLocat NUMERIC No Version NUMERIC No Current document version number. Descrptn NTEXT No Document description PgWidth NUMERIC No Current page width for multi-line text fields in

specification window. LeftMargin NUMERIC No Current left margin indent in specification window. UnitType NUMERIC No Units that the page width and left margin are specified

in. 0- Pixels 1 - Inches 2 - Centimeters Notify NTEXT No List of users/customers notified when document

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users document is currently assigned

to for external reporting tools.

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity AllowAttch NUMERIC No Flag indicates if files can be attached to the event

TestTrack Database Layout 45

TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes the

following values: 1 (display sum of event hours) 2 (display last event hours)

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to complete

this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs. EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the

requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDDFNTN Entity details:

46 TestTrack Database Layout

Description Contains definitions for fields of all entity type and event fields. Each table row represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code for

email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields for

entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values can

be modified.

TestTrack Database Layout 47

DefaultVal NUMERIC No Default value for this field; stored values are based on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ListName NVARCHAR No Pop-up list name.

Entity: REQMNT Entity details: Description Contains requirement information. Each table row represents either one

requirement. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) requirement was added to the

database FK idCreateBy NUMERIC No User who added the requirement. Links to a record ID

in USERS table dateModify DATETIME No Date/time (in GMT) requirement was last modified

48 TestTrack Database Layout

FK idModifyBy NUMERIC No User who last modified the requirement. Links to a record ID in USERS table

dateEnter DATETIME No Date entered field (in GMT) FK idEntryBy NUMERIC No Entered by field, links to a record ID in USERS table ReqNum NUMERIC No Requirement number, value is zero if number not yet

assigned Tag NVARCHAR No Contains the requirement tag number. Summary NVARCHAR No Summary field FK idStatus NUMERIC No Current requirement state, links to a record ID in

STATES table FK idType NUMERIC No Requirement type, links to a record ID in SUBTYPE

table AddLocat NUMERIC No Method used to add requirement, includes the

following values: 0 (unknown) 1 (Add requirement window) 4 (Email import) 5 (Text file import) 13 (MS Word Import)

Version NUMERIC No Current requirement version number. FK idPriority NUMERIC No Importance field, links to a record ID in FLDRPRIO

table Descrptn NTEXT No Description field. Notify NTEXT No List of users/customers notified when requirement

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users requirement is currently

assigned to for external reporting tools.

Entity: SNPSTTRE Entity details: Description Contains the requirement relationship tree for a snapshot of the document. Primary key constraint name

PK_SNPSTTRE

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idSnapshot NUMERIC Yes Links to a record ID in DOCSNPST table FK ParentID NUMERIC No Links to a record ID in SNPSTTRE table; Field contains

the record ID of the parent node in the tree. If the node is at the top level ParnetID contains 0.

FK idReqmnt NUMERIC No Links to a record ID in REQMNT table ReqVersion NUMERIC No Contains the version number of the requirement that was

current when the snapshot was created. SibOrder NUMERIC No Contains the order of this node in relation to its siblings

in the parent node.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into.

TestTrack Database Layout 49

Primary key constraint name

PK__STATES__09DE7BCC

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the following

values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field.

50 TestTrack Database Layout

LoginName NVARCHAR Yes Login name field. As login name is stored as an encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a

user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 51

Email ER diagram

52 TestTrack Database Layout

TestTrack Database Layout 53

Entity details

Entity: DEFECTS Entity details: Description Contains defect information. Each table row represents one defect. Additional

information associated with a defect is found in the DEFECTEVTS table. This table has a one-to-one relationship with the STATES, FLDTYPE, FLDPROD, FLDDISPO, FLDPRIOR, FLDCOMP and FLDSEVER tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__DEFECTS__1BFD2C07

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) defect was added to the database FK idCreateBy NUMERIC No User who added the defect, Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) defect was last modified FK idModifyBy NUMERIC No User who last modified the defect, Links to a record ID

in USERS table DefectNum NUMERIC No Defect number, value is zero if number not yet

assigned Summary NVARCHAR No Summary field FK Status NUMERIC No Defect state, links to a record ID in STATES table InitStatus NUMERIC No Initial defect state FK idType NUMERIC No Type field, links to a record ID in FLDTYPE table FK idProduct NUMERIC No Product field, links to a record ID in FLDPROD table Reference NVARCHAR No Reference field FK idEnterBy NUMERIC No Entered by field, links to a record ID in USERS table FK idDisposit NUMERIC No Disposition field, links to a record ID in FLDDISPO

table FK idPriority NUMERIC No Priority field, links to a record ID in FLDPRIOR table FK idCompon NUMERIC No Component field, links to a record ID in FLDCOMP

table FK idSeverity NUMERIC No Severity field, links to a record ID in FLDSEVER table dateEnter DATETIME No Date entered field (in GMT) AddLocat NUMERIC No Method used to add defect; includes the following

values: 0 (unknown) 1 (Add defect window) 2 (SoloSubmit) 3 (SoloBug file) 4 (Email import) 5 (Text file import) 6 (TestTrack user duplicated a defect) If a defect was created during a conversion from a TestTrack 1.8.x or Workgroup database, value is set to "unknown"

Workaround NTEXT No Workaround field idTicket NUMERIC No Reserved for future functionality Notify NVARCHAR No List of users/customers notified when defect changes,

links to the USERS table

54 TestTrack Database Layout

CurAsgTo NTEXT No Stores names of users defect is currently assigned to for external reporting tools.

Entity: DOCUMENT Entity details: Description Contains requirement document information. Each table row represents one

requirement document. Primary key constraint name

PK_DOCUMENT

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) document was added to the

database FK idCreateBy NUMERIC No User who added the document. Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) document was last modified FK idModifyBy NUMERIC No User who last modified the document. Links to a

record ID in USERS table DocNum NUMERIC No Document number, value is zero if number not yet

assigned Name NVARCHAR No Document name. FK idStatus NUMERIC No Current document state, links to a record ID in

STATES table AddLocat NUMERIC No Version NUMERIC No Current document version number. Descrptn NTEXT No Document description PgWidth NUMERIC No Current page width for multi-line text fields in

specification window. LeftMargin NUMERIC No Current left margin indent in specification window. UnitType NUMERIC No Units that the page width and left margin are specified

in. 0- Pixels 1 - Inches 2 - Centimeters Notify NTEXT No List of users/customers notified when document

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users document is currently assigned

to for external reporting tools.

Entity: EMAIL Entity details: Description Contains tracked email information. Each table row represents one email. This

table has a one-to-one relationship with the EMAILASSOC table. Primary key constraint name

PK__EMAIL_NEW__367C1819

TestTrack Database Layout 55

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. IsOrphan NUMERIC No Flag indicates if email is associated with an entity Subject NVARCHAR No Email subject Body NTEXT No Email message body DateSent DATETIME No Date/time email was sent DateRecd DATETIME No Date/time email was received ThdMsgID NVARCHAR No Email message ID in thread Direction NUMERIC No Indicates if email was sent or received; includes the

following values: 0 (outgoing) 1 (incoming) IsHtml NUMERIC No Indicates if the email is in HTML format

Entity: EMAILASSOC Entity details: Description Contains information about records tracked emails are associated with. Each table

row represents an email association with one entity. Primary key constraint name

PK__EMAILASSOC_NEW__3864608B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type the email is associated with FK EntityRID NUMERIC No Link to a record ID in corresponding entity table FK EmailID NUMERIC No Link to a record ID in EMAIL table FK ParentID NUMERIC No Parent email ID

Entity: EMAILRECP Entity details: Description Contains email recipient information. This table has a many-to-one relationship

with the EMAIL table. Primary key constraint name

PK__EMAILRECP_NEW__3A4CA8FD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EmailID NUMERIC No Link to a record ID in EMAIL table Type NUMERIC No Recipient type; includes the following values: 1 (From)

2 (To) 3 (Cc) 4 (Bcc) FK UserID NUMERIC No Link to a record ID in USERS table

56 TestTrack Database Layout

Address NVARCHAR No Recipient email address

Entity: REQMNT Entity details: Description Contains requirement information. Each table row represents either one

requirement. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) requirement was added to the

database FK idCreateBy NUMERIC No User who added the requirement. Links to a record ID

in USERS table dateModify DATETIME No Date/time (in GMT) requirement was last modified FK idModifyBy NUMERIC No User who last modified the requirement. Links to a

record ID in USERS table dateEnter DATETIME No Date entered field (in GMT) FK idEntryBy NUMERIC No Entered by field, links to a record ID in USERS table ReqNum NUMERIC No Requirement number, value is zero if number not yet

assigned Tag NVARCHAR No Contains the requirement tag number. Summary NVARCHAR No Summary field FK idStatus NUMERIC No Current requirement state, links to a record ID in

STATES table FK idType NUMERIC No Requirement type, links to a record ID in SUBTYPE

table AddLocat NUMERIC No Method used to add requirement, includes the

following values: 0 (unknown) 1 (Add requirement window) 4 (Email import) 5 (Text file import) 13 (MS Word Import)

Version NUMERIC No Current requirement version number. FK idPriority NUMERIC No Importance field, links to a record ID in FLDRPRIO

table Descrptn NTEXT No Description field. Notify NTEXT No List of users/customers notified when requirement

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users requirement is currently

assigned to for external reporting tools.

Entity: TESTCASE Entity details:

TestTrack Database Layout 57

Description Contains test case information. Each table row represents one test case. Additional information associated with a test case is found in the TCEVTS table. This table has a one-to-one relationship with the STATES and FLDTOTP tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTCASE__7A672E12

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test case was added to the

database. FK idCreateBy NUMERIC No User who added the test case, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test case was last modified. FK idModifyBy NUMERIC No User who last modified the test case, Links to a record

ID in USERS table. TstCaseNum NUMERIC No Test case number, value is zero if number not

assigned. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test case execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test case window) 5 (Text file import) 6 (TestTrack user duplicated a test case)

Notify NTEXT No Currently not in use. SaveGrid NUMERIC No Flag indicates to save test runs in grid mode or plain

text. Status NUMERIC No Record id of the current state for the test case. CurAsgTo NTEXT No Names of the users the test case is currently assigned

to.

Entity: TESTRUN Entity details: Description Contains test run information. Each table row represents one test run. Additional

information associated with a test run is found in the TREVTS table. This table has a one-to-one relationship with the STATES, FLDTOTP and FLDTRSET tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTRUN__7C4F7684

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

58 TestTrack Database Layout

dateCreate DATETIME No Date/time (in GMT) test run was added to the database.

FK idCreateBy NUMERIC No User who added the test run, Links to a record ID in USERS table.

dateModify DATETIME No Date/time (in GMT) test run was last modified. FK idModifyBy NUMERIC No User who last modified the test run, Links to a record

ID in USERS table. FK TstCaseRID NUMERIC No Test case record ID. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test run execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test run window) 5 (Text file import) 6 (TestTrack user duplicated a test run)

TstRunNum NUMERIC No Test run number (Auto generated). FK idTRSet NUMERIC No Test run set field, links to a record ID in FLDTRSET

table. Notify NTEXT No Currently not in use. ViewGrid NUMERIC No Flag indicates to view test runs in grid mode or plain

text. PrbState NTEXT No Problem statement for this test run, if any. Status NUMERIC No Record id of the current state for the test run. CurAsgTo NTEXT No Names of the users the test run is currently assigned

to.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field.

TestTrack Database Layout 59

LoginName NVARCHAR Yes Login name field. As login name is stored as an encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a

user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

60 TestTrack Database Layout

Fields ER diagram

TestTrack Database Layout 61

Entity details

Entity: DISPNAME Entity details: Description Contains text strings used in the interface. This table contains the Rename Field

Label values. Primary key constraint name

PK__DISPNAME_NEW__17F790F9

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Display NVARCHAR No Text string used in the user interface display

Entity: FIELDREL Entity details: Description Contains the definition of field relationships setup for this database. Each table row

represents one field relationship. Primary key constraint name

PK__FIELDREL__656C112C

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Parent entity type the relationship is linked to. ChildType NUMERIC No Child entity type the relationship is linked to. FK idParent NUMERIC Yes Identifies parent field in the field relationship. FK idChild NUMERIC Yes Identifies child field in the field relationship. Rules NTEXT No List of record IDs for parent and child fields that describe

the relationship of the field items.

Entity: FLDCOMP Entity details: Description Contains the components pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDCOMP__182C9B23

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Pop-up item order, relative to other items.

62 TestTrack Database Layout

Descriptor NVARCHAR No Text displayed for this pop-up menu item.

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code for

email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

TestTrack Database Layout 63

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields for

entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values can

be modified. DefaultVal NUMERIC No Default value for this field; stored values are based on

field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: FLDDISPO Entity details: Description Contains the disposition pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDDISPO__145C0A3F

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project.

64 TestTrack Database Layout

PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Pop-up item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDPRIOR Entity details: Description Contains the priority pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDPRIOR__164452B1

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDPROD Entity details: Description Contains the product pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDPROD__108B795B

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ListName NVARCHAR No Pop-up list name.

TestTrack Database Layout 65

Entity: FLDREPRO Entity details: Description Contains the reproduced pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDREPRO__44FF419A

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDSEVER Entity details: Description Contains the severity pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDSEVER__1273C1CD

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDTOTP Entity details: Description Contains test object type pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDTOTP__02084FDA

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDTRSET Entity details:

66 TestTrack Database Layout

Description Contains test run set pop-up menu values. Each row in this table represents one pop-up menu item.

Primary key constraint name

PK__FLDTRSET__03F0984C

TestTrack Database Layout 67

Attributes: Key Attribute name Data type Not null Description PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDTYPE Entity details: Description Contains the type pop-up menu values. Each row in this table represents one pop-

up menu item. Primary key constraint name

PK__FLDTYPE__1A14E395

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDVERSN Entity details: Description Contains the version pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDVERSN__7E6CC920

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item

Entity: SUBFLDDF Entity details: Description Contains default values and required field settings for fields by subtype. Primary key constraint name

PK_SUBFLDDF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

68 TestTrack Database Layout

FK FldDefID NUMERIC Yes Links to the idRecord in the FLDDRNTN table. FK SubtypeID NUMERIC Yes Links to the idRecord in the SUBTYPE table. DefaultVal NUMERIC Yes Default value for this field; stored values are based on

field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

Required NUMERIC Yes Flag indicates if the field is required. DefaultStr NTEXT No Reserved for future use.

Entity: SUBTYPE Entity details: Description Contains requirement type information. Each table row represents one type value. Primary key constraint name

PK_SUBTYPE

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC Yes Table this type is linked to. Currently types are only

supported for requirements. DispOrder NUMERIC Yes Popup display item order, relative to other types in this

table. Name NVARCHAR Yes Type name StDesc NVARCHAR No Type description StIcon IMAGE No Type icon StIconNm NVARCHAR No Type icon file name StPrefix NVARCHAR No Type tag prefix StSuffix NVARCHAR No Type tag suffix SumFrmtFnt NUMERIC No Reserved for future use SumFntSz NUMERIC No Reserved for future use SumFntWt NUMERIC No Reserved for future use SumFntClr NUMERIC No Reserved for future use DtlFrmtFnt NUMERIC No Reserved for future use DtlFntSz NUMERIC No Reserved for future use DtlFntWt NUMERIC No Reserved for future use DtlFntClr NUMERIC No Reserved for future use Active NUMERIC No Flag indicating if type is active, can be selected for

new items.

TestTrack Database Layout 69

Filters ER diagram

70 TestTrack Database Layout

Entity details

Entity: FILTDISP Entity details: Description Contains restriction items in a filter. Each table row represents one displayed line

in a filter. This table has a many-to-one relationship with the FILTER table. Each row has a filter record ID that matches a record ID in the FILTER table.

Primary key constraint name

PK__FILTDISP_NEW__14270015

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK FilterID NUMERIC Yes Links to a record ID in FILTER table. FiltOrder NUMERIC No Restriction item order, relative to other items. BNot NUMERIC No Indicates if Not flag is set. OpenParen NUMERIC No Number of open parentheses that appear before

restriction item. CloseParen NUMERIC No Number of close parentheses that appear after

restriction item. FilterType NUMERIC No Operator applied to the next restriction item; includes the

following values: 0 (none) 2 (AND operator) 3 (OR operator)

Restrictn NTEXT No Filter restriction information; field can use information from a filter restriction definition and code them into a string value stored in this field

Prompt NUMERIC No Indicates if filter is interactive and should prompt user for values when used.

Entity: FILTER Entity details: Description Contains filter information. Each table row represents one filter for the given entity

type. Additional information associated with a filter is found in the FILTDISP table, which has a many-to-one relationship to this table.

Primary key constraint name

PK__FILTER__0425A276

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FilterType NUMERIC Yes Filter entity type Name NVARCHAR Yes Name field FilterDesc NVARCHAR No Description field FK idOwner NUMERIC No Filter owner, links to a record ID in USERS table.

TestTrack Database Layout 71

AccessStat NUMERIC Yes Filter access state; includes the following values: 1 (Shared) 3 (Private)

Entity: SHRWUSRGRP Entity details: Description Contains settings for sharing filters with security groups. Primary key constraint name

PK_SHRWUSRGRP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EntityID NUMERIC No Identifies the item being shared with a security group.

Currently only filters and reports are shared. FK UsrGroupID NUMERIC No Identifies which security groups are shared with the item. EntityType NUMERIC No Indicates which entity type is being shared by this

record. Currently only filters and reports are shared with security groups.

Entity: USERGRP Entity details: Description Contains user group information. Each table row represents one user group. Primary key constraint name

PK__USERGRP_NEW__1BC821DD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field GroupDesc NVARCHAR No Description field. Notes NTEXT No Notes field. InUserPopup NUMERIC No Include users in pop-up menus field. InCstPopup NUMERIC No Include customers in pop-up menus field. FK idDefFilt NUMERIC No Defect security option of "Users can only see and work

with defects that pass this filter"; links to a record ID in FILTERS table.

FK idTCFilt NUMERIC No Test case security option of "Users can only see and work with test cases that pass this filter"; links to a record ID in FILTERS table.

FK idTRFilt NUMERIC No Test run security option of "Users can only see and workwith test runs that pass this filter"; links to a record ID in FILTERS table

FK idReqFilt NUMERIC No Requirement security option of "Users can only see and workwith requirements that pass this filter"; links to a record ID in FILTERS table

72 TestTrack Database Layout

FK idDocFilt NUMERIC No Requirement document security option of "Users can only see and workwith requirement documents that pass this filter"; links to a record ID in FILTERS table

OnlyMyDef NUMERIC No Defect security option of "Users can only see and work with the defects they reported".

OnlyMyTC NUMERIC No Test case security option of "Users can only see and work with the test cases they reported".

OnlyMyTR NUMERIC No Test run security option of "Users can only see and work with the test runs they reported".

OnlyMyReq NUMERIC No Requirement security option of "Users can only see and work with the requirements they reported".

OnlyMyDoc NUMERIC No Requirement document security option of "Users can only see and work with the requirement documents they reported".

CommDenied VARCHAR No Command security options. FieldSec NTEXT No Field level security options EvtDenied VARCHAR No Serialized list of record IDs linked to EVENTS table;

contains record IDs of events that security group members cannot perform.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field.

TestTrack Database Layout 73

PhoneType2 NUMERIC No Second phone number type field; includes the following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a

user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

74 TestTrack Database Layout

Folders ER diagram

TestTrack Database Layout 75

Entity details

Entity: DEFECTS Entity details: Description Contains defect information. Each table row represents one defect. Additional

information associated with a defect is found in the DEFECTEVTS table. This table has a one-to-one relationship with the STATES, FLDTYPE, FLDPROD, FLDDISPO, FLDPRIOR, FLDCOMP and FLDSEVER tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__DEFECTS__1BFD2C07

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) defect was added to the database FK idCreateBy NUMERIC No User who added the defect, Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) defect was last modified FK idModifyBy NUMERIC No User who last modified the defect, Links to a record ID

in USERS table DefectNum NUMERIC No Defect number, value is zero if number not yet

assigned Summary NVARCHAR No Summary field FK Status NUMERIC No Defect state, links to a record ID in STATES table InitStatus NUMERIC No Initial defect state FK idType NUMERIC No Type field, links to a record ID in FLDTYPE table FK idProduct NUMERIC No Product field, links to a record ID in FLDPROD table Reference NVARCHAR No Reference field FK idEnterBy NUMERIC No Entered by field, links to a record ID in USERS table FK idDisposit NUMERIC No Disposition field, links to a record ID in FLDDISPO

table FK idPriority NUMERIC No Priority field, links to a record ID in FLDPRIOR table FK idCompon NUMERIC No Component field, links to a record ID in FLDCOMP

table FK idSeverity NUMERIC No Severity field, links to a record ID in FLDSEVER table dateEnter DATETIME No Date entered field (in GMT) AddLocat NUMERIC No Method used to add defect; includes the following

values: 0 (unknown) 1 (Add defect window) 2 (SoloSubmit) 3 (SoloBug file) 4 (Email import) 5 (Text file import) 6 (TestTrack user duplicated a defect) If a defect was created during a conversion from a TestTrack 1.8.x or Workgroup database, value is set to "unknown"

Workaround NTEXT No Workaround field idTicket NUMERIC No Reserved for future functionality Notify NVARCHAR No List of users/customers notified when defect changes,

links to the USERS table

76 TestTrack Database Layout

CurAsgTo NTEXT No Stores names of users defect is currently assigned to for external reporting tools.

Entity: DOCUMENT Entity details: Description Contains requirement document information. Each table row represents one

requirement document. Primary key constraint name

PK_DOCUMENT

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) document was added to the

database FK idCreateBy NUMERIC No User who added the document. Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) document was last modified FK idModifyBy NUMERIC No User who last modified the document. Links to a

record ID in USERS table DocNum NUMERIC No Document number, value is zero if number not yet

assigned Name NVARCHAR No Document name. FK idStatus NUMERIC No Current document state, links to a record ID in

STATES table AddLocat NUMERIC No Version NUMERIC No Current document version number. Descrptn NTEXT No Document description PgWidth NUMERIC No Current page width for multi-line text fields in

specification window. LeftMargin NUMERIC No Current left margin indent in specification window. UnitType NUMERIC No Units that the page width and left margin are specified

in. 0- Pixels 1 - Inches 2 - Centimeters Notify NTEXT No List of users/customers notified when document

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users document is currently assigned

to for external reporting tools.

Entity: FLDRDTL Entity details: Description Contains the additional folder details for the folder table. Primary key constraint name

PK_FLDRDTL

Attributes: Key Attribute name Data type Not null Description

TestTrack Database Layout 77

PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK FldrTypID NUMERIC No Foreign key to folder type table. FldrDtls NTEXT No Folder WYSIWYG text entered for the folder. AllwEdtDtl NUMERIC No Flag indicating if users can edit the folder details field

from the list window. WebUrl NTEXT No Folder web URL. StartDate DATETIME No Folder release planning start date. EndDate DATETIME No Folder release planning end date. InclWkEnds NUMERIC No Folder release planning include weekends flag. NonWkDys NUMERIC No Folder release planning non working days. WorkHrs NUMERIC No Folder release planning work hours. AvailUsrs NUMERIC No Folder release planning available users. PtoHrs NUMERIC No Folder release planning vacation and holiday hours. StoryPts NUMERIC No Folder release planning target stroy points.

Entity: FLDRITEM Entity details: Description Contains folder item information. Each table row represents one folder item. This

table has a many-toone relationship with the FOLDER table. Primary key constraint name

PK__FLDRITEM_NEW__2B0A656D

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK FolderID NUMERIC No Link to a record ID in the FOLDER table. EntityType NUMERIC No Entity type the item is related to. FK EntityID NUMERIC No Link to a record ID in the DEFECT, TESTCASE, or

TESTRUN table.

Entity: FLDRLOG Entity details: Description Contains historical log information about changes to folders. Each row in this table

represents a log entry for a folder. Each row has a folder record ID that matches a record ID in the FOLDER table.

Primary key constraint name

PK__FLDRLOG_NEW__2CF2ADDF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idUser NUMERIC No User who made change, links to a record ID in USERS

table.

78 TestTrack Database Layout

dateLog DATETIME No Date/time the change occurred. Notes NVARCHAR No Description of the change. FK ParentID NUMERIC No Links to a record ID in the FOLDER table.

Entity: FLDRTYP Entity details: Description Contains folder type information. Each table row represents one type value. Primary key constraint name

PK_FLDRTYP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Folder type name. Descrptn NVARCHAR No Folder type descriptoin OpenIcon IMAGE No Open folder icon image. OpnIconNm NVARCHAR No Filename of the image file that was selected for the

open folder icon image. ClosedIcon IMAGE No Closed folder icon image. ClsIconNm NVARCHAR No Filename of the image file that was selected for the

closed folder icon image. IsActive NUMERIC No Flag indicating if folder type is active. AllowUrl NUMERIC No Flag indicating if folder type should support URLs. AllwWygTxt NUMERIC No Flag indicating if folder type should support WYSIWYG

text. AllwTmTrk NUMERIC No Flag indicating if folder type should support release

planning OrderNum NUMERIC No Order number of the folder type within the list. BannerClr NVARCHAR No Banner color for the folder type

Entity: FOLDER Entity details: Description Contains folder information. Each table row represents one folder. Folder item

information is in the FLDRITEM table. This table has a one-to-many relationship with the FLDRITEM table.

Primary key constraint name

PK__FOLDER_NEW__29221CFB

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK OwnerID NUMERIC No Links to a record ID in USERS table. ParentID NUMERIC No Record ID of the parent folder. FldrOrder NUMERIC No Folder order, relative to other folders.

TestTrack Database Layout 79

Name NVARCHAR No Folder name. Descrptn NVARCHAR No Folder description. dateCreate DATETIME No Date/time folder was created. FK idCreateBy NUMERIC No User who created the folder, links to a record ID in

USERS table dateModify DATETIME No Date/time folder was last modified. FK idModifyBy NUMERIC No User who last modified the folder, links to a record ID

in USERS table AddedFrom NUMERIC No How folder was added; includes the following values: 0

(location unknown) 1 (add window) 2 (SoloSubmit page) 3 (SoloBug import) 4 (email import) 5 (text import) 6 (duplicated) 7 (XML import) 8 (SOAP API) 9 (help desk - obsolete) 10 (QA Wizard Pro) 11 (generated test run) 12 (TestTrack Outlook add-in)

MultDesc NTEXT No Reserved for future use. URL NTEXT No Reserved for future use.

Entity: REQMNT Entity details: Description Contains requirement information. Each table row represents either one

requirement. Primary key constraint name

PK_REQMNT

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) requirement was added to the

database FK idCreateBy NUMERIC No User who added the requirement. Links to a record ID

in USERS table dateModify DATETIME No Date/time (in GMT) requirement was last modified FK idModifyBy NUMERIC No User who last modified the requirement. Links to a

record ID in USERS table dateEnter DATETIME No Date entered field (in GMT) FK idEntryBy NUMERIC No Entered by field, links to a record ID in USERS table ReqNum NUMERIC No Requirement number, value is zero if number not yet

assigned Tag NVARCHAR No Contains the requirement tag number. Summary NVARCHAR No Summary field FK idStatus NUMERIC No Current requirement state, links to a record ID in

STATES table FK idType NUMERIC No Requirement type, links to a record ID in SUBTYPE

table AddLocat NUMERIC No Method used to add requirement, includes the

following values: 0 (unknown) 1 (Add requirement window) 4 (Email import) 5 (Text file import) 13 (MS Word Import)

80 TestTrack Database Layout

Version NUMERIC No Current requirement version number. FK idPriority NUMERIC No Importance field, links to a record ID in FLDRPRIO

table Descrptn NTEXT No Description field. Notify NTEXT No List of users/customers notified when requirement

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users requirement is currently

assigned to for external reporting tools.

Entity: SHRWUSRGRP Entity details: Description Contains settings for sharing filters with security groups. Primary key constraint name

PK_SHRWUSRGRP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EntityID NUMERIC No Identifies the item being shared with a security group.

Currently only filters and reports are shared. FK UsrGroupID NUMERIC No Identifies which security groups are shared with the item. EntityType NUMERIC No Indicates which entity type is being shared by this

record. Currently only filters and reports are shared with security groups.

Entity: TESTCASE Entity details: Description Contains test case information. Each table row represents one test case.

Additional information associated with a test case is found in the TCEVTS table. This table has a one-to-one relationship with the STATES and FLDTOTP tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTCASE__7A672E12

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test case was added to the

database. FK idCreateBy NUMERIC No User who added the test case, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test case was last modified. FK idModifyBy NUMERIC No User who last modified the test case, Links to a record

ID in USERS table. TstCaseNum NUMERIC No Test case number, value is zero if number not

assigned.

TestTrack Database Layout 81

Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test case execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test case window) 5 (Text file import) 6 (TestTrack user duplicated a test case)

Notify NTEXT No Currently not in use. SaveGrid NUMERIC No Flag indicates to save test runs in grid mode or plain

text. Status NUMERIC No Record id of the current state for the test case. CurAsgTo NTEXT No Names of the users the test case is currently assigned

to.

Entity: TESTRUN Entity details: Description Contains test run information. Each table row represents one test run. Additional

information associated with a test run is found in the TREVTS table. This table has a one-to-one relationship with the STATES, FLDTOTP and FLDTRSET tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTRUN__7C4F7684

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test run was added to the

database. FK idCreateBy NUMERIC No User who added the test run, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test run was last modified. FK idModifyBy NUMERIC No User who last modified the test run, Links to a record

ID in USERS table. FK TstCaseRID NUMERIC No Test case record ID. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test run execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test run window) 5 (Text file import) 6 (TestTrack user duplicated a test run)

TstRunNum NUMERIC No Test run number (Auto generated).

82 TestTrack Database Layout

FK idTRSet NUMERIC No Test run set field, links to a record ID in FLDTRSET table.

Notify NTEXT No Currently not in use. ViewGrid NUMERIC No Flag indicates to view test runs in grid mode or plain

text. PrbState NTEXT No Problem statement for this test run, if any. Status NUMERIC No Record id of the current state for the test run. CurAsgTo NTEXT No Names of the users the test run is currently assigned

to.

Entity: USERGRP Entity details: Description Contains user group information. Each table row represents one user group. Primary key constraint name

PK__USERGRP_NEW__1BC821DD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field GroupDesc NVARCHAR No Description field. Notes NTEXT No Notes field. InUserPopup NUMERIC No Include users in pop-up menus field. InCstPopup NUMERIC No Include customers in pop-up menus field. FK idDefFilt NUMERIC No Defect security option of "Users can only see and work

with defects that pass this filter"; links to a record ID in FILTERS table.

FK idTCFilt NUMERIC No Test case security option of "Users can only see and work with test cases that pass this filter"; links to a record ID in FILTERS table.

FK idTRFilt NUMERIC No Test run security option of "Users can only see and workwith test runs that pass this filter"; links to a record ID in FILTERS table

FK idReqFilt NUMERIC No Requirement security option of "Users can only see and workwith requirements that pass this filter"; links to a record ID in FILTERS table

FK idDocFilt NUMERIC No Requirement document security option of "Users can only see and workwith requirement documents that pass this filter"; links to a record ID in FILTERS table

OnlyMyDef NUMERIC No Defect security option of "Users can only see and work with the defects they reported".

OnlyMyTC NUMERIC No Test case security option of "Users can only see and work with the test cases they reported".

OnlyMyTR NUMERIC No Test run security option of "Users can only see and work with the test runs they reported".

OnlyMyReq NUMERIC No Requirement security option of "Users can only see and work with the requirements they reported".

TestTrack Database Layout 83

OnlyMyDoc NUMERIC No Requirement document security option of "Users can only see and work with the requirement documents they reported".

CommDenied VARCHAR No Command security options. FieldSec NTEXT No Field level security options EvtDenied VARCHAR No Serialized list of record IDs linked to EVENTS table;

contains record IDs of events that security group members cannot perform.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other)

84 TestTrack Database Layout

IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a user, if true, this is a customer.

IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 85

Hyperlinks ER diagram

86 TestTrack Database Layout

Entity details

Entity: DEFECTS Entity details: Description Contains defect information. Each table row represents one defect. Additional

information associated with a defect is found in the DEFECTEVTS table. This table has a one-to-one relationship with the STATES, FLDTYPE, FLDPROD, FLDDISPO, FLDPRIOR, FLDCOMP and FLDSEVER tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__DEFECTS__1BFD2C07

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) defect was added to the database FK idCreateBy NUMERIC No User who added the defect, Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) defect was last modified FK idModifyBy NUMERIC No User who last modified the defect, Links to a record ID

in USERS table DefectNum NUMERIC No Defect number, value is zero if number not yet

assigned Summary NVARCHAR No Summary field FK Status NUMERIC No Defect state, links to a record ID in STATES table InitStatus NUMERIC No Initial defect state FK idType NUMERIC No Type field, links to a record ID in FLDTYPE table FK idProduct NUMERIC No Product field, links to a record ID in FLDPROD table Reference NVARCHAR No Reference field FK idEnterBy NUMERIC No Entered by field, links to a record ID in USERS table FK idDisposit NUMERIC No Disposition field, links to a record ID in FLDDISPO

table FK idPriority NUMERIC No Priority field, links to a record ID in FLDPRIOR table FK idCompon NUMERIC No Component field, links to a record ID in FLDCOMP

table FK idSeverity NUMERIC No Severity field, links to a record ID in FLDSEVER table dateEnter DATETIME No Date entered field (in GMT) AddLocat NUMERIC No Method used to add defect; includes the following

values: 0 (unknown) 1 (Add defect window) 2 (SoloSubmit) 3 (SoloBug file) 4 (Email import) 5 (Text file import) 6 (TestTrack user duplicated a defect) If a defect was created during a conversion from a TestTrack 1.8.x or Workgroup database, value is set to "unknown"

Workaround NTEXT No Workaround field idTicket NUMERIC No Reserved for future functionality Notify NVARCHAR No List of users/customers notified when defect changes,

links to the USERS table

TestTrack Database Layout 87

CurAsgTo NTEXT No Stores names of users defect is currently assigned to for external reporting tools.

Entity: HYPRLNK Entity details: Description Contains email notification hyperlink information. Each row contains the

information for one hyperlink sent to a user. The table contains the information needed to match a hyperlink to the user who was sent the hyperlink and the record it links to.

Primary key constraint name

PK__HYPRLNK__48CFD27E

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. DTCreated DATETIME Yes Date/time hyperlink created. FK UserID NUMERIC No Link to USERS table for person who is to view defect

(i.e., person email notification was sent to) NmTimesUsd NUMERIC No Number of times user has accessed hyperlink. DTLastLogn DATETIME No Date/time user last accessed hyperlink. Other NVARCHAR Yes Security information, verifies authenticity of hyperlink

request FK DefectID NUMERIC No Link to DEFECTS table for the defect to be viewed.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

88 TestTrack Database Layout

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a

user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 89

Linking ER diagram

90 TestTrack Database Layout

Entity details

Entity: DEFECTS Entity details: Description Contains defect information. Each table row represents one defect. Additional

information associated with a defect is found in the DEFECTEVTS table. This table has a one-to-one relationship with the STATES, FLDTYPE, FLDPROD, FLDDISPO, FLDPRIOR, FLDCOMP and FLDSEVER tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__DEFECTS__1BFD2C07

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) defect was added to the database FK idCreateBy NUMERIC No User who added the defect, Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) defect was last modified FK idModifyBy NUMERIC No User who last modified the defect, Links to a record ID

in USERS table DefectNum NUMERIC No Defect number, value is zero if number not yet

assigned Summary NVARCHAR No Summary field FK Status NUMERIC No Defect state, links to a record ID in STATES table InitStatus NUMERIC No Initial defect state FK idType NUMERIC No Type field, links to a record ID in FLDTYPE table FK idProduct NUMERIC No Product field, links to a record ID in FLDPROD table Reference NVARCHAR No Reference field FK idEnterBy NUMERIC No Entered by field, links to a record ID in USERS table FK idDisposit NUMERIC No Disposition field, links to a record ID in FLDDISPO

table FK idPriority NUMERIC No Priority field, links to a record ID in FLDPRIOR table FK idCompon NUMERIC No Component field, links to a record ID in FLDCOMP

table FK idSeverity NUMERIC No Severity field, links to a record ID in FLDSEVER table dateEnter DATETIME No Date entered field (in GMT) AddLocat NUMERIC No Method used to add defect; includes the following

values: 0 (unknown) 1 (Add defect window) 2 (SoloSubmit) 3 (SoloBug file) 4 (Email import) 5 (Text file import) 6 (TestTrack user duplicated a defect) If a defect was created during a conversion from a TestTrack 1.8.x or Workgroup database, value is set to "unknown"

Workaround NTEXT No Workaround field idTicket NUMERIC No Reserved for future functionality

TestTrack Database Layout 91

Notify NVARCHAR No List of users/customers notified when defect changes, links to the USERS table

CurAsgTo NTEXT No Stores names of users defect is currently assigned to for external reporting tools.

Entity: DOCUMENT Entity details: Description Contains requirement document information. Each table row represents one

requirement document. Primary key constraint name

PK_DOCUMENT

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) document was added to the

database FK idCreateBy NUMERIC No User who added the document. Links to a record ID in

USERS table dateModify DATETIME No Date/time (in GMT) document was last modified FK idModifyBy NUMERIC No User who last modified the document. Links to a

record ID in USERS table DocNum NUMERIC No Document number, value is zero if number not yet

assigned Name NVARCHAR No Document name. FK idStatus NUMERIC No Current document state, links to a record ID in

STATES table AddLocat NUMERIC No Version NUMERIC No Current document version number. Descrptn NTEXT No Document description PgWidth NUMERIC No Current page width for multi-line text fields in

specification window. LeftMargin NUMERIC No Current left margin indent in specification window. UnitType NUMERIC No Units that the page width and left margin are specified

in. 0- Pixels 1 - Inches 2 - Centimeters Notify NTEXT No List of users/customers notified when document

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users document is currently assigned

to for external reporting tools.

Entity: LINKDFNTN Entity details: Description Contains a list of user-defined link definitions. Primary key constraint name

PK__LINKDFNTN__70DDC3D8

92 TestTrack Database Layout

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. LinkOrder NUMERIC No Order of row in list of link definitions. LinkName NVARCHAR No Unique name for link definition. LinkCommnt NVARCHAR No Comment associated with link definition. LinkParent NUMERIC No Flag indicates if link definition requires a parent. LinkActive NUMERIC No Flag indicates if link definition is active. LinkEnts NVARCHAR No Indicates allowed entities for this link. ComntReqd NUMERIC No Flag indicating if link comment is required when creating a

new link using this definition. AllwdPrnts VARCHAR No List of table ids allowed to be parent in link using this

definition. AllwdChld VARCHAR No List of table ids allowed to be children or peers in link

using this definition. MaxItems NUMERIC No Number of items allowed to be linked together using this

definition. AllwSuspct NUMERIC No Flag indicating if children or peers in link using this

definition should be marked as suspect when suspect event is added to parent.

Entity: LINKHISTRY Entity details: Description Contains history of changes made to links. Primary key constraint name

PK__LINKHISTRY__787EE5A0

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK LinkID NUMERIC Yes Links to parent record in LINKS table. HistOrder NUMERIC No Order that events appear in link’s history. HistDate DATETIME No Date link was changed. FirstName NVARCHAR No First name of user who made change. LastName NVARCHAR No Last name of user who made change. HistInfo NVARCHAR No Detailed description of change.

Entity: LINKITEM Entity details: Description Contains the information for a single item within a link in the LINK table. Primary key constraint name

PK__LINKITEM__76969D2E

TestTrack Database Layout 93

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK LinkID NUMERIC Yes Links to parent record in LINKS table. ItemOrder NUMERIC No Item order in peer/child list; value of 0 indicates parent

item in link. EntityType NUMERIC No Table link item is associated with; FK EntityID NUMERIC No Record ID of defect item is linked to. ItemStatus NUMERIC No Reserved for future use. SuspStat NUMERIC No SuspBy NUMERIC No RecordID of user who made link suspect. SuspDate DATETIME No Date & time when link was made suspect. SuspNotes NVARCHAR No Notes entered by user when link was made suspect. SrcType NUMERIC No Table ID of the item in the link that made this link

suspect. SrcID NUMERIC No Record ID of the item in the link that made this link

suspect. DateAdded DATETIME No

Entity: LINKS Entity details: Description Contains a list of link items that have been added to a link. Primary key constraint name

PK__LINKS__74AE54BC

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK LinkDefID NUMERIC Yes Link to LINKDFNTN table, identifies link type. LinkStatus NUMERIC No Reserved for future use. LinkCommnt NVARCHAR No Comment entered by user when link was created.

Entity: LINKWRKFLW Entity details: Description Contains the options that describe the workflow behaviors for items in the

LINKDFNTN table. Primary key constraint name

PK__LINKWRKFLW__72C60C4A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies parent project for row. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

94 TestTrack Database Layout

FK LinkDefID NUMERIC Yes Link to LINKDFNTN table, identifies link type. LinkRltn NUMERIC No The enumerated relationship type of this behavior: 1 -

Parent 2 - Child 3 - Peer LinkOption NUMERIC No The enumerated option for the workflow behavior: 1 -

Prevent parent from closing if children are open 2 - Prevent child from re-opening if parent is closed 3 - Prevent child from closing if parent is open 4 - Prevent parent from re-opening if children are closed 5 - Close peers in order 6 - Re-open peers in reverse order

Entity: REQMNT Entity details: Description Contains requirement information. Each table row represents either one

requirement. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) requirement was added to the

database FK idCreateBy NUMERIC No User who added the requirement. Links to a record ID

in USERS table dateModify DATETIME No Date/time (in GMT) requirement was last modified FK idModifyBy NUMERIC No User who last modified the requirement. Links to a

record ID in USERS table dateEnter DATETIME No Date entered field (in GMT) FK idEntryBy NUMERIC No Entered by field, links to a record ID in USERS table ReqNum NUMERIC No Requirement number, value is zero if number not yet

assigned Tag NVARCHAR No Contains the requirement tag number. Summary NVARCHAR No Summary field FK idStatus NUMERIC No Current requirement state, links to a record ID in

STATES table FK idType NUMERIC No Requirement type, links to a record ID in SUBTYPE

table AddLocat NUMERIC No Method used to add requirement, includes the

following values: 0 (unknown) 1 (Add requirement window) 4 (Email import) 5 (Text file import) 13 (MS Word Import)

Version NUMERIC No Current requirement version number. FK idPriority NUMERIC No Importance field, links to a record ID in FLDRPRIO

table Descrptn NTEXT No Description field. Notify NTEXT No List of users/customers notified when requirement

changes, links to the USERS table

TestTrack Database Layout 95

CurAsgTo NTEXT No Stores names of users requirement is currently assigned to for external reporting tools.

96 TestTrack Database Layout

Entity: TESTCASE Entity details: Description Contains test case information. Each table row represents one test case.

Additional information associated with a test case is found in the TCEVTS table. This table has a one-to-one relationship with the STATES and FLDTOTP tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTCASE__7A672E12

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test case was added to the

database. FK idCreateBy NUMERIC No User who added the test case, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test case was last modified. FK idModifyBy NUMERIC No User who last modified the test case, Links to a record

ID in USERS table. TstCaseNum NUMERIC No Test case number, value is zero if number not

assigned. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test case execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test case window) 5 (Text file import) 6 (TestTrack user duplicated a test case)

Notify NTEXT No Currently not in use. SaveGrid NUMERIC No Flag indicates to save test runs in grid mode or plain

text. Status NUMERIC No Record id of the current state for the test case. CurAsgTo NTEXT No Names of the users the test case is currently assigned

to.

Entity: TESTRUN Entity details: Description Contains test run information. Each table row represents one test run. Additional

information associated with a test run is found in the TREVTS table. This table has a one-to-one relationship with the STATES, FLDTOTP and FLDTRSET tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTRUN__7C4F7684

TestTrack Database Layout 97

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test run was added to the

database. FK idCreateBy NUMERIC No User who added the test run, Links to a record ID in

USERS table. dateModify DATETIME No Date/time (in GMT) test run was last modified. FK idModifyBy NUMERIC No User who last modified the test run, Links to a record

ID in USERS table. FK TstCaseRID NUMERIC No Test case record ID. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in FLDTOTP

table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test run execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test run window) 5 (Text file import) 6 (TestTrack user duplicated a test run)

TstRunNum NUMERIC No Test run number (Auto generated). FK idTRSet NUMERIC No Test run set field, links to a record ID in FLDTRSET

table. Notify NTEXT No Currently not in use. ViewGrid NUMERIC No Flag indicates to view test runs in grid mode or plain

text. PrbState NTEXT No Problem statement for this test run, if any. Status NUMERIC No Record id of the current state for the test run. CurAsgTo NTEXT No Names of the users the test run is currently assigned

to.

98 TestTrack Database Layout

Miscellaneous ER diagram

TestTrack Database Layout 99

Entity details

Entity: CUSTMMAP Entity details: Description Primary key constraint name

PK_CUSTMMAP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row SrcEntTyp NUMERIC No Entity type for the source field. DstnEntTyp NUMERIC No Entity type for the destination field. SrcFldID NUMERIC No Field ID for the source field. DstnFldID NUMERIC No Field ID for the destination field. PrepndText NTEXT No Prepend text. AppndText NTEXT No Append text. OrderNum NUMERIC No Order number of mapping rule within mapping rule

dialog.

Entity: EMAILTMP Entity details: Description Contains email template information. Primary key constraint name

PK__EMAILTMP_NEW__160F4887

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row EmailDesc NVARCHAR No Description of when email template is used Subject NVARCHAR No Email template subject field Template NTEXT No Email template message body Name NVARCHAR No Email template name Multiple NUMERIC No Flag indicates if multiple recipients can be specified; if

set to N, multiple emails with a single recipient will be sent

MailGroups NVARCHAR No Specifies which security groups can be sent the message, links to the USERGRP table

HTML NUMERIC No Flag indicates if the email is sent in HTML format AllowAll NUMERIC No Flag indicates that all groups can receive this email EntityType NUMERIC No Entity type the template is associated to

100 TestTrack Database Layout

Entity: OWNERLCK Entity details: Description Contains TestTrack internal information. Primary key constraint name

PK__OWNERLCK_NEW__0A9D95DB

Attributes: Key Attribute name Data type Not null Description PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. DbVersion NVARCHAR No Database version number, specifies database table

format.

Entity: RDBMSOPTNS Entity details: Description Contains the options and settings used when connecting to this RDBMS database.

Works like a Windows INI file and each entry has a name/value pair. Primary key constraint name

PK__RDBMSOPTNS__7E37BEF6

Attributes: Key Attribute name Data type Not null Description PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. OptDesc NVARCHAR No Option name. OptValue NVARCHAR No Option value.

Entity: SCCPROJ Entity details: Description Contains SCC project information. Primary key constraint name

PK__SCCPROJ__32E0915F

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ProjPath NTEXT No Path that is internal to SCC application.

Entity: TTDBOPTN Entity details: Description Contains database options. Works like a Windows INI file and each entry has a

name/value pair. Primary key constraint name

PK__TTDBOPTN__30F848ED

Attributes:

TestTrack Database Layout 101

Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row OptDesc NVARCHAR No Description of option represented in this row. OptValue NVARCHAR No Value of option represented in this row.

Entity: TTPROJECTS Entity details: Description Contains the list of TestTrack projects that reside in the RDBMS database. Primary key constraint name

PK__TTPROJECTS_NEW__0C85DE4D

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project; all

other project-related tables link to this id. TTProjName NVARCHAR Yes Project name, which must be unique within the database. TTProjUUID NVARCHAR Yes Universally unique project identifier. TTServUUID NVARCHAR No Universally unique identifier of TestTrack Server that

hosts the project. TTProjVers NVARCHAR No Project version number. TTServDBID NUMERIC No Server database ID.

102 TestTrack Database Layout

Reporting ER diagram

TestTrack Database Layout 103

104 TestTrack Database Layout

Entity details

Entity: FILTER Entity details: Description Contains filter information. Each table row represents one filter for the given entity

type. Additional information associated with a filter is found in the FILTDISP table, which has a many-to-one relationship to this table.

Primary key constraint name

PK__FILTER__0425A276

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FilterType NUMERIC Yes Filter entity type Name NVARCHAR Yes Name field FilterDesc NVARCHAR No Description field FK idOwner NUMERIC No Filter owner, links to a record ID in USERS table. AccessStat NUMERIC Yes Filter access state; includes the following values: 1

(Shared) 3 (Private)

Entity: RPCHRT Entity details: Description Contains report chart information. Primary key constraint name

PK__RPCHRT__5FB337D6

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ChrtRptID NUMERIC Yes Report chart is associated with. Links to a record ID in

RPDETL, RPDIST, RPLIST, or RPTREND table. ChrtPos NUMERIC No Chart position in the report. ChrtTyp NUMERIC No Chart type; includes the following values: 0 (Unknown)

1 (Pie) 2 (3DPie) 3 (Bar) 4 (3DBar) 5 (Floating Bar) 6 (3D Floating Bar) 7 (Area) 8 (3DArea) 9 (Line) 10 (3DLine)

Title NVARCHAR No Chart title. TitleSz NUMERIC No Chart title size; Includes the following values: 0

(Unknown) 1 (Very Small) 2 (Small) 3 (Medium) 4 (Large) 5 (Very Large)

DataFldID NUMERIC No Report data type; includes the following values: -1 (Invalid) 0 (Defects) 4 (Customers) 1 (Users) 2 (Security Groups) 3 (Test Configs) 8 (Defect Filters) 9 (Reports) 10 (Workbook Tasks)

TitleClr NUMERIC No Title font color (RGB format). Width NUMERIC No Chart width in pixels.

TestTrack Database Layout 105

Height NUMERIC No Chart height in pixels. BkgClr NUMERIC No Chart background color (RGB format). DatPrvLst VARCHAR No List of field IDs to chart. PieLbls NUMERIC No Indicates if labels used on a pie chart. PieLblSz NUMERIC No Size of pie chart labels. PieShwPcts NUMERIC No Indicates if percentage amount is shown on slice of a

pie chart. PieLblPos NUMERIC No Pie chart label position in pixels. PieLblClr NUMERIC No Pie chart label color (RGB format). BarShwGrd NUMERIC No Indicates if grid is shown on a bar chart. BarShowX NUMERIC No Indicates if x-axis is shown on a bar chart. BarShowY NUMERIC No Indicates if y-axis is shown on a bar chart. BarXTtle NVARCHAR No Bar chart x-axis title. BarXTtleSz NUMERIC No Bar chart x-axis size. BarYTtle NVARCHAR No Bar chart y-axis title. BarYTtleSz NUMERIC No Bar chart y-axis title. BarAxsLbls NUMERIC No Indicates if value labels are shown along axis of a

graph of a bar chart. BarXLblSz NUMERIC No Bar chart x-axis labels size BarXLblClr NUMERIC No Bar chart x-axis labels color (RGB format). BarYLblSz NUMERIC No Bar chart y-axis labels size. BarYLblClr NUMERIC No Bar chart y-axis labels color (RGB format). BarLblSpc NUMERIC No Spacing between bar chart columns. BarDnsty NUMERIC No Placing of marks on the y-axis of a bar chart; the

higher the percentage, the more dense the marks displayed.

BarXTtlClr NUMERIC No Bar chart x-axis title color (RGB format). BarYTtlClr NUMERIC No Bar chart y-axis title color (RGB format). BarGrdClr NUMERIC No Bar chart grid color (RGB format).

Entity: RPDETL Entity details: Description Contains detail report information. Each table row represents one detail report. Primary key constraint name

PK__RPDETL__5441852A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK idFilter NUMERIC No Entity filter used by report. Field is only used if the

TYPETOSHOW field is set to Defects, TestCases, or TestRuns entity type; links to a record ID in FILTERS table.

FK idOwner NUMERIC No Report owner, links to a record ID in USERS table. Name NVARCHAR No Name field.

106 TestTrack Database Layout

Title NVARCHAR No Title field used on report output. AccessStat NUMERIC No Report access state; values are: 1 (Shared) and 3

(Private) StyleName NVARCHAR No XSLT document for file name. StyleDir NVARCHAR No Directory where STYLENAME file is located. StylRepTyp NUMERIC No Indicates type of report; includes the following values:

0 (Unknown) 1 (Detail) 2 (Distribution) 3 (List) 4 (Trend)

StylScope NUMERIC No Indicates where report stylesheet is applicable; includes the following values: 0 (Unknown) 1 (Local) 2 (Server) 3 (Database)

BrkAftItem NUMERIC No Insert page break between items flag. TypeToShow NUMERIC No Indicates report object type; includes the following

values: 1 (Defects) 2 (Users) 3 (Security Groups) 4 (Test Configurations) 5 (Customers)

StylDtPrv NUMERIC No Indicates report data type; includes the following values: -1 (Invalid) 0 (Defects) 4 (Customers) 1 (Users) 2 (Security Groups) 3 (Test Configs) 8 (Defect Filters) 9 (Reports) 10 (Workbook Tasks)

PrintAll NUMERIC No Include all entities in report or only selected entities (where an entity is defined by the selection in the TYPETOSHOW field).

ShowList VARCHAR No List of entities to include in report (where an entity is defined by the selection in the TYPETOSHOW field); list has user record IDs that link to the USERS, USERGRP, or SYSCONF table.

SrtPrFldID NUMERIC No Primary sort column field ID. SrtScFldID NUMERIC No Secondary sort column field ID. SrtPrOrder NUMERIC No Order primary sort column is sorted. SrtScOrder NUMERIC No Order secondary sort column is sorted.

Entity: RPDIST Entity details: Description Contains distribution report information. Each table row represents one distribution

report. Primary key constraint name

PK__RPDIST__5DCAEF64

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field. Title NVARCHAR No Title field used on report output. FK idOwner NUMERIC No Report owner, links to a record ID in USERS table. AccessStat NUMERIC No Report access state; values are: 1 (Shared) and 3

(Private). StyleName NVARCHAR No XSLT document file name. StyleDir NVARCHAR No Directory where STYLENAME file is located.

TestTrack Database Layout 107

StylRepTyp NUMERIC No Indicates type of report; Includes the following values: 0 (Unknown) 1 (Detailed) 2 (Distribution) 3 (List) 4 (Trend)

StylScope NUMERIC No Indicates where report stylesheet is applicable; includes the following values: 0 (Unknown) 1 (Local) 2 (Server) 3 (Database)

StylDtPrv NUMERIC No Indicates report data type for the report; includes the following values: -1 (Invalid) 0 (Defects) 4 (Customers) 1 (Users) 2 (Security Groups) 3 (Test Configs) 8 (Defect Filters) 9 (Reports) 10 (Workbook Tasks)

ReportOn NUMERIC No Report on field option; includes the following values: 1 (Action by user) 2 (Reported by field) 3 (Status by field)

UserAction NUMERIC No User action selected from pop-up menu, used if REPORTON field is set to “Action by user”’; includes the following values: 1 (Found) 2 (Assigned) 3 (Fixed) 4 (Verified) 5 (Closed)

ReprtByFld NUMERIC No Reported by field selected from pop-up menu, used if REPORTON field is set to “Reported by field”; Includes the following values: 1 (Status) 2 (Type) 3 (Priority) 4 (Product) 5 (Resolution) 6 (Test Configuration) 7 (Component) 8 (Disposition)

StatsByFld NUMERIC No Status by field selected from pop-up menu, used if REPORTON field is set to “Status by field”; includes the following values: 1 (Type) 2 (Priority) 3 (Product) 4 (Component)

datePrFrom DATETIME No From field in the report options. datePrThru DATETIME No Through field in the report options. IncTotals NUMERIC No Include totals field. FK idFilter NUMERIC No Entity filter used by report. Field is only used if the

TYPETOSHOW field is set to Defects, TestCases, or TestRuns entity type; links to a record ID in FILTERS table.

XAxisFldID NUMERIC No X-axis column field ID. YAxisFldID NUMERIC No Y-axis column field ID. SrtPrFldID NUMERIC No Primary sort column field ID. SrtScFldID NUMERIC No Secondary sort column field ID. SrtPrOrder NUMERIC No Primary column sort order. SrtScOrder NUMERIC No Secondary column sort order. ExclCols VARCHAR No Reserved for future use. RecPerPg NUMERIC No Records per printed page. HideEmptyR NUMERIC No Flag indicates if empty rows are displayed. HideEmptyC NUMERIC No Flag indicates if empty columns are displayed. TypeToShow NUMERIC No Indicates report object type; includes the following

values: 1 (Defects) 2 (Users) 3 (Security Groups) 4 (Test Configurations) 5 (Customers)

108 TestTrack Database Layout

Entity: RPEXTERN Entity details: Description Contains external report information. Each table row represents one external

report. Primary key constraint name

PK_RPEXTERN

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idFilter NUMERIC No Entity filter used by report. Field is only used if the

TYPETOSHOW field is set to Defects, TestCases, or TestRuns entity type; links to a record ID in FILTERS table.

FK idOwner NUMERIC No Report owner, links to a record ID in USERS table. Name NVARCHAR No Name field. Title NVARCHAR No Title field used on report output. AccessStat NUMERIC No Report access state; values are: 1 (Shared) and 3

(Private) OrgnlName NVARCHAR No Original name of external report. AddlInfo NTEXT No Additional information about the report. ExRptID NTEXT No External report identifier field. SrvcGUID NVARCHAR No External reporting service identifier field. OutpTyp NUMERIC No Output format of the report.

Entity: RPFRMT Entity details: Description Describes the layout of a field type on a report. The field type default uses the

values from the XSL file. Each field type has a parent type that is used unless the field has a defined format, in this case the field’s format is used.

Primary key constraint name

PK__RPFRMT__59FA5E80

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID uniquely identifying a row in this table FrmtFnt NUMERIC No Font family; includes the following values: -1 (use XSL

value) 1 (serif) 2 (sans serif) 3 (cursive) 4 (monospace) 5 (fantasy)

FK ChrtRptID NUMERIC No Specifies report format is associated with (customization can only be applied to list reports); links to a record ID in RPLIST table.

FntSz NUMERIC No Font size in pixels. FntWt NUMERIC No Font weight or thickness; includes the following values: -

1 (use xsl value) 0 (100) 1 (200) 2 (300) 3 (400) 4 (500) 5 (600) 6 (700) 7 (800) 8 (900)

TestTrack Database Layout 109

FntClr NUMERIC No Font color (RGB format). FntBkgClr NUMERIC No Font background color (RGB format). HAlign NUMERIC No Field horizontal alignment; includes the following values:

-1 (use xsl value) 0 (left) 1 (center) 2 (right) 3 (justify) VAlign NUMERIC No Field vertical alignment; includes the following values: -1

(use xsl value) 0 (top) 1 (middle) 2 (bottom) 3 (baseline) Width NUMERIC No Field width. Height NUMERIC No Field height. BrdrSz NUMERIC No Border size. TblBkgClr NUMERIC No Background field color (RGB format). FrmtPad NUMERIC No Cell padding. FrmtSp NUMERIC No Cell spacing. FrmtType NUMERIC No Field format; includes the following values: -1 (Invalid) 0

(Field) 1000 (Header) 2000 (Detail Table) 3000 (Detail Column Heading) 4000 (Detail Row Heading) 5000 (Detail Data Cells) 6000 (Detail Row Totals) 7000 (Detail Column Totals) 8000 (Footer)

PrntTyp NUMERIC No Parent field format; includes the following values: -1 (Invalid) 0 (Field) 1000 (Header) 2000 (Detail Table) 3000 (Detail Column Heading) 4000 (Detail Row Heading) 5000 (Detail Data Cells) 6000 (Detail Row Totals) 7000 (Detail Column Totals) 8000 (Footer)

FrmtFldID NUMERIC No Field ID.

Entity: RPIDS Entity details: Description Contains a row for each report defined in the database, regardless of report type. Primary key constraint name

PK__RPIDS__52593CB8

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row Type NUMERIC No Report type; includes the following values: 1 (Detail) 2

(Distribution) 3 (List) 4 (Trend)

Entity: RPLIST Entity details: Description Contains list report information. Each table row represents one list report. Primary key constraint name

PK__RPLIST__5812160E

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row

110 TestTrack Database Layout

Name NVARCHAR No Report name. FK idOwner NUMERIC No Report owner, links to a record ID in USERS table. Title NVARCHAR No Report title. AccessStat NUMERIC No Report access; includes the following values: 1

(Shared) 3 (Private) StyleName NVARCHAR No XSLT document file name. StyleDir NVARCHAR No Directory where the STYLENAME file is located. StylRepTyp NUMERIC No Report type; includes the following values: 0

(Unknown) 1 (Detailed) 2 (Distribution) 3 (List) 4 (Trend)

StylScope NUMERIC No Indicates where report stylesheet is applicable; includes the following values: 0 (Unknown) 1 (Local) 2 (Server) 3 (Database)

StylDtPrv NUMERIC No Report data type; includes the following values: -1 (Invalid) 0 (Defects) 4 (Customers) 1 (Users) 2 (Security Groups) 3 (Test Configs) 8 (Defect Filters) 9 (Reports) 10 (Workbook Tasks)

TypeToShow NUMERIC No Report object type; includes the following values: 1 (Defects) 2 (Users) 3 (Security Groups) 4 (Test Configurations) 5 (Customers)

GridLines NUMERIC No Print grid lines. ShowList VARCHAR No List of entities to include in the report (where an entity

is defined by the selection in the TYPETOSHOW field); list has user record IDs that link to USERS, USERGRP, or SYSCONF table

SrtPrFldID NUMERIC No Primary sort column field ID. FK idFilter NUMERIC No Entity filter used by report. Field is only used if the

TYPETOSHOW field is set to Defects, TestCases, or TestRuns entity type; links to a record ID in FILTERS table.

SrtScFldID NUMERIC No Secondary sort column field ID. SrtPrOrder NUMERIC No Order the primary sort column is sorted. SrtScOrder NUMERIC No Order the secondary sort column is sorted. RecPerPg NUMERIC No Records per printed page.

Entity: RPTREND Entity details: Description Contains trend report information. Each table row represents one trend report. Primary key constraint name

PK__RPTREND__5BE2A6F2

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row Name NVARCHAR No Report name. Title NVARCHAR No Report title. FK idOwner NUMERIC No Report owner, links to a record ID in USERS table.

TestTrack Database Layout 111

AccessStat NUMERIC No Report access state; includes the following values: 1 (Shared) 3 (Private)

StyleName NVARCHAR No XSLT document file name StyleDir NVARCHAR No Directory where the STYLENAME file is located. StylRepTyp NUMERIC No Report type; includes the following values: 0

(Unknown) 1 (Detailed) 2 (Distribution) 3 (List) 4 (Trend)

StylScope NUMERIC No Indicates where the report stylesheet is applicable; includes the following values: 0 (Unknown) 1 (Local) 2 (Server) 3 (Database)

StylDtPrv NUMERIC No Report data type; includes the following values: -1 (Invalid) 0 (Defects) 4 (Customers) 1 (Users) 2 (Security Groups) 3 (Test Configs) 8 (Defect Filters) 9 (Reports) 10 (Workbook Tasks) 13 (Test Cases) 14 (Test Runs)

datePrFrom DATETIME No From field (date/time). datePrThru DATETIME No Through field (date/time). PerdUnits NUMERIC No Period units; includes the following values: 1 (Days) 2

(Weeks) 3 (Months) IncTotals NUMERIC No Include totals field. ReportOn NUMERIC No Report on field; includes the following values: 1

(Defect status) 2 (Defect action by field) DefEvtRept NUMERIC No Defect action selected in pop-up menu, only used if

REPORTON field is set to "Defect action by field"; includes the following values: 1 (Found) 2 (Fixed) 3 (Verified Passed) 4 (Verified Failed) 5 (Closed)

SecndField NUMERIC No Status by field selected in pop-up menu, field is used if the REPORTON field is set to "Defect action by field"; includes the following values: 1 (Type) 2 (Priority) 3 (Resolution)

FK idFilter NUMERIC No Entity filter used by report. Field is only used if the TYPETOSHOW field is set to Defects, TestCases, or TestRuns entity type; links to a record ID in FILTERS table.

IncAllSts NUMERIC No Include all status events for each defect. IncTotOp NUMERIC No Show number of events open in each period. ExclCols VARCHAR No Reserved for future use. RecPerPg NUMERIC No Records per printed page. HideEmptyC NUMERIC No Flag indicates if empty columns are displayed. TypeToShow NUMERIC No Indicates report object type; includes the following

values: 0 (Defects) 4 (Customers) 1 (Users) 2 (Security Groups) 3 (Test Configs) 8 (Defect Filters) 9 (Reports) 10 (Workbook Tasks) 13 (Test Cases) 14 (Test Runs)

Entity: SHRWUSRGRP Entity details: Description Contains settings for sharing filters with security groups. Primary key constraint name

PK_SHRWUSRGRP

112 TestTrack Database Layout

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EntityID NUMERIC No Identifies the item being shared with a security group.

Currently only filters and reports are shared. FK UsrGroupID NUMERIC No Identifies which security groups are shared with the item. EntityType NUMERIC No Indicates which entity type is being shared by this

record. Currently only filters and reports are shared with security groups.

Entity: USERGRP Entity details: Description Contains user group information. Each table row represents one user group. Primary key constraint name

PK__USERGRP_NEW__1BC821DD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field GroupDesc NVARCHAR No Description field. Notes NTEXT No Notes field. InUserPopup NUMERIC No Include users in pop-up menus field. InCstPopup NUMERIC No Include customers in pop-up menus field. FK idDefFilt NUMERIC No Defect security option of "Users can only see and work

with defects that pass this filter"; links to a record ID in FILTERS table.

FK idTCFilt NUMERIC No Test case security option of "Users can only see and work with test cases that pass this filter"; links to a record ID in FILTERS table.

FK idTRFilt NUMERIC No Test run security option of "Users can only see and workwith test runs that pass this filter"; links to a record ID in FILTERS table

FK idReqFilt NUMERIC No Requirement security option of "Users can only see and workwith requirements that pass this filter"; links to a record ID in FILTERS table

FK idDocFilt NUMERIC No Requirement document security option of "Users can only see and workwith requirement documents that pass this filter"; links to a record ID in FILTERS table

OnlyMyDef NUMERIC No Defect security option of "Users can only see and work with the defects they reported".

OnlyMyTC NUMERIC No Test case security option of "Users can only see and work with the test cases they reported".

OnlyMyTR NUMERIC No Test run security option of "Users can only see and work with the test runs they reported".

OnlyMyReq NUMERIC No Requirement security option of "Users can only see and work with the requirements they reported".

TestTrack Database Layout 113

OnlyMyDoc NUMERIC No Requirement document security option of "Users can only see and work with the requirement documents they reported".

CommDenied VARCHAR No Command security options. FieldSec NTEXT No Field level security options EvtDenied VARCHAR No Serialized list of record IDs linked to EVENTS table;

contains record IDs of events that security group members cannot perform.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other)

114 TestTrack Database Layout

IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a user, if true, this is a customer.

IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 115

Reporting (Custom) ER diagram

116 TestTrack Database Layout

Entity details

Entity: FILTER Entity details: Description Contains filter information. Each table row represents one filter for the given entity

type. Additional information associated with a filter is found in the FILTDISP table, which has a many-to-one relationship to this table.

Primary key constraint name

PK__FILTER__0425A276

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FilterType NUMERIC Yes Filter entity type Name NVARCHAR Yes Name field FilterDesc NVARCHAR No Description field FK idOwner NUMERIC No Filter owner, links to a record ID in USERS table. AccessStat NUMERIC Yes Filter access state; includes the following values: 1

(Shared) 3 (Private)

Entity: FOLDER Entity details: Description Contains folder information. Each table row represents one folder. Folder item

information is in the FLDRITEM table. This table has a one-to-many relationship with the FLDRITEM table.

Primary key constraint name

PK__FOLDER_NEW__29221CFB

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK OwnerID NUMERIC No Links to a record ID in USERS table. ParentID NUMERIC No Record ID of the parent folder. FldrOrder NUMERIC No Folder order, relative to other folders. Name NVARCHAR No Folder name. Descrptn NVARCHAR No Folder description. dateCreate DATETIME No Date/time folder was created. FK idCreateBy NUMERIC No User who created the folder, links to a record ID in

USERS table dateModify DATETIME No Date/time folder was last modified. FK idModifyBy NUMERIC No User who last modified the folder, links to a record ID

in USERS table

TestTrack Database Layout 117

AddedFrom NUMERIC No How folder was added; includes the following values: 0 (location unknown) 1 (add window) 2 (SoloSubmit page) 3 (SoloBug import) 4 (email import) 5 (text import) 6 (duplicated) 7 (XML import) 8 (SOAP API) 9 (help desk - obsolete) 10 (QA Wizard Pro) 11 (generated test run) 12 (TestTrack Outlook add-in)

MultDesc NTEXT No Reserved for future use. URL NTEXT No Reserved for future use.

Entity: RPCUSTOM Entity details: Description Contains custom report information. Each table row represents one custom report. Primary key constraint name

PK_RPCUSTOM

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field. Title NVARCHAR No Title field used on report output. FK idOwner NUMERIC No Report owner, links to a record ID in USERS table. AccessStat NUMERIC No Report access state; values are: 1 (Shared) and 3

(Private) StyleName NVARCHAR No Name of the .xslt file from the \StyleSheets\Custom

directory. StyleDir NVARCHAR No Directory where the .xslt file referenced in StyleName

is located. StyleRepTyp NUMERIC No Report type; includes the following values: 0

(Unknown) 1 (Detailed) 2 (Distribution) 3 (List) 4 (Trend) 5 (Custom).

StylScope NUMERIC No Indicates where report stylesheet is applicable; includes the following values: 0 (Unknown) 1 (Local) - Not Valid for this type 2 (Server) 3 (Database)

StylDtPrv NUMERIC No Indicates report data type for the report; includes the following values: -1 (Invalid) 0 (Defects) 1 (Users) 2 (Security Groups) 3 (Test Configs) 4 (Customers) 8 (Defect Filters) 9 (Reports) 13 (Test Cases) 14 (Test Runs) 15 (Folders) 16 (All Types) 18 (Documents) 19 (ReqDocuments) 10 (Workbook Tasks)

DatePrFrom DATETIME No Containst the from date if specified in the Options tab. DatePrTo DATETIME No Containst the thru date if specified in the Options tab. FK idFolder NUMERIC No Folder idRecord for folder specified on the Source tab. Recursive NUMERIC No Recursive folder checkbox as specified on the Source

tab. EntityMask NUMERIC No A bitmask of the entity types that the chart supports. FK DfctFiltrID NUMERIC No Defect Filter id, links to a record ID in FILTER table. FK TstcFltrID NUMERIC No Test Case Filter id, links to a record ID in FILTER

table.

118 TestTrack Database Layout

FK TstrFltrID NUMERIC No Test Run Filter id, links to a record ID in FILTER table. FK RqmtFltrID NUMERIC No Requirement Filter id, links to a record ID in FILTER

table. FK RdmtFltrID NUMERIC No Requirement Document Filter id, links to a record ID in

FILTER table. SrtPrFldID NUMERIC No Primary sort column field ID. SrtScFldID NUMERIC No Secondary sort column field ID. SrtPrOrder NUMERIC No Primary sort order. SrtScOrder NUMERIC No Secondary sort order. Options NTEXT No XML text containing additional parameters... - Include

Links - Link Defiition list of links to include, list of folder types to include - Show Chart - Show Data (Stored as XML to allow for future expansion).

Entity: RPIDS Entity details: Description Contains a row for each report defined in the database, regardless of report type. Primary key constraint name

PK__RPIDS__52593CB8

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row Type NUMERIC No Report type; includes the following values: 1 (Detail) 2

(Distribution) 3 (List) 4 (Trend)

Entity: SHRWUSRGRP Entity details: Description Contains settings for sharing filters with security groups. Primary key constraint name

PK_SHRWUSRGRP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EntityID NUMERIC No Identifies the item being shared with a security group.

Currently only filters and reports are shared. FK UsrGroupID NUMERIC No Identifies which security groups are shared with the item. EntityType NUMERIC No Indicates which entity type is being shared by this

record. Currently only filters and reports are shared with security groups.

TestTrack Database Layout 119

Entity: USERGRP Entity details: Description Contains user group information. Each table row represents one user group. Primary key constraint name

PK__USERGRP_NEW__1BC821DD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field GroupDesc NVARCHAR No Description field. Notes NTEXT No Notes field. InUserPopup NUMERIC No Include users in pop-up menus field. InCstPopup NUMERIC No Include customers in pop-up menus field. FK idDefFilt NUMERIC No Defect security option of "Users can only see and

work with defects that pass this filter"; links to a record ID in FILTERS table.

FK idTCFilt NUMERIC No Test case security option of "Users can only see and work with test cases that pass this filter"; links to a record ID in FILTERS table.

FK idTRFilt NUMERIC No Test run security option of "Users can only see and workwith test runs that pass this filter"; links to a record ID in FILTERS table

FK idReqFilt NUMERIC No Requirement security option of "Users can only see and workwith requirements that pass this filter"; links to a record ID in FILTERS table

FK idDocFilt NUMERIC No Requirement document security option of "Users can only see and workwith requirement documents that pass this filter"; links to a record ID in FILTERS table

OnlyMyDef NUMERIC No Defect security option of "Users can only see and work with the defects they reported".

OnlyMyTC NUMERIC No Test case security option of "Users can only see and work with the test cases they reported".

OnlyMyTR NUMERIC No Test run security option of "Users can only see and work with the test runs they reported".

OnlyMyReq NUMERIC No Requirement security option of "Users can only see and work with the requirements they reported".

OnlyMyDoc NUMERIC No Requirement document security option of "Users can only see and work with the requirement documents they reported".

CommDenied VARCHAR No Command security options. FieldSec NTEXT No Field level security options EvtDenied VARCHAR No Serialized list of record IDs linked to EVENTS table;

contains record IDs of events that security group members cannot perform.

120 TestTrack Database Layout

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 121

122 TestTrack Database Layout

Reporting (Live Charts) ER diagram

TestTrack Database Layout 123

Entity details

Entity: CHARTS Entity details: Description Contains live chart report information. Each table row represents one live chart

report. Primary key constraint name

PK_CHARTS

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes PK idRecord NUMERIC Yes FK reportID NUMERIC No Name NVARCHAR No Name field. Tilte NVARCHAR No Title field used on report output. idOwner NUMERIC No Report owner, links to a record ID in USERS table. AccessStat NUMERIC No Report access state; values are: 1 (Shared) and 3

(Private) EntityMask NUMERIC No A bitmask of the entity types that the chart supports. FK DfctFltrID NUMERIC No Defect Filter id, links to a record ID in FILTER table. FK TstcFltrID NUMERIC No Test Case Filter id, links to a record ID in FILTER

table. FK TstrFltrID NUMERIC No Test Run Filter id, links to a record ID in FILTER

table. FK RqmtFltrID NUMERIC No Requirement Filter id, links to a record ID in FILTER

table. FK RdmtFltrID NUMERIC No Requirement Document Filter id, links to a record ID

in FILTER table. Xml NTEXT No XML text containing additional parameters. (Stored

as XML to allow for future expansion).

Entity: FILTER Entity details: Description Contains filter information. Each table row represents one filter for the given entity

type. Additional information associated with a filter is found in the FILTDISP table, which has a many-to-one relationship to this table.

Primary key constraint name

PK__FILTER__0425A276

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FilterType NUMERIC Yes Filter entity type Name NVARCHAR Yes Name field

124 TestTrack Database Layout

FilterDesc NVARCHAR No Description field FK idOwner NUMERIC No Filter owner, links to a record ID in USERS table. AccessStat NUMERIC Yes Filter access state; includes the following values: 1

(Shared) 3 (Private)

Entity: RPIDS Entity details: Description Contains a row for each report defined in the database, regardless of report type. Primary key constraint name

PK__RPIDS__52593CB8

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row Type NUMERIC No Report type; includes the following values: 1 (Detail) 2

(Distribution) 3 (List) 4 (Trend)

Entity: SHRWUSRGRP Entity details: Description Contains settings for sharing filters with security groups. Primary key constraint name

PK_SHRWUSRGRP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EntityID NUMERIC No Identifies the item being shared with a security group.

Currently only filters and reports are shared. FK UsrGroupID NUMERIC No Identifies which security groups are shared with the

item. EntityType NUMERIC No Indicates which entity type is being shared by this

record. Currently only filters and reports are shared with security groups.

Entity: USERGRP Entity details: Description Contains user group information. Each table row represents one user group. Primary key constraint name

PK__USERGRP_NEW__1BC821DD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

TestTrack Database Layout 125

Name NVARCHAR No Name field GroupDesc NVARCHAR No Description field. Notes NTEXT No Notes field. InUserPopup NUMERIC No Include users in pop-up menus field. InCstPopup NUMERIC No Include customers in pop-up menus field. FK idDefFilt NUMERIC No Defect security option of "Users can only see and

work with defects that pass this filter"; links to a record ID in FILTERS table.

FK idTCFilt NUMERIC No Test case security option of "Users can only see and work with test cases that pass this filter"; links to a record ID in FILTERS table.

FK idTRFilt NUMERIC No Test run security option of "Users can only see and workwith test runs that pass this filter"; links to a record ID in FILTERS table

FK idReqFilt NUMERIC No Requirement security option of "Users can only see and workwith requirements that pass this filter"; links to a record ID in FILTERS table

FK idDocFilt NUMERIC No Requirement document security option of "Users can only see and workwith requirement documents that pass this filter"; links to a record ID in FILTERS table

OnlyMyDef NUMERIC No Defect security option of "Users can only see and work with the defects they reported".

OnlyMyTC NUMERIC No Test case security option of "Users can only see and work with the test cases they reported".

OnlyMyTR NUMERIC No Test run security option of "Users can only see and work with the test runs they reported".

OnlyMyReq NUMERIC No Requirement security option of "Users can only see and work with the requirements they reported".

OnlyMyDoc NUMERIC No Requirement document security option of "Users can only see and work with the requirement documents they reported".

CommDenied VARCHAR No Command security options. FieldSec NTEXT No Field level security options EvtDenied VARCHAR No Serialized list of record IDs linked to EVENTS table;

contains record IDs of events that security group members cannot perform.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive.

126 TestTrack Database Layout

FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 127

Requirements ER diagram

128 TestTrack Database Layout

TestTrack Database Layout 129

Entity details

Entity: ATTACHINFO Entity details: Description Contains additional information on attachments to test cases and test runs. Each

table row represents one file attached to the given record. This table has one-to-one relationship with ATTACHMT table.

Primary key constraint name

PK__ATTACHINFO__4CA06362

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. AttachType NUMERIC Yes Attachment type: 0 (Regular attachment), 1 (Script, 2

(Run Result) FK AttachID NUMERIC Yes Record ID in ATTACHMT table Type NUMERIC Yes Indicates Attachment table type

(tableID_Attachments or tableID_SCCFiles) OwnerType NUMERIC Yes Entity Type to which attachment belongs to FK OwnerID NUMERIC Yes Entity RID to which attachment belongs to ScrptOrder NUMERIC No This field is valid only if attachment type is script.

Indicates order script is displayed in scripts tab and executed.

ScrptStat NVARCHAR No This field is valid only if attachment type is script. Indicates status of the script.

Entity: ATTACHMT Entity details: Description Contains file attachment information. Each table row represents one file attached

to the given record. This table has a many-to-one relationship with the REPORTBY table. Each row has a reported by record ID that matches a record ID in the REPORTBY table.

Primary key constraint name

PK__ATTACHMT__4AB81AF0

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table attachment is linked to. (Defect, Defect

event, Test case, Test case event, Test run, or Test run event)

AttType NUMERIC No File attachment type; includes the following values: 1 (Macintosh binary file) 2 (other file type)

FK EntityRID NUMERIC Yes Links to a REPORTBY table or DEFECTEVTS table record ID in case of Defects, otherwise links to Entity record ID.

FileName NVARCHAR No Original file name, before it was attached to an entity.

130 TestTrack Database Layout

MacType NUMERIC No Macintosh type (valid for Macintosh only) MacCreator NUMERIC No Macintosh creator (valid for Macintosh only) dateCreate DATETIME No File creation date dateModify DATETIME No File modification date FileSize NUMERIC No File size FK ArchvFile NVARCHAR Yes Archive file name used for storage in the database Compressed NUMERIC No Reserved for future use AttachInDB NUMERIC No Flag indicates if archive file contents are stored in

database (valid for RDBMS only) FieldID NUMERIC No Contains field id of field containing image for

WYSIWYG inline images. AttDesc NVARCHAR No Reserved for future use. ImgWidth NUMERIC No Width of original image added as inline WYSIWYG

image. ImgHeight NUMERIC No Height of original image added as inline WYSIWYG

image.

Entity: ATTARCHIVE Entity details: Description Contains file attachment archive information. Each table row represents one file

attachment. Primary key constraint name

PK__ATTARCHIVE__4E88ABD4

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ArchvFile NVARCHAR No Archive file name. FileData IMAGE No Binary attachment data

Entity: CSREQVAL Entity details: Description Contains information related to custom fields on a requirement. Each table row

represents one custom field value associated with a single requirement. This table has a many-to-one relationship with the REQMNT table and FLDDFNTN table. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK_CSREQVAL

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC Yes Links to a record ID in REQMNT table

TestTrack Database Layout 131

FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No If custom field is an edit box, this is the text the user

enters; if custom field is a pop-up menu, comma separated record IDs will be set.

Entity: CSREVTVL Entity details: Description Contains custom field values for requirement events. Each table row represents

one custom field value for a single event. This table has a many-to-one relationship with the REQEVTS and the FLDDFNTN tables. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK_CSREVTVL

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No Custom field value (comma separated record IDs for

drop-down list) FK idEvent NUMERIC No Links to a record ID in REQEVTS table

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity AllowAttch NUMERIC No Flag indicates if files can be attached to the event TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes

the following values: 1 (display sum of event hours) 2 (display last event hours)

132 TestTrack Database Layout

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows

toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to

complete this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs. EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the

requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

TestTrack Database Layout 133

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code

for email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields

for entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values

can be modified.

134 TestTrack Database Layout

DefaultVal NUMERIC No Default value for this field; stored values are based on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ListName NVARCHAR No Pop-up list name.

Entity: FLDRPRIO Entity details: Description Contains requirement importance pop-up menu values. Each row in this table

represents one pop-up menu item. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

TestTrack Database Layout 135

Entity: REQCHNGS Entity details: Description Contains the original values for fields that were changed after a requirement

version was created. The requirement itself always stores the current value. Primary key constraint name

PK_REQCHNGS

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC No Links to a record ID in REQVRSN table FK idField NUMERIC No Links to a record ID in FLDDFNTN table indentifying

the field. HasValue NUMERIC No Flag indicating if OrigValue field represents original

value. If false the original value was NULL. OrigValue NTEXT No Contains the original value for the field stored as the

string value.

Entity: REQEVTS Entity details: Description Contains event information for each event recorded with a requirement. Each

table row represents a single requirement event. This table has a many-to-one relationship with the REQMNT table, the EVENTS table, the USERS table, and the STATES table.

Primary key constraint name

PK_REQEVTS

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EvtDefID NUMERIC No Links to a record ID in EVENTS table OrderNum NUMERIC No Identifies order the requirement event was created

relative to other requirement events; an internal counter for a specific requirement.

FK ParentID NUMERIC Yes Links to a record ID in REQMNT table FK EvtMuParnt NUMERIC No Links to a record ID in REQEVTS table; if event is a

response to a multi-user assignment, field is the record ID of the parent event; if event is not a response to a multiuser assignment, field contains the value -1

FK idUser NUMERIC No Links to a record ID in USERS table; if user created event, it has the record ID of the user; if event was generated by TestTrack, it has a record ID of -2

dateEvent DATETIME No Requirement event date Notes NTEXT No Notes field

136 TestTrack Database Layout

TimeSpent NUMERIC No If event definition for this event (EVENT table) has the time reporting option selected, field stores the amount of time entered by the user; if event does not record time spent, this field has the value -1

RsltState NUMERIC No Links to a record ID in STATES table; if event affects resulting defect state, field contains the record ID of resulting state; if event does not affect resulting state, a value of 0 is stored in field

RelVersion NVARCHAR No Notes field if event is configured to include release notes information

AsgndUsers VARCHAR No If event is an assignment event (EVENT table), field contains a list of record IDs linked to the USERS table; if event is not an assignment, field is empty

GenByType NUMERIC No Value that identifies how event was created; includes following values: 0 (created by user) 1 (created by multi-user assignment) 2 (created by auto assignment) 3 (created by auto escalation)

CreatorID NUMERIC No Stores record ID of who created the event in the following cases: escalation rule record ID, trigger record ID, and user record ID of user who performed an action generating a system comment event

DefAgnEff NUMERIC No Stores assignment of event at the time it was run (intended to preserve history if the event definition is modified); includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

OvrWf NUMERIC No Flag indicates if event is a result of a Workflow Override

OvrWFUsrID NUMERIC No Links to the USERS table; if event is a result of a Workflow Override, field stores the record ID of user; otherwise, the value 0 is written to field

SspLnkItms NUMERIC No Flag indicating if user specified to mark dependent items as suspect.

Version NUMERIC No Contains the version number of the requirement that was current when the event was entered.

Entity: REQLOG Entity details: Description Contains historical log information about changes made to requirement records.

Each row in this table represents a log entry in one of the requirement records. Each row has a requirement record ID that matches a record ID in the REQMNT table.

Primary key constraint name

PK_REQLOG

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idUser NUMERIC No User who made change, links to a record ID in

USERS table dateLog DATETIME No Date/time the change occurred

TestTrack Database Layout 137

Notes NVARCHAR No Description of the change ParentID NUMERIC No Links to a record ID in REQMNT table

Entity: REQMNT Entity details: Description Contains requirement information. Each table row represents either one

requirement. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) requirement was added to the

database FK idCreateBy NUMERIC No User who added the requirement. Links to a record

ID in USERS table dateModify DATETIME No Date/time (in GMT) requirement was last modified FK idModifyBy NUMERIC No User who last modified the requirement. Links to a

record ID in USERS table dateEnter DATETIME No Date entered field (in GMT) FK idEntryBy NUMERIC No Entered by field, links to a record ID in USERS table ReqNum NUMERIC No Requirement number, value is zero if number not yet

assigned Tag NVARCHAR No Contains the requirement tag number. Summary NVARCHAR No Summary field FK idStatus NUMERIC No Current requirement state, links to a record ID in

STATES table FK idType NUMERIC No Requirement type, links to a record ID in SUBTYPE

table AddLocat NUMERIC No Method used to add requirement, includes the

following values: 0 (unknown) 1 (Add requirement window) 4 (Email import) 5 (Text file import) 13 (MS Word Import)

Version NUMERIC No Current requirement version number. FK idPriority NUMERIC No Importance field, links to a record ID in FLDRPRIO

table Descrptn NTEXT No Description field. Notify NTEXT No List of users/customers notified when requirement

changes, links to the USERS table CurAsgTo NTEXT No Stores names of users requirement is currently

assigned to for external reporting tools.

138 TestTrack Database Layout

Entity: REQVRSN Entity details: Description Contains requirement version information. Each table row represents one

requirement version. Primary key constraint name

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idReqmnt NUMERIC Yes Links to a record ID in REQMNT table dateCreate DATETIME No Date/time (in GMT) requirement version was added to

the database FK idCreateBy NUMERIC No User who created the requirement version. Links to a

record ID in USERS table Version NUMERIC No Contains the version number of the requirement

version.

Entity: SCCFILE Entity details: Description Contains SCC file information. Each table row represents one SCC file that is

attached to an entity. This table has a many-to-one relationship with the corresponding entity table. Each row has an entity record ID.

Primary key constraint name

PK__SCCFILE__239E4DCF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK, FK EntityRID NUMERIC Yes Links to a record ID in corresponding entity table. EntityType NUMERIC Yes Entity type to which SCC File is linked to. FileName NVARCHAR No File name in SCC system. Version NTEXT No Version number of fix in the SCC system. dateFixed DATETIME No Date fix was made. ChgLstID NUMERIC Yes Change list record ID from the SCMCHGLST table.

Entity: SCMCHGLST Entity details: Description Contains SCC project information. Primary key constraint name

PK__SCMCHGLST__25869641

TestTrack Database Layout 139

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK EntityRID NUMERIC Yes Entity Record ID to which change list is associated

with. EntityType NUMERIC Yes Entity type to which change list is associated with. ChgLstID NUMERIC Yes This id is the Change List ID as stored in the SCM

product. Committed NUMERIC Yes Flag indicates if change list is committed. MLneName NTEXT No MainLine name. Name NTEXT No Change list name.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into. Primary key constraint name

PK__STATES__09DE7BCC

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the

following values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

140 TestTrack Database Layout

Entity: SUBTYPE Entity details: Description Contains requirement type information. Each table row represents one type value. Primary key constraint name

PK_SUBTYPE

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC Yes Table this type is linked to. Currently types are only

supported for requirements. DispOrder NUMERIC Yes Popup display item order, relative to other types in

this table. Name NVARCHAR Yes Type name StDesc NVARCHAR No Type description StIcon IMAGE No Type icon StIconNm NVARCHAR No Type icon file name StPrefix NVARCHAR No Type tag prefix StSuffix NVARCHAR No Type tag suffix SumFrmtFnt NUMERIC No Reserved for future use SumFntSz NUMERIC No Reserved for future use SumFntWt NUMERIC No Reserved for future use SumFntClr NUMERIC No Reserved for future use DtlFrmtFnt NUMERIC No Reserved for future use DtlFntSz NUMERIC No Reserved for future use DtlFntWt NUMERIC No Reserved for future use DtlFntClr NUMERIC No Reserved for future use Active NUMERIC No Flag indicating if type is active, can be selected for

new items.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field.

TestTrack Database Layout 141

FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP table.

LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

142 TestTrack Database Layout

Rules ER diagram

TestTrack Database Layout 143

Entity details

Entity: ACTNTGT Entity details: Description Contains a list of target users for automation rule actions. This table has a many-

to-one relationship with the TRGACTN table. Primary key constraint name

PK__ACTNTGT_NEW__236943A5

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ActionID NUMERIC Yes Link to a record ID in TRGACTN table Target NUMERIC No Target for automation rule action; includes the

following values: 0 (action not set) 1 (Entered by user) 2 (assigned users) 3 (Found by users) 4 (Modified by users) 5 (last user to enter event) 6 (user) 7 (security group) 8 (current user) 9 (unassigned)

TgtOpt NUMERIC No If target is a user, links to user ID in USERS table. If target is last user to enter an event, contains the event ID. If target is Found by or Modified by users, contains user; includes the following values: 0 (first user) 1 (last user) 2 (all users) Otherwise, contains 0.

Entity: EMAILTMP Entity details: Description Contains email template information. Primary key constraint name

PK__EMAILTMP_NEW__160F4887

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row EmailDesc NVARCHAR No Description of when email template is used Subject NVARCHAR No Email template subject field Template NTEXT No Email template message body Name NVARCHAR No Email template name Multiple NUMERIC No Flag indicates if multiple recipients can be specified;

if set to N, multiple emails with a single recipient will be sent

MailGroups NVARCHAR No Specifies which security groups can be sent the message, links to the USERGRP table

HTML NUMERIC No Flag indicates if the email is sent in HTML format AllowAll NUMERIC No Flag indicates that all groups can receive this email EntityType NUMERIC No Entity type the template is associated to

144 TestTrack Database Layout

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity AllowAttch NUMERIC No Flag indicates if files can be attached to the event TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes

the following values: 1 (display sum of event hours) 2 (display last event hours)

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows

toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to

complete this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs. EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the

requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

TestTrack Database Layout 145

Entity: FILTER Entity details: Description Contains filter information. Each table row represents one filter for the given entity

type. Additional information associated with a filter is found in the FILTDISP table, which has a many-to-one relationship to this table.

Primary key constraint name

PK__FILTER__0425A276

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FilterType NUMERIC Yes Filter entity type Name NVARCHAR Yes Name field FilterDesc NVARCHAR No Description field FK idOwner NUMERIC No Filter owner, links to a record ID in USERS table. AccessStat NUMERIC Yes Filter access state; includes the following values: 1

(Shared) 3 (Private)

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code

for email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

146 TestTrack Database Layout

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields

for entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values

can be modified. DefaultVal NUMERIC No Default value for this field; stored values are based

on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into. Primary key constraint name

PK__STATES__09DE7BCC

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project.

TestTrack Database Layout 147

PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the

following values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

Entity: TACTMOD Entity details: Description Contains information for the modify automation rule action. This table has a many-

to-one relationship with the TRGACTN table. Primary key constraint name

PK__TACTMOD_NEW__25518C17

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ActionID NUMERIC Yes Link to a record ID in the TRGACTN table. EntityID NUMERIC Yes Entity type. FK FieldID NUMERIC Yes Field to be modified, links to a record ID in FLDDFNTN

table. FldType NUMERIC No Field type; includes the following values: 0 (invalid field

type) 1 (text) 2 (text without replace) 3 (date) 4 (date/time) 5 (check box) 6 (pop-up menu) 7 (test case steps)

Action NUMERIC No Action to modify field; includes the following values: 0 (no action) 1 (set to value) 2 (prepend) 3 (append) 4 (replace)

ValA NTEXT No If action is set to value, contains value to set (e.g., if field is pop-up menu, contains record ID of value to set).

148 TestTrack Database Layout

ValB NTEXT No If action is replace, contains strings to replace VALA with.

Entity: TRGACTN Entity details: Description Contains user notification and automation rule action information. This table has a

many-to-one relationship with the TRIGGERS table. Primary key constraint name

PK__TRGACTN_NEW__2180FB33

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK TriggerID NUMERIC Yes Link to a record ID in TRIGGERS table. Type NUMERIC Yes Action type; includes the following values: 0 (not set) 1

(enter event) 2 (notification) 3 (modify) 4 (run executable) 5 (prevent)

OnlyIfAsgn NUMERIC No If user notification, indicates to only notify currently assigned user.

EntIfAsgnd NUMERIC No If enter event action, indicates if event is entered if the record is already assigned.

OwnChgs NUMERIC No If user notification, indicates if user receives email if they made changes to cause notification to be sent.

FK ActOptID NUMERIC Yes If enter event action, contains event ID; if prevent action, field contains message path; otherwise, field is NULL.

ActOptStr NTEXT No If run executable action, contains executable path; if prevent action, contains prevent message.

TrackEmail NUMERIC No Indicates if email is tracked for send email actions.

Entity: TRIGGERS Entity details: Description Contains automation rule information. This table has a many-to-many relationship

with the STATES and FILTERS tables. Primary key constraint name

PK__TRIGGERS_NEW__1DB06A4F

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. CreateDate DATETIME No Date/time rule was created. EntityType NUMERIC No Entity type the rule is associated with. Enabled NUMERIC No Indicates if the rule is enabled. Name NVARCHAR No FK OwnerID NUMERIC No If user notification, links to a record ID in USERS

table; if automation rule, value is 0.

TestTrack Database Layout 149

RuleType NUMERIC No Rule type; includes the following values: 0 (not set) 1 (notification) 2 (before save trigger) 3 (after save trigger) 4 (escalation)

CondType NUMERIC No Type of trigger condition; includes the following values: 0 (not set) 1 (state transition) 2 (item created) 3 (item merged) 4 (item assigned a number) 5 (item renumbered) 6 (item changed) 7 (item event changed) 8 (item assigned) 9 (test run generated)

FK TypeOpt NUMERIC No Links to a record ID in STATES table. FK FilterID NUMERIC No Links to a record ID in FILTER table; if filter not

specified, value is 0. TrigOrder NUMERIC No Order of before save trigger rules. StopIfPass NUMERIC No Stops processing of next rule if this rule passes; only

applies to before save triggers. IsPreSave NUMERIC No Indicates if rule is before save or after save triggers. ApplyOnce NUMERIC No Flag indicates to inactivate the rule after it runs once;

only applies to escalations. RunOnce NUMERIC No Flag indicates to apply the rule once per record; only

applies to escalations. RunOnImp NUMERIC No Flag indicates to run trigger when performing XML or

text import; only applies to triggers. LastEval DATETIME No Last date/time rule was evaluated; not set if the rule

is never evaluated.

Entity: TRIGLOG Entity details: Description Contains historical log information about changes to automation rules. Each table

row represents a log entry for a rule. Each table row has a record ID that matches a record ID in the TRIGGERS table.

Primary key constraint name

PK__TRIGLOG_NEW__2739D489

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK TriggerID NUMERIC Yes Links to a record ID in TRIGGERS table. EntityID NUMERIC No Entity type modified by automation rule. RuleName NVARCHAR No Rule name that caused message to be generated. MsgDate DATETIME No Date/time modification occurred. RuleType NUMERIC No Rule type; includes the following values: 0 (not set) 1

(notification) 2 (before save trigger) 3 (after save trigger) 4 (escalation)

Msg NTEXT No Message written to log.

150 TestTrack Database Layout

Entity: TRIGSCHD Entity details: Description Contains schedule information for escalation rules. Primary key constraint name

PK__TRIGSCHD_NEW__1F98B2C1

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK TriggerID NUMERIC Yes Link to a record ID in TRIGGERS table. Period NUMERIC No Evaluation frequency; includes the following values: 0

(not set) 1 (daily) 2 (weekly) 3 (monthly) 4 (manually) UseStrt NUMERIC No If evaluation is daily, indicates if hour or start time is

used. StartTime DATETIME No Evaluation start date/time. HourFreq NUMERIC No If evaluation is daily on a specific hour, contains the

hour frequency. DysOfWk VARCHAR No If evaluation is weekly, contains a comma-delimited

list of enumerated days of the week to evaluate rule. UseDyMnth NUMERIC No If evaluation is monthly, indicates day of month option

is selected. DyMnth NUMERIC No Day of month to evaluate rules on. DayOpt NUMERIC No If evaluation is monthly, day to evaluate in month;

includes the following values: 0 (not set) 1 (first) 2 (second) 3 (third) 4 (fourth) 5 (last)

DyOfWk NUMERIC No If evaluation is monthly, contains day of the week to evaluate rule.

MnthsOfYr VARCHAR No If evaluation is monthly, contains months to evaluate rule.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field.

TestTrack Database Layout 151

LoginName NVARCHAR Yes Login name field. As login name is stored as an encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

152 TestTrack Database Layout

Test Cases ER diagram

TestTrack Database Layout 153

Entity details

Entity: ATTACHINFO Entity details: Description Contains additional information on attachments to test cases and test runs. Each

table row represents one file attached to the given record. This table has one-to-one relationship with ATTACHMT table.

Primary key constraint name

PK__ATTACHINFO__4CA06362

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. AttachType NUMERIC Yes Attachment type: 0 (Regular attachment), 1 (Script, 2

(Run Result) FK AttachID NUMERIC Yes Record ID in ATTACHMT table Type NUMERIC Yes Indicates Attachment table type

(tableID_Attachments or tableID_SCCFiles) OwnerType NUMERIC Yes Entity Type to which attachment belongs to FK OwnerID NUMERIC Yes Entity RID to which attachment belongs to ScrptOrder NUMERIC No This field is valid only if attachment type is script.

Indicates order script is displayed in scripts tab and executed.

ScrptStat NVARCHAR No This field is valid only if attachment type is script. Indicates status of the script.

Entity: ATTACHMT Entity details: Description Contains file attachment information. Each table row represents one file attached

to the given record. This table has a many-to-one relationship with the REPORTBY table. Each row has a reported by record ID that matches a record ID in the REPORTBY table.

Primary key constraint name

PK__ATTACHMT__4AB81AF0

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table attachment is linked to. (Defect, Defect

event, Test case, Test case event, Test run, or Test run event)

AttType NUMERIC No File attachment type; includes the following values: 1 (Macintosh binary file) 2 (other file type)

FK EntityRID NUMERIC Yes Links to a REPORTBY table or DEFECTEVTS table record ID in case of Defects, otherwise links to Entity record ID.

154 TestTrack Database Layout

FileName NVARCHAR No Original file name, before it was attached to an entity.

MacType NUMERIC No Macintosh type (valid for Macintosh only) MacCreator NUMERIC No Macintosh creator (valid for Macintosh only) dateCreate DATETIME No File creation date dateModify DATETIME No File modification date FileSize NUMERIC No File size FK ArchvFile NVARCHAR Yes Archive file name used for storage in the database Compressed NUMERIC No Reserved for future use AttachInDB NUMERIC No Flag indicates if archive file contents are stored in

database (valid for RDBMS only) FieldID NUMERIC No Contains field id of field containing image for

WYSIWYG inline images. AttDesc NVARCHAR No Reserved for future use. ImgWidth NUMERIC No Width of original image added as inline WYSIWYG

image. ImgHeight NUMERIC No Height of original image added as inline WYSIWYG

image.

Entity: ATTARCHIVE Entity details: Description Contains file attachment archive information. Each table row represents one file

attachment. Primary key constraint name

PK__ATTARCHIVE__4E88ABD4

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ArchvFile NVARCHAR No Archive file name. FileData IMAGE No Binary attachment data

Entity: CSTTCEVTVAL Entity details: Description Contains custom field values for test case events. Each table row represents one

custom field value for a single event. This table has a many-to-one relationship with the TCEVTS and the FLDDFNTN tables. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK__CSTTCEVTVAL__05D8E0BE

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

TestTrack Database Layout 155

FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No Custom field value (comma separated record IDs for

drop-down list) FK idDefEvt NUMERIC No Links to a record ID in TCEVTS table

Entity: CUSTTCVAL Entity details: Description Contains information related to custom fields on a test case. Each table row

represents one custom field value associated with a single test case. This table has a many-to-one relationship with the TESTCASE table and FLDDFNTN table. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK__CUSTTCVAL__6D0D32F4

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC No Links to a record ID in TESTCASE table FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CvVrState NUMERIC No Type of coverage variable: 0 (Unknown) 1 (Required)

2 (Excluded) 3 (Generated) 4 (Additional) 5 (All Coverage)

CustValue NTEXT No If custom field is an edit box, this is the text the user enters; if custom field is a pop-up menu, comma separated record IDs will be set.

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity

156 TestTrack Database Layout

AllowAttch NUMERIC No Flag indicates if files can be attached to the event TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes

the following values: 1 (display sum of event hours) 2 (display last event hours)

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows

toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to

complete this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs. EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the

requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

TestTrack Database Layout 157

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code

for email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields

for entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values

can be modified.

158 TestTrack Database Layout

DefaultVal NUMERIC No Default value for this field; stored values are based on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ListName NVARCHAR No Pop-up list name.

Entity: FLDTOTP Entity details: Description Contains test object type pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDTOTP__02084FDA

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

TestTrack Database Layout 159

Entity: SCCFILE Entity details: Description Contains SCC file information. Each table row represents one SCC file that is

attached to an entity. This table has a many-to-one relationship with the corresponding entity table. Each row has an entity record ID.

Primary key constraint name

PK__SCCFILE__239E4DCF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK, FK EntityRID NUMERIC Yes Links to a record ID in corresponding entity table. EntityType NUMERIC Yes Entity type to which SCC File is linked to. FileName NVARCHAR No File name in SCC system. Version NTEXT No Version number of fix in the SCC system. dateFixed DATETIME No Date fix was made. ChgLstID NUMERIC Yes Change list record ID from the SCMCHGLST table.

Entity: SCMCHGLST Entity details: Description Contains SCC project information. Primary key constraint name

PK__SCMCHGLST__25869641

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK EntityRID NUMERIC Yes Entity Record ID to which change list is associated

with. EntityType NUMERIC Yes Entity type to which change list is associated with. ChgLstID NUMERIC Yes This id is the Change List ID as stored in the SCM

product. Committed NUMERIC Yes Flag indicates if change list is committed. MLneName NTEXT No MainLine name. Name NTEXT No Change list name.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into. Primary key constraint name

PK__STATES__09DE7BCC

160 TestTrack Database Layout

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the

following values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

Entity: TCEVTS Entity details: Description Contains event information for each event recorded with a test case. Each table

row represents a single test case event. This table has a many-to-one relationship with the TESTCASE table, the EVENTS table, the USERS table, and the STATES table.

Primary key constraint name

PK__TCEVTS_NEW__10566F31

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EvtDefID NUMERIC No Links to a record ID in EVENTS table. OrderNum NUMERIC No Identifies order the test case event was created

relative to other test case events; an internal counter for a specific test case.

FK ParentID NUMERIC Yes Links to a record ID in TESTCASE table.

TestTrack Database Layout 161

FK EvtMUParnt NUMERIC No Links to a record ID in TCEVTS table; if event is a response to a multi-user assignment, field is the record ID of the parent event; if event is not a response to a multi-user assignment, field contains the value -1.

FK idUser NUMERIC No Links to a record ID in USERS table; if user created event, it has the record ID of the user; if event was generated by TestTrack, it has a record ID of -2

dateEvent DATETIME No Test case event date. Notes NTEXT No Notes field. TimeSpent NUMERIC No If event definition for this event (EVENT table) has

the time reporting option selected, field stores the amount of time entered by the user; if event does not record time spent, this field has the value -1.

FK RsltState NUMERIC No Links to a record ID in STATES table; if event affects resulting test case state, field contains the record ID of resulting state; if event does not affect resulting state, a value of 0 is stored in field

RelVersion NVARCHAR No Notes field if event is configured to include release notes information

AsgndUsers VARCHAR No If event is an assignment event (EVENT table), field contains a list of record IDs linked to the USERS table; if event is not an assignment, field is empty

GenByType NUMERIC No Value that identifies how event was created; includes following values: 0 (created by user) 1 (created by multi-user assignment) 2 (created by auto assignment) 3 (created by auto escalation)

FK CreatorID NUMERIC No Stores record ID of who created the event in the following cases: escalation rule record ID, trigger rule record ID, and user record ID of user who performed an action generating a system comment event

DefAsgEff NUMERIC No Stores assignment of event at the time it was run (intended to preserve history if the event definition is modified); includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

OvrWF NUMERIC No Flag indicates if event is a result of a Workflow Override.

FK OvrWFUsrID NUMERIC No Links to the USERS table; if event is a result of a Workflow Override, field stores the record ID of user; otherwise, the value 0 is written to field.

SspLnkItms NUMERIC No Flag indicating if user specified to mark dependent items as suspect.

Entity: TCLOG Entity details: Description Contains historical log information about changes made to test case records. Each

row in this table represents a log entry in one of the test case records. Each table row has a test case record ID that matches a record ID in the TESTCASE table.

Primary key constraint name

PK__TCLOG__412EB0B6

162 TestTrack Database Layout

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idUser NUMERIC No User who made change, links to a record ID in

USERS table. dateLog DATETIME No Date time the change occurred. Notes NVARCHAR No Description of the change. FK ParentID NUMERIC No Links to a record ID in TESTCASE table.

Entity: TESTCASE Entity details: Description Contains test case information. Each table row represents one test case.

Additional information associated with a test case is found in the TCEVTS table. This table has a one-to-one relationship with the STATES and FLDTOTP tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTCASE__7A672E12

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test case was added to the

database. FK idCreateBy NUMERIC No User who added the test case, Links to a record ID

in USERS table. dateModify DATETIME No Date/time (in GMT) test case was last modified. FK idModifyBy NUMERIC No User who last modified the test case, Links to a

record ID in USERS table. TstCaseNum NUMERIC No Test case number, value is zero if number not

assigned. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in

FLDTOTP table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test case execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test case window) 5 (Text file import) 6 (TestTrack user duplicated a test case)

Notify NTEXT No Currently not in use. SaveGrid NUMERIC No Flag indicates to save test runs in grid mode or plain

text. Status NUMERIC No Record id of the current state for the test case. CurAsgTo NTEXT No Names of the users the test case is currently

assigned to.

TestTrack Database Layout 163

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division

164 TestTrack Database Layout

AddlInfo NTEXT No Additional info about user, reserved for future use

TestTrack Database Layout 165

Test Runs ER diagram

166 TestTrack Database Layout

TestTrack Database Layout 167

Entity details

Entity: ATTACHINFO Entity details: Description Contains additional information on attachments to test cases and test runs. Each

table row represents one file attached to the given record. This table has one-to-one relationship with ATTACHMT table.

Primary key constraint name

PK__ATTACHINFO__4CA06362

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. AttachType NUMERIC Yes Attachment type: 0 (Regular attachment), 1 (Script, 2

(Run Result) FK AttachID NUMERIC Yes Record ID in ATTACHMT table Type NUMERIC Yes Indicates Attachment table type

(tableID_Attachments or tableID_SCCFiles) OwnerType NUMERIC Yes Entity Type to which attachment belongs to FK OwnerID NUMERIC Yes Entity RID to which attachment belongs to ScrptOrder NUMERIC No This field is valid only if attachment type is script.

Indicates order script is displayed in scripts tab and executed.

ScrptStat NVARCHAR No This field is valid only if attachment type is script. Indicates status of the script.

Entity: ATTACHMT Entity details: Description Contains file attachment information. Each table row represents one file attached

to the given record. This table has a many-to-one relationship with the REPORTBY table. Each row has a reported by record ID that matches a record ID in the REPORTBY table.

Primary key constraint name

PK__ATTACHMT__4AB81AF0

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table attachment is linked to. (Defect, Defect

event, Test case, Test case event, Test run, or Test run event)

AttType NUMERIC No File attachment type; includes the following values: 1 (Macintosh binary file) 2 (other file type)

FK EntityRID NUMERIC Yes Links to a REPORTBY table or DEFECTEVTS table record ID in case of Defects, otherwise links to Entity record ID.

168 TestTrack Database Layout

FileName NVARCHAR No Original file name, before it was attached to an entity.

MacType NUMERIC No Macintosh type (valid for Macintosh only) MacCreator NUMERIC No Macintosh creator (valid for Macintosh only) dateCreate DATETIME No File creation date dateModify DATETIME No File modification date FileSize NUMERIC No File size FK ArchvFile NVARCHAR Yes Archive file name used for storage in the database Compressed NUMERIC No Reserved for future use AttachInDB NUMERIC No Flag indicates if archive file contents are stored in

database (valid for RDBMS only) FieldID NUMERIC No Contains field id of field containing image for

WYSIWYG inline images. AttDesc NVARCHAR No Reserved for future use. ImgWidth NUMERIC No Width of original image added as inline WYSIWYG

image. ImgHeight NUMERIC No Height of original image added as inline WYSIWYG

image.

Entity: ATTARCHIVE Entity details: Description Contains file attachment archive information. Each table row represents one file

attachment. Primary key constraint name

PK__ATTARCHIVE__4E88ABD4

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ArchvFile NVARCHAR No Archive file name. FileData IMAGE No Binary attachment data

Entity: CSTTREVTVAL Entity details: Description Contains custom field values for test run events. Each table row represents one

custom field value for a single event. This table has a many-to-one relationship with the TREVTS and the FLDDFNTN tables. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK__CSTTREVTVAL__07C12930

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

TestTrack Database Layout 169

FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CustValue NTEXT No Custom field value (comma separated record IDs for

drop-down list) FK idDefEvt NUMERIC No Links to a record ID in TREVTS table

Entity: CUSTTRVAL Entity details: Description Contains information related to custom fields on a test run. Each table row

represents one custom field value associated with a single test run. This table has a many-to-one relationship with the TESTRUN table and FLDDFNTN table. If the custom field is a drop-down list, comma separated record IDs of inherent field tables or user/customer tables or FLDCUSTM tables will be set depending value list type.

Primary key constraint name

PK__CUSTTRVAL__6EF57B66

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ParentID NUMERIC No Links to a record ID in TESTRUN table FK idCustRec NUMERIC No Links to a record ID in FLDDFNTN table CvVrState NUMERIC No Type of coverage variable: 0 (Unknown) 1 (Required)

2 (Excluded) 3 (Generated) 4 (Additional) 5 (All Coverage)

CustValue NTEXT No If custom field is an edit box, this is the text the user enters; if custom field is a pop-up menu, comma separated record IDs will be set.

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity

170 TestTrack Database Layout

AllowAttch NUMERIC No Flag indicates if files can be attached to the event TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes

the following values: 1 (display sum of event hours) 2 (display last event hours)

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows

toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to

complete this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs. EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the

requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

TestTrack Database Layout 171

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code

for email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields

for entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values

can be modified.

172 TestTrack Database Layout

DefaultVal NUMERIC No Default value for this field; stored values are based on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ListName NVARCHAR No Pop-up list name.

Entity: FLDTOTP Entity details: Description Contains test object type pop-up menu values. Each row in this table represents

one pop-up menu item. Primary key constraint name

PK__FLDTOTP__02084FDA

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

TestTrack Database Layout 173

Entity: FLDTRSET Entity details: Description Contains test run set pop-up menu values. Each row in this table represents one

pop-up menu item. Primary key constraint name

PK__FLDTRSET__03F0984C

Attributes: Key Attribute name Data type Not null Description PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. FieldOrder NUMERIC No Popup item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: SCCFILE Entity details: Description Contains SCC file information. Each table row represents one SCC file that is

attached to an entity. This table has a many-to-one relationship with the corresponding entity table. Each row has an entity record ID.

Primary key constraint name

PK__SCCFILE__239E4DCF

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. PK, FK EntityRID NUMERIC Yes Links to a record ID in corresponding entity table. EntityType NUMERIC Yes Entity type to which SCC File is linked to. FileName NVARCHAR No File name in SCC system. Version NTEXT No Version number of fix in the SCC system. dateFixed DATETIME No Date fix was made. ChgLstID NUMERIC Yes Change list record ID from the SCMCHGLST table.

Entity: SCMCHGLST Entity details: Description Contains SCC project information. Primary key constraint name

PK__SCMCHGLST__25869641

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row FK EntityRID NUMERIC Yes Entity Record ID to which change list is associated

with.

174 TestTrack Database Layout

EntityType NUMERIC Yes Entity type to which change list is associated with. ChgLstID NUMERIC Yes This id is the Change List ID as stored in the SCM

product. Committed NUMERIC Yes Flag indicates if change list is committed. MLneName NTEXT No MainLine name. Name NTEXT No Change list name.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into. Primary key constraint name

PK__STATES__09DE7BCC

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the

following values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

Entity: TESTCASE Entity details: Description Contains test case information. Each table row represents one test case.

Additional information associated with a test case is found in the TCEVTS table. This table has a one-to-one relationship with the STATES and FLDTOTP tables. This table has a many-to-many relationship with the USERS table.

TestTrack Database Layout 175

Primary key constraint name

PK__TESTCASE__7A672E12

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test case was added to the

database. FK idCreateBy NUMERIC No User who added the test case, Links to a record ID

in USERS table. dateModify DATETIME No Date/time (in GMT) test case was last modified. FK idModifyBy NUMERIC No User who last modified the test case, Links to a

record ID in USERS table. TstCaseNum NUMERIC No Test case number, value is zero if number not

assigned. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in

FLDTOTP table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test case execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test case window) 5 (Text file import) 6 (TestTrack user duplicated a test case)

Notify NTEXT No Currently not in use. SaveGrid NUMERIC No Flag indicates to save test runs in grid mode or plain

text. Status NUMERIC No Record id of the current state for the test case. CurAsgTo NTEXT No Names of the users the test case is currently

assigned to.

Entity: TESTRUN Entity details: Description Contains test run information. Each table row represents one test run. Additional

information associated with a test run is found in the TREVTS table. This table has a one-to-one relationship with the STATES, FLDTOTP and FLDTRSET tables. This table has a many-to-many relationship with the USERS table.

Primary key constraint name

PK__TESTRUN__7C4F7684

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. dateCreate DATETIME No Date/time (in GMT) test run was added to the

database.

176 TestTrack Database Layout

FK idCreateBy NUMERIC No User who added the test run, Links to a record ID in USERS table.

dateModify DATETIME No Date/time (in GMT) test run was last modified. FK idModifyBy NUMERIC No User who last modified the test run, Links to a record

ID in USERS table. FK TstCaseRID NUMERIC No Test case record ID. Summary NVARCHAR No Summary field. FK idType NUMERIC No Test object type field, links to a record ID in

FLDTOTP table. isAutoTest NUMERIC No Flag indicates if this is automated test. EstTime NUMERIC No Estimated time of this test run execution. Steps NTEXT No Test case steps. AddedFrom NUMERIC No Method used to add test case; includes the following

values: 0 (unknown) 1 (Add test run window) 5 (Text file import) 6 (TestTrack user duplicated a test run)

TstRunNum NUMERIC No Test run number (Auto generated). FK idTRSet NUMERIC No Test run set field, links to a record ID in FLDTRSET

table. Notify NTEXT No Currently not in use. ViewGrid NUMERIC No Flag indicates to view test runs in grid mode or plain

text. PrbState NTEXT No Problem statement for this test run, if any. Status NUMERIC No Record id of the current state for the test run. CurAsgTo NTEXT No Names of the users the test run is currently assigned

to.

Entity: TREVTS Entity details: Description Contains event information for each event recorded with a test run. Each table row

represents a single test run event. This table has a many-to-one relationship with the TESTRUN table, the EVENTS table, the USERS table, and the STATES table.

Primary key constraint name

PK__TREVTS_NEW__123EB7A3

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK EvtDefID NUMERIC No Links to a record ID in EVENTS table. OrderNum NUMERIC No Identifies order the test run event was created

relative to other test run events; an internal counter for a specific test run.

FK ParentID NUMERIC Yes Links to a record ID in TESTRUN table. FK EvtMUParnt NUMERIC No Links to a record ID in TREVTS table; if event is a

response to a multi-user assignment, field is the record ID of the parent event; if event is not a response to a multi-user assignment, field contains the value -1.

TestTrack Database Layout 177

FK idUser NUMERIC No Links to a record ID in USERS table; if user created event, it has the record ID of the user; if event was generated by TestTrack, it has a record ID of -2.

dateEvent DATETIME No Test run event date. Notes NTEXT No Notes field. TimeSpent NUMERIC No If event definition for this event (EVENT table) has

the time reporting option selected, field stores the amount of time entered by the user; if event does not record time spent, this field has the value -1.

FK RsltState NUMERIC No Links to a record ID in STATES table; if event affects resulting test run state, field contains the record ID of resulting state; if event does not affect resulting state, a value of 0 is stored in field.

RelVersion NVARCHAR No Notes field if event is configured to include release notes information.

AsgndUsers VARCHAR No If event is an assignment event (EVENT table), field contains a list of record IDs linked to the USERS table; if event is not an assignment, field is empty.

GenByType NUMERIC No Value that identifies how event was created; includes following values: 0 (created by user) 1 (created by multi-user assignment) 2 (created by auto assignment) 3 (created by auto escalation)

FK CreatorID NUMERIC No Stores record ID of who created the event in the following cases: escalation rule record ID, trigger rule record ID, and user record ID of user who performed an action generating a system comment event

DefAsgEff NUMERIC No Stores assignment of event at the time it was run (intended to preserve history if the event definition is modified); includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

OvrWF NUMERIC No Flag indicates if event is a result of a Workflow Override.

FK OvrWFUsrID NUMERIC No Links to the USERS table; if event is a result of a Workflow Override, field stores the record ID of user; otherwise, the value 0 is written to field.

SspLnkItms NUMERIC No Flag indicating if user specified to mark dependent items as suspect.

Entity: TRLOG Entity details: Description Contains historical log information about changes made to test run records. Each

row in this table represents a log entry in one of the test run records. Each table row has a test run record ID that matches a record ID in the TESTRUN table.

Primary key constraint name

PK__TRLOG__4316F928

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row

178 TestTrack Database Layout

FK idUser NUMERIC No User who made change, links to a record ID in USERS table.

dateLog DATETIME No Date time the change occurred. Notes NVARCHAR No Description of the change. FK ParentID NUMERIC No Links to a record ID in TESTRUN table.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field.

TestTrack Database Layout 179

AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

180 TestTrack Database Layout

Users ER diagram

TestTrack Database Layout 181

182 TestTrack Database Layout

Entity details

Entity: SUBCMDSC Entity details: Description Contains user group subtype command security settings. Primary key constraint name

PK_SUBCMDSC

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK SecGrpID NUMERIC Yes Links to idRecord in USERGRP table. FK SubtypeID NUMERIC Yes Links to idRecord in SUBTYPE table. EntityType NUMERIC Yes Table ID for item type. Currently only requirements are

supported. CommDenied VARCHAR No Command security options.

Entity: SUBFLDSC Entity details: Description Contains user group subtype field level security settings. Primary key constraint name

PK_SUBFLDSC

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK SecGrpID NUMERIC Yes Links to idRecord in USERGRP table. FK SubtypeID NUMERIC Yes Links to idRecord in SUBTYPE table. EntityType NUMERIC Yes Table ID for item type. Currently only requirements are

supported. FieldSec NTEXT No Field level security options

Entity: SUBTYPE Entity details: Description Contains requirement type information. Each table row represents one type value. Primary key constraint name

PK_SUBTYPE

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

TestTrack Database Layout 183

EntityType NUMERIC Yes Table this type is linked to. Currently types are only supported for requirements.

DispOrder NUMERIC Yes Popup display item order, relative to other types in this table.

Name NVARCHAR Yes Type name StDesc NVARCHAR No Type description StIcon IMAGE No Type icon StIconNm NVARCHAR No Type icon file name StPrefix NVARCHAR No Type tag prefix StSuffix NVARCHAR No Type tag suffix SumFrmtFnt NUMERIC No Reserved for future use SumFntSz NUMERIC No Reserved for future use SumFntWt NUMERIC No Reserved for future use SumFntClr NUMERIC No Reserved for future use DtlFrmtFnt NUMERIC No Reserved for future use DtlFntSz NUMERIC No Reserved for future use DtlFntWt NUMERIC No Reserved for future use DtlFntClr NUMERIC No Reserved for future use Active NUMERIC No Flag indicating if type is active, can be selected for

new items.

Entity: SYSCONF Entity details: Description Contains test configuration information. Each table row represents one system test

configuration. Primary key constraint name

PK__SYSCONF__023D5A04

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. ConfType NUMERIC No System configuration type; includes the following

values: 1 (User’s Test Configuration) 2 (Standard Test Configuration)

SysName NVARCHAR No Name field. Location NVARCHAR No Reserved for future use. CompModel NVARCHAR No Computer model field. CompBrand NVARCHAR No Computer brand field. CPUType NVARCHAR No CPU type field. CPUSpeed NVARCHAR No CPU speed field (value specified in MHz). HDiskTypt NVARCHAR No Hard disk type field. HDiskSize NVARCHAR No Hard disk size field (value specified in MB). RAMSize NVARCHAR No RAM field (value specified in MB) ROMSize NVARCHAR No ROM field (value specified in MB). OSName NVARCHAR No Operating system field.

184 TestTrack Database Layout

OSVersion NVARCHAR No Operating system version field. VideoName NVARCHAR No Video controller field. HasMultMon NUMERIC No Has multiple monitors field. HasCDROM NUMERIC No Has CD-ROM field CDROMModel NVARCHAR No CD-ROM model field. HasScanr NUMERIC No Has scanner field. ScanrModel NVARCHAR No Scanner model field. HasModem NUMERIC No Has modem field. ModemModel NVARCHAR No Modem model field. HasPrint NUMERIC No Has printer field PrintModel NVARCHAR No Printer model field OtherHW NVARCHAR No Other hardware and software field.

Entity: USERGRP Entity details: Description Contains user group information. Each table row represents one user group. Primary key constraint name

PK__USERGRP_NEW__1BC821DD

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Name NVARCHAR No Name field GroupDesc NVARCHAR No Description field. Notes NTEXT No Notes field. InUserPopup NUMERIC No Include users in pop-up menus field. InCstPopup NUMERIC No Include customers in pop-up menus field. FK idDefFilt NUMERIC No Defect security option of "Users can only see and

work with defects that pass this filter"; links to a record ID in FILTERS table.

FK idTCFilt NUMERIC No Test case security option of "Users can only see and work with test cases that pass this filter"; links to a record ID in FILTERS table.

FK idTRFilt NUMERIC No Test run security option of "Users can only see and workwith test runs that pass this filter"; links to a record ID in FILTERS table

FK idReqFilt NUMERIC No Requirement security option of "Users can only see and workwith requirements that pass this filter"; links to a record ID in FILTERS table

FK idDocFilt NUMERIC No Requirement document security option of "Users can only see and workwith requirement documents that pass this filter"; links to a record ID in FILTERS table

OnlyMyDef NUMERIC No Defect security option of "Users can only see and work with the defects they reported".

OnlyMyTC NUMERIC No Test case security option of "Users can only see and work with the test cases they reported".

TestTrack Database Layout 185

OnlyMyTR NUMERIC No Test run security option of "Users can only see and work with the test runs they reported".

OnlyMyReq NUMERIC No Requirement security option of "Users can only see and work with the requirements they reported".

OnlyMyDoc NUMERIC No Requirement document security option of "Users can only see and work with the requirement documents they reported".

CommDenied VARCHAR No Command security options. FieldSec NTEXT No Field level security options EvtDenied VARCHAR No Serialized list of record IDs linked to EVENTS table;

contains record IDs of events that security group members cannot perform.

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. Active NUMERIC Yes Flag indicates if a user is active; if false, user is

inactive. FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers)

186 TestTrack Database Layout

FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s system configuration information is stored.

EMailType NUMERIC No Email type field; includes the following values: 1 (Internet) 2 (MAPI) 3 (Other)

IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is a user, if true, this is a customer.

IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

Entity: USERSET Entity details: Description Contains user settings information. Each user has a set of user settings (also

referred to as user options). The record ID has a one-to-one relationship with the USERS table.

Primary key constraint name

PK__USERSET_NEW__3D2915A8

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. NotfSound NUMERIC No Play a sound option for assignment notification. NotfDialog NUMERIC No Display a dialog box option for assignment

notification. DblClkEdit NUMERIC No Double-click on items field. NameOrder NUMERIC No Display names as option; includes the following

values: 0 (First Last) 1 (Last First) RecPerPage NUMERIC No Web option to limit number of defects displayed per

page on the Work With Defects window. AsgnInStat NUMERIC No Status display option, determines if assignment

information is displayed in the status field. GrayClsDef NUMERIC No Grey out closed defects field. WarnFldRel NUMERIC No User option to display warning when field

relationship information may be impacted AftDefAdd NUMERIC No Action performed after adding a defect; includes the

following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add Defect window)

SCCIUname NVARCHAR No Username for the SCC integration; this username is for this TestTrack user.

SCCIPwd NVARCHAR No Password for the SCC integration; this password is for this TestTrack user.

ProjName NVARCHAR No Project name for SCC integration.

TestTrack Database Layout 187

DBPath NVARCHAR No SCC integration connection information. WebTzOpt NUMERIC No Determines time zone to use for web interface;

includes the following values: are GMT, server’s time zone, or specified time zone (see the WebTzOff field).

WebTzOff NUMERIC No Specified time zone for web interface. DefLayout NUMERIC No Indicates defect view window layout, vertical tab

view or single page view. AftTCAdd NUMERIC No Action performed after adding a test case; includes

the following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add test case window)

GrayClosTC NUMERIC No Dim, or gray out, closed test cases field. GrayCompTR NUMERIC No Dim, or gray out, completed test runs field. HdDfOvVwTb NUMERIC No Indicates if defect Overview tab is displayed or

hidden. HdTCOvVwTb NUMERIC No Indicates if test case Overview tab is displayed or

hidden. HdTROvVwTb NUMERIC No Indicates if test run Overview tab is displayed or

hidden. AlwsTbBr NUMERIC No Indicates if tab bar is displayed or hidden. HghltColor NVARCHAR No Highlight color code for type ahead searching. HghltBold NUMERIC No Indicates if type ahead search text results are bold HghltUnder NUMERIC No Indicates if type ahead search results are

underlined. HghlItalic NUMERIC No Indicates if type ahead search results are italicized. DrDnColor NVARCHAR No Color code for column filters in list windows. OpnSpcDc NUMERIC No Open requirement document in specification window

field. ReqEvtInLn NUMERIC No AftRqAdd NUMERIC No Action performed after adding a requirement;

includes the following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add Requirement window)

AftDocAdd NUMERIC No Action performed after adding a requirement document; includes the following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add Requirement Document window)

GrayClosRq NUMERIC No Dim, or gray out, closed requirements field. GrayClosDc NUMERIC No Dim, or gray out, closed requirement documents

field. HdRqOvVwTb NUMERIC No Indicates if defect Overview tab is displayed or

hidden on Requirements detail window. HdDcOvVwTb NUMERIC No Indicates if defect Overview tab is displayed or

hidden on Requirement Documents detail window. AddColor NVARCHAR No Added requirement text color for differences window. AddBold NUMERIC No Added requirements text displays in bold for

differences window. AddUnder NUMERIC No Added requirements text displays underlined for

differences window.

188 TestTrack Database Layout

AddItalic NUMERIC No Added requirements text displays in italic for differences window.

AddStrike NUMERIC No Added requirements text displays in strikeout for differences window.

RemvColor NVARCHAR No Removed requirement text color for differences window.

RemvBold NUMERIC No Removed requirements text displays in bold for differences window.

RemvUnder NUMERIC No Removed requirements text displays underlined for differences window.

RemvItalic NUMERIC No Removed requirements text displays in italic for differences window.

RemvStrike NUMERIC No Removed requirements text displays in strikeout for differences window.

TestTrack Database Layout 189

Views ER diagram

190 TestTrack Database Layout

Entity details

Entity: FILTER Entity details: Description Contains filter information. Each table row represents one filter for the given entity

type. Additional information associated with a filter is found in the FILTDISP table, which has a many-to-one relationship to this table.

Primary key constraint name

PK__FILTER__0425A276

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FilterType NUMERIC Yes Filter entity type Name NVARCHAR Yes Name field FilterDesc NVARCHAR No Description field FK idOwner NUMERIC No Filter owner, links to a record ID in USERS table. AccessStat NUMERIC Yes Filter access state; includes the following values: 1

(Shared) 3 (Private)

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code

for email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

TestTrack Database Layout 191

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or customers) 4 (Multi-select field)

AttFlag NUMERIC No Bit flag indicates which text import/export options are available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields

for entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values

can be modified. DefaultVal NUMERIC No Default value for this field; stored values are based

on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: LISTWND Entity details: Description Contains list window information. Primary key constraint name

PK__LISTWND_NEW__2EDAF651

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project.

192 TestTrack Database Layout

PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK UserID NUMERIC No Link to a record ID in USERS table. EntityType NUMERIC No Entity type of the list window. Width NUMERIC No List window width in pixels. Height NUMERIC No List window height in pixels. XPos NUMERIC No X position of the list window in the MDI client area. YPos NUMERIC No Y position of the list window in the MDI client area. IsOpen NUMERIC No Indicates if window was open when client was closed. ZOrder NUMERIC No Z order of the window. ClientW NUMERIC No Width of the MDI client area the window was displayed

in (for applying width correction) ClientH NUMERIC No Height of the MDI client area the window was

displayed in (for applying height correction)

Entity: LISTWNDTAB Entity details: Description Contains list window tab information. Each table row represents one tab. This table

has a many-to-one relationship with the LISTWND table. Primary key constraint name

PK__LISTWNDTAB_NEW__30C33EC3

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ListWndID NUMERIC No Link to a record ID in LISTWND table. Name NVARCHAR No Tab name. PriSort NUMERIC No Primary sort field ID. SecSort NUMERIC No Secondary sort field ID. PriSrtOrdr NUMERIC No Primary sort column order. SecSrtOrdr NUMERIC No Secondary sort column order. FK FilterID NUMERIC No Selected filter ID. QuickLinks NUMERIC No Indicates if TestTrack Web quick link icons are

displayed. Events NVARCHAR No List of selected TestTrack Web event quick link

icons. TabOrder NUMERIC No Tab order, relative to other tabs. Active NUMERIC No Indicates if the tab is selected.

Entity: TABFILTER Entity details: Description Stores the temporary filters settings that are applied to any given tab when the

user logs out. Primary key constraint name

PK_TABFILTER

TestTrack Database Layout 193

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK TabID NUMERIC No Record ID that uniquely identifies the list window tab

this filter was assigned to. EntityType NUMERIC No Entity type the filter is associated with. Name NVARCHAR No Name field FilterType NUMERIC No Filter type: 0 - Normal, 1 - Find, 2 - Drilldown UserID NUMERIC No

Entity: TABFLTRDSP Entity details: Description Store the restrictions used by the temporary filters that are applied to any given

tab when the user logs out. Primary key constraint name

PK_TABFLTRDSP

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK TabFltrID NUMERIC No Identifies parent TABFILTER record. LineOrder NUMERIC No Restriction item order, relative to other items. NotFlag NUMERIC No Indicates if Not flag is set. OpenParen NUMERIC No Number of open parentheses that appear before

restriction item. CloseParen NUMERIC No Number of open parentheses that appear after

restriction item. RstnType NUMERIC No Operator applied to the next restriction item; includes

the following values: 0 (none) 2 (AND operator) 3 (OR operator)

Restrictn NTEXT No Filter restriction information; field can use information from a filter restriction definition and code them into a string value stored in this field

Entity: USERS Entity details: Description Contains user and customer information. Each table row represents either one

user or one customer. Primary key constraint name

PK__USERS__07F6335A

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

194 TestTrack Database Layout

Active NUMERIC Yes Flag indicates if a user is active; if false, user is inactive.

FirstName NVARCHAR No First name field. FK idUsrGroup NUMERIC No User group field, links to a record ID in USERGRP

table. LastName NVARCHAR No Last name field. LoginName NVARCHAR Yes Login name field. As login name is stored as an

encrypted string and for local users an empty string of 32 characters is encrypted therefore this field will not be null.

dateLogout DATETIME No Date/time (in GMT) that user last logged out of TestTrack.

Notes NTEXT No Notes field. PhoneType1 NUMERIC No First phone number type field; includes the following

values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum1 NVARCHAR No First phone number field. PhoneType2 NUMERIC No Second phone number type field; includes the

following values: 1 (Work) 2 (Fax) 3 (Home) 4 (Pager) 5 (Mobile)

PhoneNum2 NVARCHAR No Second phone number field. BetaSite NUMERIC No Beta test site field (used only for customers) Company NVARCHAR No Company field (used only for customers) Address NVARCHAR No Address field (used only for customers) FK idTestConf NUMERIC No Links to a record ID in SYSCONF table where user’s

system configuration information is stored. EMailType NUMERIC No Email type field; includes the following values: 1

(Internet) 2 (MAPI) 3 (Other) IsCustomer NUMERIC No Flag indicates if a user is a customer; if false, this is

a user, if true, this is a customer. IsGlobal NUMERIC No Flag indicates if user is a global user. EMailAddr NVARCHAR No Email address field. AllowSSO NUMERIC No Flag indicates single sign-on support. Initials NVARCHAR No Middle initials. Division NVARCHAR No User's division within company Department NVARCHAR No User's department within division AddlInfo NTEXT No Additional info about user, reserved for future use

Entity: USERSET Entity details: Description Contains user settings information. Each user has a set of user settings (also

referred to as user options). The record ID has a one-to-one relationship with the USERS table.

Primary key constraint name

PK__USERSET_NEW__3D2915A8

Attributes: Key Attribute name Data type Not null Description

TestTrack Database Layout 195

PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK, FK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. NotfSound NUMERIC No Play a sound option for assignment notification. NotfDialog NUMERIC No Display a dialog box option for assignment

notification. DblClkEdit NUMERIC No Double-click on items field. NameOrder NUMERIC No Display names as option; includes the following

values: 0 (First Last) 1 (Last First) RecPerPage NUMERIC No Web option to limit number of defects displayed per

page on the Work With Defects window. AsgnInStat NUMERIC No Status display option, determines if assignment

information is displayed in the status field. GrayClsDef NUMERIC No Grey out closed defects field. WarnFldRel NUMERIC No User option to display warning when field

relationship information may be impacted AftDefAdd NUMERIC No Action performed after adding a defect; includes the

following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add Defect window)

SCCIUname NVARCHAR No Username for the SCC integration; this username is for this TestTrack user.

SCCIPwd NVARCHAR No Password for the SCC integration; this password is for this TestTrack user.

ProjName NVARCHAR No Project name for SCC integration. DBPath NVARCHAR No SCC integration connection information. WebTzOpt NUMERIC No Determines time zone to use for web interface;

includes the following values: are GMT, server’s time zone, or specified time zone (see the WebTzOff field).

WebTzOff NUMERIC No Specified time zone for web interface. DefLayout NUMERIC No Indicates defect view window layout, vertical tab

view or single page view. AftTCAdd NUMERIC No Action performed after adding a test case; includes

the following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add test case window)

GrayClosTC NUMERIC No Dim, or gray out, closed test cases field. GrayCompTR NUMERIC No Dim, or gray out, completed test runs field. HdDfOvVwTb NUMERIC No Indicates if defect Overview tab is displayed or

hidden. HdTCOvVwTb NUMERIC No Indicates if test case Overview tab is displayed or

hidden. HdTROvVwTb NUMERIC No Indicates if test run Overview tab is displayed or

hidden. AlwsTbBr NUMERIC No Indicates if tab bar is displayed or hidden. HghltColor NVARCHAR No Highlight color code for type ahead searching. HghltBold NUMERIC No Indicates if type ahead search text results are bold HghltUnder NUMERIC No Indicates if type ahead search results are

underlined. HghlItalic NUMERIC No Indicates if type ahead search results are italicized.

196 TestTrack Database Layout

DrDnColor NVARCHAR No Color code for column filters in list windows. OpnSpcDc NUMERIC No Open requirement document in specification window

field. ReqEvtInLn NUMERIC No AftRqAdd NUMERIC No Action performed after adding a requirement;

includes the following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add Requirement window)

AftDocAdd NUMERIC No Action performed after adding a requirement document; includes the following values: 0 (Set all fields to their default values) 1 (Retain pop-up menu values) 2 (Close the Add Requirement Document window)

GrayClosRq NUMERIC No Dim, or gray out, closed requirements field. GrayClosDc NUMERIC No Dim, or gray out, closed requirement documents

field. HdRqOvVwTb NUMERIC No Indicates if defect Overview tab is displayed or

hidden on Requirements detail window. HdDcOvVwTb NUMERIC No Indicates if defect Overview tab is displayed or

hidden on Requirement Documents detail window. AddColor NVARCHAR No Added requirement text color for differences window. AddBold NUMERIC No Added requirements text displays in bold for

differences window. AddUnder NUMERIC No Added requirements text displays underlined for

differences window. AddItalic NUMERIC No Added requirements text displays in italic for

differences window. AddStrike NUMERIC No Added requirements text displays in strikeout for

differences window. RemvColor NVARCHAR No Removed requirement text color for differences

window. RemvBold NUMERIC No Removed requirements text displays in bold for

differences window. RemvUnder NUMERIC No Removed requirements text displays underlined for

differences window. RemvItalic NUMERIC No Removed requirements text displays in italic for

differences window. RemvStrike NUMERIC No Removed requirements text displays in strikeout for

differences window.

Entity: VIEWCOLINFO Entity details: Description Contains user-defined view column information. Each table row represents one

column in a view. This table has a many-to-one relationship with the VIEWINFO table.

Primary key constraint name

PK__VIEWCOLINFO_NEW__3493CFA7

Attributes: Key Attribute name Data type Not null Description

TestTrack Database Layout 197

PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK ViewID NUMERIC No Link to a record ID in VIEWINFO table. ViewType NUMERIC No View type; includes the following values: 0 (list window

tab) 1 (user-definedview) EntityType NUMERIC No Entity type the view is associated with. FK FieldID NUMERIC No Field displayed in column, links to a record in

FLDDFNTN table. ColOrder NUMERIC No Order of column, relative to other columns. Width NUMERIC No Column width.

Entity: VIEWINFO Entity details: Description Contains user-defined view information. Each table row represents one view. This

table has a one-tomany relationship with the VIEWCOLINFO table. Primary key constraint name

PK__VIEWINFO_NEW__32AB8735

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK UserID NUMERIC No Link to a record in USERS table. EntityType NUMERIC No Entity type the view is associated with. Name NVARCHAR No View name. PriSort NUMERIC No Primary sort field ID. SecSort NUMERIC No Secondary sort field ID. PriSrtOrdr NUMERIC No Primary sort column order. SecSrtOrdr NUMERIC No Secondary sort column order. FK FilterID NUMERIC No Selected filter ID. QuickLinks NUMERIC No Indicates if TestTrack Web quick link icons are

displayed. Events NVARCHAR No List of selected TestTrack Web event quick link

icons.

198 TestTrack Database Layout

Workflow ER diagram

TestTrack Database Layout 199

Entity details

Entity: EVENTS Entity details: Description Contains event definition information. Each table row represents one event

definition. This table has a many-to-one relationship with the FLDDFNTN table. Primary key constraint name

PK__EVENTS__0EA330E9

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Entity type to which event is linked to Name NVARCHAR No Event name EventDesc NVARCHAR No Event description Active NUMERIC No Flat indicates if the event is active in the workflow EventOrder NUMERIC No Identifies order events are displayed on workflow

configuration screens Inform NUMERIC No Flag indicates if event is informational only or affects

current state of the entity AllowAttch NUMERIC No Flag indicates if files can be attached to the event TimeTrk NUMERIC No Flag indicates if time tracking is enabled for the event TimeTrkOpt NUMERIC No Value indicates how time tracking operates; includes

the following values: 1 (display sum of event hours) 2 (display last event hours)

AssignEff NUMERIC No Stores assignment value of event; includes the following values: 1 (event results in new assignment) 2 (event has no effect on assignment) 3 (event clears assignment)

RsltStates NVARCHAR No Specifies valid states for event, links to STATES table QkLinkIcon NVARCHAR No Specifies file name used as a graphic on the TestTrack

Web list window for creating this type of event EventIcon IMAGE No Binary data for the toolbar icon displayed on the

TestTrack Windows client IncEvtIcon NUMERIC No Flag indicates if icon be displayed on the Windows

toolbar EvtIconNm NVARCHAR No Name of file used for event icon EvtIncRel NUMERIC No Flag indicates if event notes should be included with

release notes AllowMUAs NUMERIC No Flag indicates if multiple user assignment is allowed ReqESigs NUMERIC No Flag indicates electronic signature is required to

complete this event HideDlg NUMERIC No Flag indicates to hide dialog if there are no fields to be

shown. Currently it is implemented only for test runs. EvVsRwMod NUMERIC No Flag indicates if event notes should be included with the

requirement document review mode; applies to requirements only.

DnLnkSusp NUMERIC No Flag indicates if the event should include the "Mark dependent items as suspect" option.

200 TestTrack Database Layout

Entity: FLDCUSTM Entity details: Description Contains the custom field pop-up menu values. Each row in this table represents

one pop-up menu item. This table has a many-to-one relationship with the FLDPULIST table. Each row in this table has a Pop-up list record ID that matches a record ID in the FLDPULIST table.

Primary key constraint name

PK__FLDCUSTM__6383C8BA

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. FK idPUList NUMERIC Yes Links to a record ID in FLDPULIST table. FieldOrder NUMERIC No Item order, relative to other items. Descriptor NVARCHAR No Text displayed for pop-up menu item.

Entity: FLDDFNTN Entity details: Description Contains definitions for fields of all entity type and event fields. Each table row

represents a single field. Custom pop-up fields, for both entity and entity events, have many-to-one relationship with the FLDPULIST table that links to pop-up menu items in FLDCUSTM table.

Primary key constraint name

PK__FLDDFNTN_NEW__19DFD96B

Attributes: Key Attribute name Data type Not null Description PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No Table this field is linked to. FieldID NUMERIC No Position NUMERIC No For custom fields, order field displays on the custom

field tab; for inherent fields, value is -1. FieldCode NVARCHAR No Character string used as a replacement field code

for email templates. FieldType NUMERIC No Stores value that describes field type; includes the

following values: 1 (pop-up menu), 2 (string) 3 (Boolean) 4 (date) 5 (version field) 6 (Component) 7 (Disposition)

FieldOpts NUMERIC No Stores value that describes data allowed for this field; includes the following values: 0 (no option specified) 1 (integer values) 2 (floating point values) 3 (include time - only for date fields) 5 (memo field) 6 (Hyperlink)

FldFlgOpts NUMERIC No Stores field flag options; includes the following values: 0 (no option specified) 1 (Include Global users or customers) 2 (Include Local users or

TestTrack Database Layout 201

customers) 4 (Multi-select field) AttFlag NUMERIC No Bit flag indicates which text import/export options are

available; the following options can be combined with an OR operator: 0x0001 (field can be imported via text import) 0x0002 (field can be exported via text export) 0x0004 (field defaults to checked on text export dialog) 0x0008 (field defaults to checked on text import dialog)

ShortName NVARCHAR No Field name as displayed with entity or event dialog. LongName NVARCHAR No Field name as displayed in list windows, filters, and

reports. WebCode NVARCHAR No Character string used to parse data read-in from

TestTrack Web; data cannot be modified. MaxSize NUMERIC No Maximum field length, only applies to custom fields

for entity and entity events; all other fields have value of -1.

NumRows NUMERIC No Number of rows for multi-line text fields; minimum value is 2, maximum is 10.

Active NUMERIC No Flag indicates if the field is being used. EdtReqDflt NUMERIC No Flag indicates if required fields and default values

can be modified. DefaultVal NUMERIC No Default value for this field; stored values are based

on field type; for string fields, the only value allowed is -4 (blank record ID); for pop-up menus, the allowed values are:0 (not set record ID) and any valid record ID in corresponding table; for user fields, allowed values are: -2 (current user), 0 (not set record ID); for date fields, allowed values are: 0 (not set record ID), 1 (current date).

AllowDeflt NUMERIC No Flag indicates if the default can be set. Required NUMERIC No Flag indicates if the field is required. FK EntityRID NUMERIC No Links to record ID of event definition (EVENTS) if

definition is for an event field; for entity fields, value is 0.

FK idPUList NUMERIC No This is applicable only for pop-up menu items; indicates TableID for inherent fields, Record ID in FLDPULIST for custom pop-up menu items; All other fields have value of 0.

DefaultStr NTEXT No Reserved for future use.

Entity: FLDPULIST Entity details: Description Contains pop-up list names. FLDDFNTN table maps to FLDPULIST record ID for

each pop-up menu item. List of actual values for each PU List is stored in FLDCUSTM table.

Primary key constraint name

PK__FLDPULIST__00200768

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row.

202 TestTrack Database Layout

ListName NVARCHAR No Pop-up list name.

Entity: STATES Entity details: Description Contains information about states that an entity can transition into. Primary key constraint name

PK__STATES__09DE7BCC

Attributes: Key Attribute name Data type Not null Description PK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row. EntityType NUMERIC No The table state is linked to. Name NVARCHAR No State name. StateDesc NVARCHAR No State description. Active NUMERIC No Flag indicates if the state is active in the workflow. StateOrder NUMERIC No Identifies the order the state displays on the workflow

configuration screens. Attrib NUMERIC No Indicates if state is open or closed; includes the

following values: 1 (open) 2 (closed) OnlyAssign NUMERIC No Flag indicates if only assigned users can enter event MultiRule NUMERIC No For states which are multi-user assignments, rule

determines when state is completed and the corresponding entity moves to new state; includes the following values: 1 (use the first response) 2 (wait for all responses - use highest priority response) 3 (wait for highest priority response)

CnGenTstRs NUMERIC No Flag indicates if this state can generate test runs; applies to test cases only.

ComplStat NUMERIC No Indicates test run result, passed/failed/other; applies to test runs only.

Locked NUMERIC No Flag which indicates that the requirement or requirement document is locked when in this state.

CnGenTstCs NUMERIC No Flag indicates if this state can generate test cases; applies to requirements only.

Entity: TRANSITION Entity details: Description Contains information describing which events can be entered for corresponding

entities which are in a given state. If the state is a result of a multi-user assignment, also contained within the table is the priority of the resulting states. This table has a one-to-many relationship with the EVENTS table and the STATES table.

Primary key constraint name

PK__TRANSITION__5070F446

Attributes: Key Attribute name Data type Not null Description

TestTrack Database Layout 203

PK, FK ProjectID NUMERIC Yes TestTrack project ID, identifies row’s parent project. PK idRecord NUMERIC Yes Record ID that uniquely identifies a table row EntityType NUMERIC No Table state is linked to. FK StateRecID NUMERIC No Transition rule that apply to the entity in state

referenced by this record ID; links to a record ID in STATES table.

IsDefault NUMERIC No Flag indicates if state referenced by STATERECID is default state for new defects/test cases /test runs.

EventIDs VARCHAR No Serialized record IDs linked to EVENTS table; record IDs in this field correspond to events that can be entered when an entity is in the STATERECID state

RstlStPrty VARCHAR No Serialized record IDs linked to STATES table, field used when current state is a multi-user assignment; lists priority of states that are evaluated to determine resulting state of a multi-user assignment.

204 TestTrack Database Layout

TestTrack native database extension fields TestTrack native database fields have a 255 byte limit. For performance reasons, the following extension fields are used to store UTF-8 character values with byte sizes that exceed the limit of a single field. If you are a querying a field directly in a TestTrack native database using a third-party reporting tool, you must append the queried field with the appropriate extension fields.

ATTACHINFO SCRPTSTAT2 SCRPTSTAT3 SCRPTSTAT4

ATTACHMT FILENAME2 FILENAME3 FILENAME4

DEFECTS SUMMARY2 SUMMARY3 SUMMARY4 REFERENCE2 REFERENCE3 REFERENCE4

DOCUMENT NAME NAME2 NAME3 NAME4

EMAIL SUBJECT2 SUBJECT3 SUBJECT4

EMAILTMP SUBJECT2 SUBJECT3 SUBJECT4

FLDCOMP DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDCUSTM DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDDISPO DESCRIPTR2

TestTrack Database Layout 205

DESCRIPTR3 DESCRIPTR4

FLDPRIOR DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDPROD DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDREPRO DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDRYTP CLOSEDICON CLSICONNM CLSICONNM2 CLSICONNM3 CLSICONNM4 DESCRPTN DESCRPTN2 DESCRPTN3 DESCRPTN4 OPENICON OPNICONNM OPNICONNM2 OPNICONNM3 OPNICONNM4

FLDSEVER DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDTOTP DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDTRSET DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FLDTYPE DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

206 TestTrack Database Layout

FLDVERSN DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

FOLDER DESCRIPTR2 DESCRIPTR3 DESCRIPTR4

LINKDFNTN LINKCOMMN2 LINKCOMMN3 LINKCOMMN4

LINKHISTRY HISTINFO2 HISTINFO3 HISTINFO4

LINKS LINKCOMMN2 LINKCOMMN3 LINKCOMMN4

LISTWNDTAB NAME2 NAME3

RPDETL STYLEDIR2 STYLEDIR3 STYLEDIR4

RPDIST STYLENAME2 STYLENAME3 STYLENAME4 STYLEDIR2 STYLEDIR3 STYLEDIR4

RPLIST STYLENAME2 STYLENAME3 STYLENAME4 STYLEDIR2 STYLEDIR3 STYLEDIR4

RPTREND STYLENAME2 STYLENAME3

TestTrack Database Layout 207

STYLENAME4 STYLEDIR2 STYLEDIR3 STYLEDIR4

RQMNT SUMMARY SUMMARY2 SUMMARY3 SUMMARY4

SCCFILE FILENAME2 FILENAME3 FILENAME4

SUBTYPE STDESC STDESC2 STDESC3 STDESC4 STICONNM STICONNM2 STICONNM3 STICONNM4

SYSCONF COMPMODEL2 COMPMODEL3 COMPMODEL4 COMPBRAND2 COMPBRAND3 COMPBRAND4 HDISKTYPT2 HDISKTYPT3 HDISKTYPT4 HDISKSIZE2 HDISKSIZE3 HDISKSIZE4 OTHERHW2 OTHERHW3 OTHERHW4 OTHERHW2 OTHERHW3 OTHERHW4

TASK SUMMARY2 SUMMARY3 SUMMARY4 REFERENCE2 REFERENCE3 REFERENCE4

208 TestTrack Database Layout