UutLog Property (AApp)

Version 8

Returns or sets the log control of the specified UUT index.

Syntax

Object.UutLog ( iUutIndex ) [ = log ]

The UutLog property syntax has the following parts:

 

Name

Type

Description

Object

AApp

AApp object

iUutIndex

[Val] Long = -1

Optional. The UUT index (0 based). -1 for current UUT.

log

ALog

Log control used by ATEasy to append the test results.

Comments

This UutLog property is used to set or retrieve the log control of the specified UUT index. ATEasy will use the log control to append the test results of the current UUT. When running from the development environment (IDE) the initial log is set by ATEasy to the Log Window that is created for each UUT. When running a compiled application it is the responsibility of the application to create Log control for each UUT and to assign the control to this property (similar to the log tabs created for each UUT by the Test Executive). The number of Logs available is always the same as the number of Uut's  as specified by the UutCount Property.

Example

The following statement append text to the first UUT log:

App.UutLog(0).Append(sText)

Applies to

AApp

See Also

App.UutCount, App.UutIndex, App.UutProgram, Log