which function gives me the dataprovider loop counter in testNG -
i'm logging testresults db while testng runs testcases. i'm using excel sheet provide input data .
for eg:
tablename row1 col1 row2 col2 tablename
i want know, row getting executed ? there might function in dataprovider class storing counter.
please me counter value.
thanks in advance.
not sure try do; data provider can hardly allow information want. possible access method arguments directly if 1 implement itestlistener interface.
@override public void onteststart(itestresult result) { object[] params = result.getparameters(); }
Comments
Post a Comment