Support > Forums > OpenBots Studio > Nothing happes when bot tries to click button in web page

Nothing happes when bot tries to click button in web page

TI Distribucion

  • Reporter
  • Calender Icon March 03,2023 at 6:23 PM

Hello,

Hope all is doing well.

Why when bot tries to click the button nothing happens? if I click the button without using the bot, the web page displays all the information I need to see.

Thanks

This forum has 314 topics, 681 replies, and was last updated 21 days ago by Support Agent

David Vega

  • Participant
  • Calender Icon March 07,2023 at 2:38 PM

Hello Nataly,t

Thanks for your response. As you recommeded, I changed the method to Mouse Click but i am getting the following error:

Type: FormatException, Message: Input string was not in a correc format.

In Addition, I have already validated the element.

Nataly Alvarado...

  • Participant
  • Calender Icon March 03,2023 at 6:36 PM

Hi ti-distribucion,

This could be due to different reasons. I will include some general points to keep in mind:

  1. Make sure the selector is pointing to the correct element. Validate the element using the Element Validator.
  2. Native Browser click command supports 2 types of click actions. Simulate and Mouse click. Simulate click sends the action through a background process, this is the preferred option, but is not supported by all websites. Mouse click sends the action through a manual process. So the user will see the mouse cursor move to the element location and send the click.

Usually the preferred method is using simulate click, but if the website does not support it, then we recommend switching to Mouse click. This will also allow you to validate that the mouse cursor is targeting the correct element.

Please let me know if this helps, else we can troubleshoot further.

Thanks!

You are not authorized to reply, please click here to login and add your reply to this topic.