Manfred_F
11 years agoRegular Contributor
using ODT data information in test log
Hi,
You might want to use Information from the ODT data tree to enhance the message log.
In my example, I add Information from a log Array item's object to the item log Folder, see screenshots.
This is my solution:
I intercept the OnLogCreateNode and OnLog CloseNode Events and determine the ODT data element, the node is tied to (it would be nice if TC could deliver this as a context Parameter to the OnLogCreateNode Event procedure..).
Then, I evaluate the ODT data and add the Information I want to to the log.
The solution only works, if the ODT tree is run from the root Level.
Regards,
Manfred
You might want to use Information from the ODT data tree to enhance the message log.
In my example, I add Information from a log Array item's object to the item log Folder, see screenshots.
This is my solution:
I intercept the OnLogCreateNode and OnLog CloseNode Events and determine the ODT data element, the node is tied to (it would be nice if TC could deliver this as a context Parameter to the OnLogCreateNode Event procedure..).
Then, I evaluate the ODT data and add the Information I want to to the log.
The solution only works, if the ODT tree is run from the root Level.
Regards,
Manfred