cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Scenox
Frequent Visitor

Problem with Drop down menu

Good Day friends,

 

I try to use the set drop-down list value function on the web using the power automate desktop. The problem is that it gives me this error. The given option is in the list. Any ideas on how to solve this please?

 

 

Robin.Core.ActionException: Failed to select option(s). ---> System.Exception: List doesn't contain option 'EUR
'.
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.SelectOptionByName(IWebAutomationBrowser browserFacade, ListVariantBase optionsToSelect, String cssSelector, Boolean wait, Boolean isMultiSelectList)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.<>c__DisplayClass24_0.<SetDropDownListValueOnWebPage>g__CoreFunction|0(Boolean wait, IWebAutomationBrowser browser)
at Robin.Shared.Runtime.Utilities.Clock[T](Int64 maxMillisecondsToWait, Int32 step, Func`1 action, Func`2 successCondition)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.ExecuteWebAutomationActionCore(IWebExtensionsBrowser webExtensionsBrowser, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears, TextVariant dialogButtonToPress, Func`3 coreFunction)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.ExecuteWebAutomationAction(WebBrowserInstanceVariant webBrowserInstanceVariant, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears, Func`3 coreFunction)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.SetDropDownListValueOnWebPage(WebBrowserInstanceVariant webBrowserInstanceVariant, TextVariant cssSelectorForDropDownListElement, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears, WebPageDropDownListOperationEnum dropDownListOperation, ListVariantBase optionsToSelect)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.SetDropDownListValueOnWebPage(Variant webBrowserInstance, Variant cssSelectorForDropDownListElement, Variant optionsNames, Variant optionsIndeces, Variant dialogButtonToPress, Int32 dropDownListOperation, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.SetDropDownListValueBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

 

Thank you

 

4 REPLIES 4
Salama
Frequent Visitor

Facing Same issue ☹️

Salama
Frequent Visitor

I solved this problem by using send key [ tab]

repet this argument until until drop field becomes highlighted then use send key [ your option in list ]

then send key [ enter]

Anonymous
Not applicable

I'm also facing the same issue. have you find any solution to it? If yes, I'll will be very happy if you share the solution.

Hi @Anonymous 

 

The error @Scenox is facing is here:

Robin.Core.ActionException: Failed to select option(s). ---> System.Exception: List doesn't contain option 'EUR'.

In that case, he/she needs to check if the select element indeed have the EUR option in its menu.

For example:

If I try to select "Mercedes" option from this drop down menu, it throws error because the option doesn't exist:

tkuehara_0-1627507896587.png

tkuehara_1-1627507943131.png

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (4,619)