Pat
15 years agoOccasional Contributor
How to bring up comments from lower level to higher level?
I have a problem:
Say in a main groovy script, I have testcase1.run(new StringToObjectMap(), false);
the above returns a WsdlTestCaseRunner object which can be used to show the error message or other system messages.
But say testcase1 contains a bunch of groovy script teststeps, each groovy script has log.info() in it. Running testcase1.run(new StringToObjectMap(), false) doesn't bring up these lower level comments (i.e. log.info), right now I can only bring the info to the main level if I call it teststep by teststep instead of running it as a testcase.
How can bring up the lower-level comments to the main script while running it as a testcase (not teststep by teststep)?
thanks!
Say in a main groovy script, I have testcase1.run(new StringToObjectMap(), false);
the above returns a WsdlTestCaseRunner object which can be used to show the error message or other system messages.
But say testcase1 contains a bunch of groovy script teststeps, each groovy script has log.info() in it. Running testcase1.run(new StringToObjectMap(), false) doesn't bring up these lower level comments (i.e. log.info), right now I can only bring the info to the main level if I call it teststep by teststep instead of running it as a testcase.
How can bring up the lower-level comments to the main script while running it as a testcase (not teststep by teststep)?
thanks!