Reputation: 13
Is there any builtin in Robot Framework for selecting a random value from the dropdown list which is dynamically generated.
If not, any ways of implementing it ?
Upvotes: 1
Views: 3363
Reputation: 6935
No, there is no builtin for that. You will have do something along those lines:
generate a random index using Generate Random String or sample like mentioned in this question.
Use Select from list by index keyword on your list (from Selenium2Library) using the random index you generated in the previous step.
Upvotes: 2