Issue with web automation

I am trying to automate web application. I can open browser and log into it without any issue. But for further processing, robot is not clicking on desire location. Sometimes it works and sometimes it doesn’t. There is no standard patter and when I use indicate on browser or edit target, it shows proper area.

I am using studio 2022.10.3 and chrome Version 107.0.5304.107. Should I use edge instead of chrome?

1 Like

Hi @csmart

Can you share your selector from the activity which is failing?

Thanks!
Robert

Please guide me how to share the selector.

Hi @csmart,

Try to make a screenshot and paste it in here, looks like this:
image

Thanks!
Robert

@Robert_Lansbergen thanx.

Hi @csmart,

Thanks for the screenshot, what happens if you remove the css-selector, does it comes back with idx?
If it does, could you try to select parentclass instead of css-selector?

Also, did you tweak the original indicate? Could you share the original if that is the case?

Besides this, make sure the “use application/browser” is on Maximized and you might want to enable the element visibility, its in the properties of your activity under Target, set it to “visible” if you are using strict selector.

image

Thanks!
Robert

Hello @csmart

can you please share a screenshot of the element that you are trying to click?

Alos are you using the modern click activity? If not try using that. it will have multiple methods to identify the element.

Thanks

@csmart try to use some other input method for the click activity and also fine tune your selector by giving unique attribute and the value.

@Robert_Lansbergen thanx for the suggestion. Maximising worked. But still at times it gives error. If I make element visible then it is not working. I will check few more and then see.

@Rahul_Unnikrishnan below is the screen shot. I am trying to click on down arrow next to “GO TO QUICKBOOKS”.

Hi @csmart,

Which type of click are you using? Chromium API or simulate would work the best.

Thanks,
Robert

1 Like

@csmart

If you click on GO TO QUICBOOKS, is it not opening the dropdown?

Also for the dropdown button, have you provided a proper anchor?

Thanks

@Rahul_Unnikrishnan proper anchor is provided. But at times, it was clicking on different button.

I used @Robert_Lansbergen suggestion of using Chromium API and his previous suggestions. As of now working fine. Thanx Robert.

1 Like

Hi @csmart,

Thats great news, could you mark the post as solution?

Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum

Thanks!
Robert

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