SetAgentTrace Function

Action

Specifies whether 4Test agent calls are logged to the results file.

Syntax

bPrevious = SetAgentTrace (bTraceOn)
Variable Description
bPrevious The previous value of the agent trace feature. BOOLEAN.
bTraceOn TRUE to turn on the agent trace feature, FALSE to turn it off. BOOLEAN.

Notes

SetAgentTrace turns the 4Test agent trace feature on or off, and returns the previous setting.

When the agent trace feature is on, Silk Test Classic writes a list of every call made to the agent to the results file. You can also set this feature by selecting the Print Agent Calls check box in the Runtime Options dialog box.

Example

SetAgentTrace (TRUE)