KCMS Test Suite User's Guide

GETATTR:

GETATTR: Command Description

GETATTR: functionality corresponds to the KcsGetAttribute() call. When this command is interpreted, the KcsGetAttribute() function is executed and the status is reported back from the kcmstest command display to the test log.

GETATTR: Command Syntax Example

GETATTR:Reference=testscanner; Attribute Tag=icSigMediaWhitePointTag;

GETATTR: Keywords and Values


Note -

If all the attributes for a given profile are required, set the keyword Attribute Tag to the value All. This will cause kcmstest to retrieve and display all the attributes and values.


Table 3-8 presents the GETATTR: command keywords and their descriptions.

Table 3-8 GETTATTR: Command Keywords

Keyword 

Description 

Reference=

Is the name that was assigned when the profiles were loaded, created, or connected. 

Attribute Tag=

Is the name of the attribute that is to be manipulated by this command. For a list of all the attribute names, see Chapter 5, "KCMS Profile Attributes," in the KCMS Application Developer's Guide. The section entitled "List of All Attributes" lists all the attribute names you can use as values for this keyword.

XStatus=

The default expected status is KcsSuccess. If the script command is expected to complete successfully, the XStatus= keyword is not required. In cases where a script command is expected to return a non-success status, the keyword is followed by the corresponding expected, non-success status in hexadecimal format.