KCMS Test Suite User's Guide

Get/Set Attribute

Script Name

IC_attr1.scr

Concept

IC_attr1.scr sets attributes for a variety of device profiles, which it saves and frees from memory. Then it reloads the profiles and verifies that the attributes were correctly set. It varies the attributes that it sets and gets.

Description

This script demonstrates that the KCMS framework can perform SETATTR: commands for scanner, printer, and monitor profiles and verify that the attributes were correctly set. Prior to operating on each profile type, the script uses the GETATTR: command to retrieve all the attributes for that profile. After setting the attributes with the SETATTR: command, the script saves and then frees each profile from memory. Then it reloads the profile and performs a GETATTR: command on the attributes previously set. You should examine the log file to verify that:

Verification

All the commands performed in this test are expected to complete successfully. Additionally, the profile attributes are expected to be modified to the values specified in the SETATTR: commands.