Robot freezes after click

Hello,

I am attempting to select a value from a web element that simulates a dropdown. It’s not actually a dropdown so I can’t use the Select Item activity. It just reports that the element is invalid.

Clicking to expand the dropdown works, as well as selecting the value I need. After clicking the value the dropdown closes and my value is selected, but the bot never advances past the Click activity. Next thing it should do is click a button, but even after 30 minutes of waiting the button never gets clicked. Neither selector is dynamic - the selected value is the same every time.

Things I have tried:

  • Legacy UI
  • Modern UI
  • Hardware Click
  • Chrome API Click
  • Adding idx='1' to target
  • Using a Set Context activity before the click
  • Using a Set Context activity in parallel with the click
  • Setting Wait For Page Load to any value.

Most suggestions came from Process hanging after simulate click - Help / Activities - UiPath Community Forum but unfortunately none of the suggestions work. Clicking works great, it’s just that nothing happens after the click.

Anyone have any other ideas on why the click activity is locking up or what I can do to fix it?

Edit: After about an hour, the whatever was causing the bot to freeze finally gave and it moved on to the next click activity which has a breakpoint. So it does eventually continue, but waiting an hour to click a button is not going to work for this application.

@Foxtrek_64

If its frozen for hour did you give such a long timeout?

And can you try removing that click and add one more…also can you show the selector

Cheers

I gave it a DelayAfter value of 1 (since this one is in seconds) just to allow things to load (updating the dropdown changes the a table on the page). Removing that value seems to have made it work. Not sure why 1 second is 1 hour, but removing it and changing the next activity to have a delay of 1 second before seems to have resolved the issue.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.