Table of Contents

Codeunit "Agent Test Context"

ID 149048
Namespace: System.TestTools.AITestToolkit

Exposes Agent specific functionality that can be used by the AI tests.

Properties

Name Value
SingleInstance True
InherentEntitlements X
InherentPermissions X

Methods

GetAgentUserSecurityID

Gets the user security ID of the agent that is used by the test suite.

procedure GetAgentUserSecurityID(var AgentUserSecurityID: Guid)

Parameters

Name Type Description
AgentUserSecurityID Guid

The user security ID of the agent used by the test suite. If no agent is set, a null GUID is returned.

AddTaskToLog

Adds agent task to be reported as used by the test

procedure AddTaskToLog(AgentTaskId: BigInteger)

Parameters

Name Type Description
AgentTaskId BigInteger

The id of the agent task to be added to the log.

See also