04-14-2009 11:42 PM
Hi all,
I have a test sequence which consists of a group of sub-sequences. Each sub-sequence contains a set of steps which report results to my report file. I've created a custom callback sequence (ModifyReportEntry) in order to modify the report body text for each step, but I'd like to include then name of the step's sequence in the report line for that step.
I'm guessing that this property is somewhere in the Parameters.Result.TS realm, but can't figure out what it is. (Using TS 4.1)
Can someone help me out?
Thanks!
Jeff
04-15-2009
03:23 AM
- last edited on
06-26-2024
11:03 AM
by
Content Cleaner
Jeff,
general infos on how reporting works and how to customize can be found here.
A hint: The ResultList contains all information you need if talking about subsequences (since it uses "Sequence Call" steps!)
hope this helps,
Norbert
04-15-2009 07:16 PM
Jeff,
You can use RunState.Caller.Parameters.SequenceName from your "ModifyReportEntry" Sequence File Callback. So the Statement expression would look something like Parameters.ReportEntry += "<tr><td>Sequence Name</td><td>"+RunState.Caller.Parameters.SequenceName+"</td></tr>".