I want to pass values from method1 to method2 for each array of data from Data Provider in TestNG. This solution, Passing output of one test method to another method testng,