02-01-2022 12:35 PM
I have a test sequence that reads in an INI file. I want to log the entries in the INI as results in the report (strings are fine).
So I pull the pairs into arrays and step through them. I call CustomResults.Insert() and this works.
HOWEVER! The result is PERSISTENT in the sequence file step, and the result remains on the next UUT, and then the next, etc.
AND the original sequence file is edited, not just the runtime report. So if I have 3 entries in the INI and run 10 UUTs, the last UUT has 30 entries!
RunState.Caller.Step.AdditionalResults.CustomResults.Insert("\"" + Locals.Keys[Locals.index] +"\"" ,"\"" +Locals.Values[Locals.index]+"\"" ,"",PropFlags_IncludeInReport,-1)
What am I doing wrong that this isn't just adding the result to the runtime step and not the actual sequence?
02-02-2023 02:40 PM
I'm having the same issue. Any workarounds?
02-03-2023 04:45 PM
Well, I don't even recall making this post. But I am still calling the function, but I'm not seeing that same behavior.
I just took a look, and I don't see anything that would change the behavior. Huh.