Reputation: 59
I'm having a problem selecting certain value in a dynamic dropdown list. The scenario is when there is a newly added value on the DDL then my scripts will fail since the xpath position changes once there is new values.[this is the script in selecting the xpath][2]
Thanks in advance!
This is the html source html source of the DDL
Upvotes: 0
Views: 8266
Reputation: 141
Have a look at the documentation: http://robotframework.org/Selenium2Library/Selenium2Library.html
You could try to select an item from the dropdown list by value or label with the keywords:
'Select From List By Label'
'Select From List By Value'
Upvotes: 1