Select value from the dropdown - not working

211 views
Skip to first unread message

Hashpriya

unread,
Oct 6, 2021, 11:35:46 PM10/6/21
to robotframework-users
Hi All,

I tried below methods to select the value from the dropdown and facing the below error message.

Methods tried:
Click Element name:oneTimeEntitlements[1].itemLicensingModelId
Wait Until Page Contains Element xpath://*[@id="licensingModelDropDown"]/option[3] timeout=10

getting error for the below.
#Click Element xpath://*[@id="licensingModelDropDown"]/option[3]
#Select From List By Value xpath=//*[@id="licensingModelDropDown"] 1006
#Select From List By Index xpath=//*[@id="licensingModelDropDown"] 3
#Select From List By Label xpath=//*[@id="licensingModelDropDown"] item#2

Error Message:
ElementNotInteractableException: Message: element not interactable: Element is not currently visible and may not be manipulated.

Application code:
Screenshot 2021-10-07 at 11.34.30 AM.png
Please help me.

Regards,
Priya

Michael Hecht

unread,
Oct 7, 2021, 4:34:58 AM10/7/21
to robotframework-users
It's probably the same problem I faced and solved here: https://stackoverflow.com/questions/69465324/robot-framework-unable-to-find-the-right-address-for-a-link 

You have to take care to click in the right order in a dropdown menu and not access directly the link.

Best regards

Michael

priya L

unread,
Oct 10, 2021, 9:40:05 PM10/10/21
to mhec...@gmail.com, robotframework-users
Hi Michael,

Your solution worked perfectly. Thank you very much.

Regards,
Priya

--
You received this message because you are subscribed to a topic in the Google Groups "robotframework-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/robotframework-users/wEkcIC9UlKU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/76ef74ef-fb5c-4adc-8561-0c63f52ecc75n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages