You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2026. It is now read-only.
At ControlDropdown class, can't obtain all text or value options as list to search on them
Behaviour expected
At ControlDropdown class, can obtain all text or value options as list to search on them
Tests
ensures can obtain lists of text for each option tag
ensures can obtain lists of text for each option attribute value
Notes
Maybe this snippet can help to resolve
defdropdown_options(ctl_dd)
"""Gets the values of the options in a dropdown of possible SOs"""options_txt= []
ifnotisinstance(ctl_dd, ControlDropdown):
raiseException("Not dropdown valid class")
foroptinctl_dd.dropdown.options:
options_txt.append(opt.text)
returnoptions_txt
Behaviour obtained
At
ControlDropdownclass, can't obtain all text or value options as list to search on themBehaviour expected
At
ControlDropdownclass, can obtain all text or value options as list to search on themTests
Notes
Maybe this snippet can help to resolve