Failed to select the value from drop down in webpage in unattended mode

Hi All,

I was facing an issue in doing web automation. after clicking on a button in webpage, i will get a popup. I have a drop down in the popup. its menu item basically where it has to select one line item from the drop down.(drop has only two values product name and contact name ).where bot has to select the product name. this code is working in production from last 1.5 years without issue. recently i am getting error in that point where bot is unable to select the product name. Instead i am getting error as : HRESULT E_FAIL has been returned from a call to a COM component . Any one has idea in what cases we will be getting this error and how to fix this. Any solutions would be appreciable.

Thanks
Shiva

Hi @shivarajvp555

Can you try to update UiPath.System.Activities and UiPath.UiAutomation.Activities Package

Regards,

could you please help me with what version to update those?.Is it to the latest version?

Hi @shivarajvp555,

Please change the input method to Hardware Events if you are using Click activities to perform the selection.

If you are using Select Item to perform the selection then the best practice is to

  1. Click the combo box or dropdown first using a click activity (Input Method - Hardware Events)
  2. 3 sec delay
  3. Select Item to select the item.

It will resolve the issue.

Regards,
Ranjith Udayakumar

@shivarajvp555

Yes, latest version

Regards,