02-23-2018 03:04 PM - edited 02-23-2018 03:09 PM
Hi community,
I need the moduletime to be displayed for each step in my sequence and not just for the ones I have the result recording turned on.
Is it possible and if yes, how?
thanks!
02-26-2018 05:58 AM
You need some customization of the report generation.
If you disable result recording for steps, they will not show up in the result list. This reduces the size of the result list (hence improving performance) but prevents report generation to ever know that that step was executed at all. That means: With result recording disabled, you will never get the time in the report using standard reporting.
I recommend you to enable result recording for steps you need the module time in the report and to customize the report generation to remove everything except the desired information for this step(s). The module time is automatically included if you select the option to "Include Execution Times".
02-28-2018 05:55 AM
Thanks for your response. I think I was not clear enough with my questions: I dont want the execution times to show up in the reports, I'd just like to observe them while my sequence is running. Currently the module time (a column in the execution window next to the pass/fail/done indication) is only displayed for the steps I have the result recording turned on.
I there a way to display the exec time for all the steps in the execution view?
02-28-2018 09:08 AM
Are you referring to these numbers (module time)?
If so, these numbers are exactly what i was talking about.
If not, i don't know what you are talking about....
02-28-2018 09:13 AM
Yes, I am referring to those. So are you saying there are no way to display them (not logging them, just displaying), if logging is not set for the given step?
02-28-2018 10:29 AM
I've not found any detailed information on this, but here is what i think:
The ResultList entry for each step is including a hidden container TS. If that step calls a module, the module time is stored there.
When disabling result recording for a step, module time might be calculated (start and end time), but it is not stored in the TS execution data set. Therefore, the UI, which handles the UIMsg_Trace simply cannot look up that value.
I might be wrong on this assumption, but it explains why you get module time for steps (with modules) when they are recording their results vs. not getting module time for steps where you disable result recording....
03-01-2018 02:03 AM
Well explained, thanks.
Its a bit frustrating that such trivial thing is such complicated to get 😞
08-04-2023 03:08 AM - edited 08-04-2023 03:12 AM
Hello All,
I have just dig out this topic, trying to achieve similar results.
After tweaking inside I noticed that You can actually replace "TS.ModuleTime" with "TS.TotalTime":
Here is the result:
Enjoy!