ContributionsMost RecentMost LikesSolutionsRe: Is it possible to use same object reference in two different groovy steps? Hi Rao ! Let me share the script and rephrase the question based on your last response. // step1 in suite 1 def extent = new ExtentReports(ResultExtentFileName,true) def logger=extent.startTest("Test1") logger.log(LogStatus.INFO,"Test1 Started !") desiredTestStep=testRunner.testCase.testSuite.project.testSuites["MainSuite"].testCases["Test2"].testSteps["Step2"] desiredContext=new WsdlTestRunContext(desiredTestStep) WsdlTestCaseRunner desiredTestRunner = new WsdlTestCaseRunner(desiredTestCase, null); //step2- this is in suite 2 but i am running this from step 1 in suite 1 status=desiredTestStep.run(desiredTestRunner,desiredContext) now I need the logger in step 2 being run by the statement above. Please note that step 1 and step 2 are in separate test suites. I am able to achieve this if both steps are in same test suite. Is it not possible if both steps are in separate test suites? Is there any way to achieve this? Re: Is it possible to use same object reference in two different groovy steps? Thanks for the response Rao ! The data I want to access is object and not string type. In one step(say Step 1) I am initializing the report object and then running another step(say Step 2) from Step 1. I want the report object from step 1 to be somehow accessible in step 2. One more thing, What if Step 1 and Step 2 are in different test suites? Is it possible to use same object reference in two different groovy steps? I am trying to use a reference of extent report created in one groovy step in another groovy step. Is there a way to store the reference temporarily (like properties) so that i can retrieve the reference in any step and continue to modify the same report from different steps?