Skip to main content
Question

Bot is not clicking as coded

  • May 29, 2023
  • 8 replies
  • 156 views

Forum|alt.badge.img+4

Here, I have to click on Profile button and I’ve captured it and coded. But while running the bot, it is clicking on Message .

Can someone help me out.

8 replies

Shoeb Shk
Forum|alt.badge.img+6
  • Navigator | Tier 3
  • May 29, 2023

Hello,

Please share the properties selected.

I suggest you to select only the domx path, check for any other unique properties and make the selection accordingly.

 

Happy Automation,


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • May 29, 2023

Hello,

Please share the properties selected.

I suggest you to select only the domx path, check for any other unique properties and make the selection accordingly.

 

Happy Automation,

I did so and also specified the inner text too (as PROFILE). 


Shoeb Shk
Forum|alt.badge.img+6
  • Navigator | Tier 3
  • May 29, 2023

Try with the inner text only.

If still not working share the properties screen shot.

 


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • May 29, 2023

Try with the inner text only.

If still not working share the properties screen shot.

 

Can’t do with inner text only because, it is an iterating process where Domx path keep changing. I have used a iterator in Domx path.

 

And also, I have tried capturing the following image beside profile to click on it. But not working. Clicking on Message only. 

 


Shoeb Shk
Forum|alt.badge.img+6
  • Navigator | Tier 3
  • May 29, 2023

Share the properties panel screen shot


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • May 29, 2023

 


Raul Jaimes
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • May 30, 2023

@SaiRahul02 

Try to use Action Click instead of Left Click.

 

Regards.


Forum|alt.badge.img+2
  • Cadet | Tier 2
  • May 30, 2023

Please try to create custom domx path using common properties(like text, class) of all the profile buttons.
Along with this you can add a occurrence counter to common path.

You can create a custom path like (//div[@id='root']//button[text()=”Profile”])[##] depending on the actual values in HTML content. (## will be number of button)