DevopsTestExecution

Tracks the execution of individual tests within a test suite execution. It records execution timing, status, results, severity, error messages, and related reporting information, enabling teams to monitor, analyze, and troubleshoot test outcomes as part of the DevOps testing process. This object is available in API version 67.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
DevopsTestId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
References the test definition associated with this execution record.
Relationship Name
DevopsTest
Refers To
DevopsTest
DevopsTestSuiteExecutionId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
References the test suite execution that contains this test execution.
Relationship Name
DevopsTestSuiteExecution
Refers To
DevopsTestSuiteExecution
ExecutionEndTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Stores the date and time when the test execution completed.
ExecutionStartTime
Type
dateTime
Properties
Create, Filter, Sort, Update
Description
Stores the date and time when the test execution started.
ExternalTestRef
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the identifier or reference of the test in an external testing system.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record indirectly, such as through a related record or list view.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.
LearnMore
Type
url
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores a URL that provides additional information or guidance related to the test result.
Message
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores a summary message or outcome associated with the test execution.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
System-generated unique identifier for the test execution record.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Identifies the user or queue that owns the test execution record.
Relationship Name
Owner
Refers To
Group, User
ReportUrl
Type
url
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores a URL linking to the detailed execution report.
ResultDetails
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores detailed information about the execution results, including failures and outcomes.
SampleCode
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores sample code, snippets, or examples related to the test execution result.
Severity
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Indicates the severity level associated with the test result. Possible values range from 5 (lowest) to 1 (highest). The default value is 5.
Status
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
Indicates the current execution status of the test.
Possible values are:
  • Error
  • Failed
  • InProgress
  • Passed
The default value is Passed.