08-08-2014 07:24 AM
hi guys,
I am using the Step list configurations as "Execution Times"
& the Seq during execution does not show execution time.
the "Execution Times" uses following code for modul time
(Step.LastStepResult != Nothing && Step.LastStepResult.Exists("TS.ModuleTime", 0)) ? Str(Step.LastStepResult.TS.ModuleTime) : ""
Step.LastStepResult evaluates to "Cannot invoke API member LastStepResult...."
it used to function some time back......
08-08-2014 12:29 PM - edited 08-08-2014 12:45 PM
When does this error occur? While tracing? At a breakpoint? Always? only sometimes? Do you have an example which reproduces this problem? Also what version of TestStand are you using?
-Doug
08-11-2014 02:56 AM
error occurs always
teststand 2012 sp1
i can send my step config file
i think it depends on this file as the module time cal is a code in the config.
i caqn send my file
08-11-2014 09:19 AM
I'm having trouble reproducing the problem. Even in TestStand 2012 sp1, it seems to be working fine for me:
I copied and pasted the expression from your forum post, so I'm not sure what's different. Here's a copy and paste of the expression I'm using:
(Step.LastStepResult != Nothing && Step.LastStepResult.Exists("TS.ModuleTime", 0)) ? Str(Step.LastStepResult.TS.ModuleTime) : ""
Perhaps you have another expression somewhere for a similar column that is leading to the error?
Hope this helps,
-Doug