As we know data provider returns Object[][] and Iterator<Object[]>, Please tell me in which scenarios and how we can use data provider with Iterator<Object[]> and what are the differences between these two type of return type?
Sudeep
M
Replied on 18/12/2016
Object[][] you can get any element in the series.
You can iterate through any collection object by using Iterator object. take look at this for more iterator. https://www.tutorialspoint.com/java/java_using_iterator.htm