-
Notifications
You must be signed in to change notification settings - Fork 291
[BUG] Set MultiValueOptionSet broken #598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Add a screenshot of the multiselect field on the form and show how you called it in code. |
`
` This is the field on the form: And the customizations to see the logicalname |
I ran into the same issue with my project. Any idea when this issue will be resolved? |
I am also not able to select values in the multiselect option set, any resolution for the above issue? |
Check out this blog for a workaround: |
Thank you for posting this workaround. Could you share an example of get value on multi-select? |
Selected Items are always stored in a div container with class name “msos-selecteditems-container”, the values are in the title attribute. To fetch the values from there please check the below code. var container = win.HasElement(By.XPath(“//*[@Class=’msos-selecteditems-container’]”)); Hope this helps, |
Bug Report
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
Setting the value of a MultiValueOptionSet doesn't work. Getting an error that the given key is not present in de dictionary on the line listed below.
string xpath = AppElements.Xpath[AppReference.MultiSelect.SelectedRecord].Replace("[NAME]", Elements.ElementId[option.Name]);
It's because my own field is not in the Elements dictionary. Why does my field have to be in there? That doesn't make sense when relating to the rest of the EasyRepro functionality. Secondary when looking into the XPATH queries, they don't seem to be correct, so even if I would add my field to the elements dictionary, it doesn't work.
The text was updated successfully, but these errors were encountered: