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

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -