Contributions
Re: Error while generating script log using tear down script
Lemme put it in another way.. I have a project ABC, which have 5 test suites, I am trying to write a tear down script at project level, calling some utilities from test suite "Utilities" . So is this is the correct way of calling??? testRunner.testCase.testSuite.project.testSuites["Utilities"].testCases["Reporting"].testSteps["Groovy1"].run(testRunner, context);1.6KViews0likes3CommentsError while generating script log using tear down script
Hi, I am trying to generate script log using tear down script and I am getting the error "groovy.lang.missingpropertyexception no such property testrunner for class" while executing the below code : testRunner.testCase.testSuite.project.testSuites["Utilities"].testCases["Reporting"].testSteps["Groovy1"].run(testRunner, context); I have also tried defining this but it didnt work def r = testRunner.testCase.testSuite.project.testSuites["Utilities"].testCases["Reporting"].testSteps["Groovy1"].run(testRunner, context); Please help1.7KViews0likes6Comments