Forum Discussion
dhanapal1
14 years agoContributor
Hi jared
For generating Test Log result I used SaveResultAs Function at the end of the each script. if script ran successful then I will get test log results. If test script is intreputed then I couldn't get the test log result. In that situation I create event handler for OnStopTest Event inside this event I used saveResultAs function in case I couldn't pass the current scriptName as parameter.
In Failure senarion I didn't get test log rest by script name or function name. suggest me How to pass the current scritp name or function name to event handle to invoke function to get test log result in failure senario too. suggest me some better option.
For generating Test Log result I used SaveResultAs Function at the end of the each script. if script ran successful then I will get test log results. If test script is intreputed then I couldn't get the test log result. In that situation I create event handler for OnStopTest Event inside this event I used saveResultAs function in case I couldn't pass the current scriptName as parameter.
In Failure senarion I didn't get test log rest by script name or function name. suggest me How to pass the current scritp name or function name to event handle to invoke function to get test log result in failure senario too. suggest me some better option.