4 # Testing attribute: TDataStd_Name
6 # Testing command: SetName
7 # Testing command: GetName
12 # Add an attribute to a data framework
13 set aSetAttr1 "New Attribute"
16 SetName D ${aLabel} ${aSetAttr1}
18 # Close/Open the transaction
21 # Set a new value of the attribute
22 set aSetAttr2 "Old Attribute"
23 SetName D ${aLabel} ${aSetAttr2}
25 # Close/Open the transaction
31 # Get a value of the attribute
32 set aGetAttr2 [GetName D ${aLabel}]
33 if { ${aSetAttr1}!=${aGetAttr2} } {
34 puts "aSetAttr1=${aSetAttr1} aGetAttr2=${aGetAttr2}"
35 puts "Set a value of TDataStd_Name attribute: Error"
38 puts "Set a value of TDataStd_Name attribute: OK"