UutProgram Property (AApp)

Version 8

Returns the program object of the specified UUT index.

Syntax

[ prg = ] Object.UutProgram ( iUutIndex )  

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.

prg

AProgram

Program instance object that is created by ATEasy for this UUT index.

Comments

The program object that is returned by this property is used to store the UUT test results and hold the UUT tests requirements for each test in that program. The property is set by ATEasy when a program is about to run using the run statement or the App.StartProgram or when the Run statement is called.

Example

The following statement check the status if the first UUT:

if App.UutProgram(0).Status = "FAIL" then print "UUT 1 FAILED"

Applies to

AApp

See Also

App.StartProgram, App.UutCount, App.UutIndex, App.UutProgram, Program Variable, Run Statement