Contributions
'\n' in log.info not printing in new line in script log
Hi, If I give log.info("FirstLine\nSecondLine") in a groovy script. The output in script log area is: FirstLineSecondLine What I want from a single log.info() method call is below: FirstLine SecondLine How can we achieve this? Regards Vivek12 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.6KViews0likes6Commentsfacing problem with teardown script
Hi, I have few log.info in the script assertions in my test steps, which writes some texts in the script log area. Them I am writing these script log area's texts into a file through groovy code in testsuite teardown script. Problem is it does not writes the entire texts into the file..It randomly skips last few lines... My testsuite runs really fast...and it seems the teardown script gets called a little before the end...including a delay teststep as the last teststep might resolve the issue, but i do not want to add unnecessary delay. Please help...804Views0likes0Comments