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]

LVPrasad
Regular Visitor

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.

tkuehara
Solution Specialist
Solution Specialist

Hi @LVPrasad 

 

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,135)