Data Provider public java.lang.Object[] as.get() must return either Object[][] or Iterator<Object>[], not class java.lang.Object;
I am getting this error when executing Testng in selenium
936 views Asked by Mani At
1
Data Provider public java.lang.Object[] as.get() must return either Object[][] or Iterator<Object>[], not class java.lang.Object;
As the documentation says:
So, I suppose you current data provider method is returning
Objectinstead of one of the 2 supported types.