Can't select the month in drop-down; UiPath.Core.ElementOperationException: Error HRESULT E_FAIL has been returned from a call to a COM component

I am trying to select the month from below drop-down list in ACME

… however I face this error.

Any idea what I do wrong?Download Monthly Invoices.xaml (21.0 KB)

RemoteException wrapping UiPath.Core.ElementOperationException: Error HRESULT E_FAIL has been returned from a call to a COM component. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at UiPath.UiNodeClass.Set(String bstrAttr, Object vValue)
at UiPath.Core.UiElement.Set(String attribute, Object value)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@Cardon_Cezar

You have to use a dynamic selector, so that it can change by it self… To do so, on the Click Button, edit the selector, than add a variable inside…

"<html title='ACME System 1 - Reports - Download Monthly Report' /><webctrl aaname='" + month.ToString + "' parentid='searchForm' tag='A' />"

Thank you for your reply,

Can you please tell me what I’m doing wrong?

@Cardon_Cezar

I’m not sure what’s the error, can you check if the variable, pass the content correctly ?

Thank you for your help, but I can’t figure it out how to use your advise.
If you want, we can have a skype