Hi,
I have created a data file of the type Internal Data and that file currently has 4 rows. Can you please help me to get the last row to loop through using For loop.
Hi,
I have created a data file of the type Internal Data and that file currently has 4 rows. Can you please help me to get the last row to loop through using For loop.
Thanks … This worked!!
Here is yours,
allData = findTestData('your_test_data_id').getAllData()
lastRow = allData.get(allData.size() - 1)
for (cell in lastRow) {
println cell
}
Please visit our Test Data API for further information. This API can be used for all Test Data type.
Thanks.