Hi, How to select random data from a drop-down ?


#1
How to select random data from a drop-doown list ?
Thank You


#2

Thank You Marek Melocik :slight_smile:


#3

`int optionListLength = 10
Random rand = new Random()
int index = rand.nextInt(optionListLength + 1)

WebUI.selectOptionByIndex(testObject, index)`


#4

What is testObject?