@Mohan – Can you add why you particularly looking for without ?

Very simple solution without iterator

public Object[][] signUpPage1FieldValidationData() throws Exception{
           Object[][] retObjArr=getTestData("<your .xls file name","<your tab name>", "<fields which you wanted to fetch>");
           return(retObjArr);

Let me know, if you have some dificulty. All the best!



Source link https://sqa.stackexchange.com/questions/18731/-how-to-----without-using-iterator

LEAVE A REPLY

Please enter your comment!
Please enter your name here