Forum Discussion
baxatob
7 years agoCommunity Hero
Hi,
As one of the possible solution you can store ID in a variable and use this value during your test.
cmbdnne
7 years agoOccasional Contributor
Hi, thanks for your answer.
I've tried to assign the asset ID to a variable value, both by trying to capturing it as an object property and an onscreen object. Problem here is that TestComplete doesn't appear to "grasp"/recognise this as a value and thus nothing appears when I'm trying to print this value out to a log.
Also - I need to use this value throughout the test but when the test is re-run, a new ID value is going to appear and this value should replace the previous value used (hope this makes sense) - and is that possible if a such variable value is defined as an object property/onscreen object?