Hi Olagoke,
You can try this code:
String[] array = findTestData(“Data Files/YOUR TEST DATA”).getAllData()
int random = new Random().nextInt(array.length)
println array[random].toString()
Hope that helps. . .
Hi Olagoke,
You can try this code:
String[] array = findTestData(“Data Files/YOUR TEST DATA”).getAllData()
int random = new Random().nextInt(array.length)
println array[random].toString()
Hope that helps. . .