-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Awaiting-TriagePending of be labeled from a CollaboratorPending of be labeled from a CollaboratorFeatureNew functionality proposalNew functionality proposalTODO
Description
Behaviour obtained
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
def dropdown_options(ctl_dd)
"""Gets the values of the options in a dropdown of possible SOs"""
options_txt = []
if not isinstance(ctl_dd, ControlDropdown):
raise Exception("Not dropdown valid class")
for opt in ctl_dd.dropdown.options:
options_txt.append(opt.text)
return options_txtReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Awaiting-TriagePending of be labeled from a CollaboratorPending of be labeled from a CollaboratorFeatureNew functionality proposalNew functionality proposalTODO