AutomationRun Object

Applies to QAComplete 14.3, last modified on February 19, 2024
This functionality is provided by the automated testing bridge that allows obtaining TestComplete test results to the QAComplete Automation screen.
Starting from the release 9.9.0, this functionality is obsolete and is supported only for backward compatibility.

An AutomationRun object stores data on an automated test run obtained from a host (remote computer) connected to QAComplete with the automated testing bridge. Using the QAComplete SOAP API, you can add, load, modify, and delete data on automated test runs in QAComplete.

To manage automated test runs in QAComplete, you need a user account that belongs to a security group that has the following privileges:

  • Read, Add, Update and Delete privileges for Automation Runs.

You can view and set privileges in  > Setup > Security > Security Group > Manage Security Rights.

Properties

AutomationRunId  :  integer

The unique ID of the automated test run.

AutomationTestItemId  :  integer

The ID of the automated test item that was run.

AutomationHostId  :  integer

The ID of the host the automated test was run on.

Status  :  string (max 100 chars)

The test run status.

FullTestName  :  string (max 8000 chars)

The name of the automated test.

NbrTests  :  integer

The number of automated tests included in the test run.

NbrPassed  :  integer

The number passed tests in this test run.

NbrFailed  :  integer

The number of failed tests in this test run.

DurationInSecs  :  integer

The run time, in seconds.

AutomationHostName  :  string (max 8000 chars)

The name of the host the automated tests were run on.

HostName  :  string

The name of the host the automated tests were run on.

FileId  :  integer

The ID of the file that contains the automated test results.

StartTime  :  dateTime

The date and time the test run started.

EndTime  :  dateTime

The date and time the test run finished.

CreateUserId  :  integer

The ID of the user who triggered the automated test run.

UpdateUserId  :  integer

The ID of the last user who updated the test run data.

DateCreated  :  dateTime

The date and time when the test run was added to QAComplete.

DateUpdated  :  dateTime

The date and time the test run data was last updated.

ChildFullPath  :  string (max 8000 chars)

The name of the child automated test.

ParentFullPath  :  string (max 8000 chars)

The name of the parent automated test.

AutomationType  :  string (max 255 chars)

The name of the automated testing tool, TestComplete or QTP.

Relevant Operations

Remarks

Unassigned date/time values (for example, in DateUpdated) are represented as 0001-01-01T00:00:00.

Example

XML

<AutomationRun>
  <AutomationRunId>1</AutomationRunId>
  <AutomationTestItemId>1</AutomationTestItemId>
  <AutomationHostId>1</AutomationHostId>
  <Status>Passed</Status>
  <FullTestName>Full Regression</FullTestName>
  <NbrTests>1</NbrTests>
  <NbrPassed>1</NbrPassed>
  <NbrFailed>0</NbrFailed>
  <DurationInSecs>36</DurationInSecs>
  <AutomationHostName>TestHost-WinXPx86</AutomationHostName>
  <FileId>1</FileId>
  <StartTime>2014-07-21T08:06:12</StartTime>
  <EndTime>2014-07-21T08:06:48</EndTime>
  <CreateUserId>24667</CreateUserId>
  <UpdateUserId>24667</UpdateUserId>
  <DateCreated>2014-07-20T10:31:33</DateCreated>
  <DateUpdated>2014-07-21T08:06:48</DateUpdated>
  <ChildFullPath>Create Order</ChildFullPath>
  <ParentFullPath>Orders Application</ParentFullPath>
  <AutomationType>TestComplete</AutomationType>
</AutomationRun>

See Also

AutomationRuns_Add Operation
AutomationRuns_Load Operation
Automation Runs Operations

Highlight search results