lars_pijnappel
10 years agoNew Contributor
Groovy Script log.info message not shown in TestCase Log
Hello all,
I'm experiencing something weird in Ready! API 1.1.0, for which, after couple of hours digging in different forums, I'm unable to find any solution yet.
When creating a simple Groovy Script with the following statement
log.info ("hello!")
and pressing the run-button, the result is nicely shown in the 'Log Output' panel at the bottom.
But when running the TestCase - with only one teststep containing this Groovy Script - the 'TestCase Log' at the bottom states that the Groovy Script has ran OK and the testcase finishes succesfully.
However, the specified log.info statement is not shown in this console. What am I doing wrong?
Thanks for any advice.
lars
I'm experiencing something weird in Ready! API 1.1.0, for which, after couple of hours digging in different forums, I'm unable to find any solution yet.
When creating a simple Groovy Script with the following statement
log.info ("hello!")
and pressing the run-button, the result is nicely shown in the 'Log Output' panel at the bottom.
But when running the TestCase - with only one teststep containing this Groovy Script - the 'TestCase Log' at the bottom states that the Groovy Script has ran OK and the testcase finishes succesfully.
However, the specified log.info statement is not shown in this console. What am I doing wrong?
Thanks for any advice.
lars
- Hi,
The output from the log.info method is in the "script log" tab that is part of the "Logs" section in Ready! API. If you are unable to find this I can send you a screen shot.
Regards,
Marcus
SmartBear Support