Hardware events selector keep throwing error

Hi,

I’m using a strict selector for my activities. I’m using a 4 second delay before click and using hardware events. Sometime it clicks, sometime it won’t click so I have to click manually and the robot proceeds everything afterwards, and sometimes it’s clicking responsively without any error. Any explanation for this? Thanks !

Hey @Rhys18,

There are two ways you can get rid of this issue.

  1. Either you can use the element exist activity to check whether that element exists or not the default timeout for that activity is 30sec, if that output is true you can perform your click else you can do as per your requirement in the else block.
    Or
  2. You can use On Element Appear activity and capture that element once that element is appear the click would get performed.

Regards,
Sanjit

Hello @Rhys18

Can you comfirm whethe the application has properly loaded while clicking?

Use element existss and if present then use click activity.

Thanks

Ok I will try this first. Will provide you the update for the next few days

It’s internal web based application. I can’t share it here because it’s company asset, the click is not working only at 1 part only but the rest are working.

You dont need to share the ss here then. But add an element that exists and waits for it to load completely. Then use click activity. Are you using the modern click activity, if yes, in it automatically it will get tag to an anchor.

Thanks

Hello @Rhys18 ,

Things you can try to overcome this issue :

  1. Try if the application allows simulate Click (if allowed, please use it)
  2. Try giving default timeout / delay (4 sec looks very less, the required element in the application may not be loaded in 4 sec)
  3. If the above settings didn’t work go for element exists (with default timeout) to make sure the element is exists and it’s loaded.

Regards,
Rohith