sl@0: //------------------------------------- sl@0: //-- Steps to retrieve TransactionID sl@0: //------------------------------------- sl@0: [CreateDrmArchive] sl@0: ContentDescription=c:\RTA\testdata\stringattributes.xml sl@0: RightsDescription= sl@0: OutputFile= c:\tcaf\testdata\stringattribute.content sl@0: sl@0: sl@0: [PrivateCopyFileOk] sl@0: source =C:\tcaf\testdata\stringattribute.content sl@0: destination =C:\private\Reference Test Agent\stringattribute.content sl@0: result =0 sl@0: sl@0: sl@0: sl@0: [TransactionIDAttribute] sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\transactionid.txt sl@0: uniqueid =\transactionid.txt sl@0: stringattribute =10 sl@0: value = ID1234 sl@0: result =0 sl@0: sl@0: sl@0: sl@0: //---------------------------------------------- sl@0: //-- Steps to retrieve 257 long transaction ID sl@0: //---------------------------------------------- sl@0: sl@0: [257LengthTransactionIDAttribute] sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\257longtransactionid.txt sl@0: uniqueid =\257longtransactionid.txt sl@0: stringattribute =10 sl@0: value = sl@0: result = -9 sl@0: sl@0: sl@0: //----------------------------------------------- sl@0: //-- Steps to retrieve 1char long transaction ID sl@0: //----------------------------------------------- sl@0: [TransactionIDAttribute1char] sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\1chartransactionid.txt sl@0: uniqueid =\1chartransactionid.txt sl@0: stringattribute =10 sl@0: value = 1 sl@0: result = 0 sl@0: sl@0: //------------------------------------------------ sl@0: //-- Steps to retrieve 13char long transaction ID sl@0: //------------------------------------------------ sl@0: [TransactionIDAttribute13char] sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\13chartransactionid.txt sl@0: uniqueid =\13chartransactionid.txt sl@0: stringattribute =10 sl@0: value = 1234567890123 sl@0: result = 0 sl@0: sl@0: sl@0: //--------------------------------------------------- sl@0: //-- Steps to retrieve non existing transaction ID sl@0: //--------------------------------------------------- sl@0: sl@0: [NonExistingTransactionIDAttribute] sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\contentwithnotransactionid.txt sl@0: uniqueid =\contentwithnotransactionid.txt sl@0: stringattribute =10 sl@0: value = sl@0: result = -1 sl@0: sl@0: sl@0: sl@0: sl@0: //----------------------------------------------------------------- sl@0: //-- Steps to retrieve transaction ID using GetStringAttributeSet. sl@0: //----------------------------------------------------------------- sl@0: sl@0: sl@0: [StringAttributeSet] sl@0: unresolveduri =1 sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt sl@0: uniqueid =\stringattributeset.txt sl@0: attribute1 =10 sl@0: value1 =ID1234 sl@0: attribute2 = 7 sl@0: value2 = ID5678 sl@0: result1 =0 sl@0: result2 =0 sl@0: sl@0: sl@0: [ContentStringAttribute] sl@0: unresolveduri =1 sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt sl@0: uniqueid =\stringattributeset.txt sl@0: attribute =7 sl@0: value =ID5678 sl@0: result =0 sl@0: sl@0: //-------------------------------------------------- sl@0: // Testing new entries added for DEF102465 sl@0: // These are: EContentVersion, EContentLocation & ERightsIssuerURI sl@0: //-------------------------------------------------- sl@0: [ContentLocationAttribute] sl@0: unresolveduri =1 sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt sl@0: uniqueid =\DEF102465attributes.txt sl@0: attribute =11 sl@0: value = http://www.somewhere.org/contentstore/ sl@0: result =0 sl@0: sl@0: [RightsIssuerURIAttribute] sl@0: unresolveduri =1 sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt sl@0: uniqueid =\DEF102465attributes.txt sl@0: attribute =12 sl@0: value = http://www.somewhereelse.org/rightsissuer/ sl@0: result =0 sl@0: sl@0: [ContentVersionAttribute] sl@0: unresolveduri =1 sl@0: uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt sl@0: uniqueid =\DEF102465attributes.txt sl@0: attribute =20 sl@0: value = 65535 sl@0: result =0 sl@0: sl@0: sl@0: [PrivateDeleteFileOk] sl@0: filename =C:\private\Reference Test Agent\stringattribute.content sl@0: result =0