Question

Bot is not clicking as coded


Badge +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

Userlevel 2
Badge +5

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,

Badge +4

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). 

Userlevel 2
Badge +5

Try with the inner text only.

If still not working share the properties screen shot.

 

Badge +4

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. 

 

Userlevel 2
Badge +5

Share the properties panel screen shot

Badge +4

 

Userlevel 5
Badge +9

@SaiRahul02 

Try to use Action Click instead of Left Click.

 

Regards.

Badge +1

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)

Reply