Andrew_89
8 years agoOccasional Contributor
Add Item to Log at same level as Test Item
I have a test item which calls a scripted function.
The function iterates through a list and calls multiple tests based on the content of the list.
For each iteration of the script, I currently get one entry in the Test Log.
Is it possible to shift the logs up a level in the logging hierarchy and have one entry in the Log Items for each iteration.
What I really need is to be able to dynamically build and execute test items via scripting, but this doesn't seem to be possible, so I am looking for an alternative way to get the logs in the format I need.
The logs need to be in this particular format as they are exported and parsed by an external reporting system. The parser only looks at the test item level of the logs.