DbLog Object

Applies to QAComplete 12.90 SaaS & On-Premises, last modified on September 09, 2021

A DbLog object represents an error record in QAComplete’s DbLogs database.

Properties

SeverityCode  :  string (max 100 chars)

The error severity.

ErrSource  :  string (max 64 char)

The component where the error occurred.

ErrNumber  :  integer

The error code.

Description  :  string (max 500 char)

The error description.

AppCode  :  string

For QAComplete SaaS (hosted on qacomplete.smartbear.com), use agSP.

For QAComplete On-Premises (hosted on your company-owned server), this is typically agSPEnt.

You can see the needed AppCode value on the Setup tab in QAComplete.

DateCreated  :  dateTime

The date and time the error occurred.

ProjId  :  integer

The ID of the project associated with the error, or 0 if the error is not project-specific.

UserId  :  integer

The ID of the user who triggered the error, or 0 if the error is not user-specific.

UserName  :  string

The name of the user who triggered the error, in the Lastname, Firstname format.

Relevant Operations

Example

XML

<DbLog>
  <SeverityCode>3-Error</SeverityCode>
  <ErrSource>MyClientApp</ErrSource>
  <ErrNumber>12</ErrNumber>
  <Description>A defect with ID 544 was not found.</Description>
  <AppCode>agSPEnt</AppCode>
  <DateCreated>2014-07-30T01:40:17.007</DateCreated>
  <ProjId>10372</ProjId>
  <UserId>27942</UserId>
  <UserName>Doe, John</UserName>
</DbLog>

See Also

DbLogs_Add Operation
DbLog Operations

Highlight search results