IC_attr1.scr
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.
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:
Only the profile attributes modified with the previously executed SETATTR: commands have been modified.
The modified attributes reflect the values defined in the SETATTR:command.
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.