vivekagrawal
12 years agoNew Contributor
facing 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...
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...