Click activity is clicking Windows icon instead of hamburger icon

Hi everybody,

I am using a classic click activity to click on a hamburger icon.
The problem is that it clicks the windows icon in the bottom left corner instead.
For some reason adding a delay before the click activity fixes the problem but I feel like that is not a good way to fix it. I want to know what is going on and what I am doing wrong.

I added screenshots for clarification. the first screenshot is a picture of the hamburger icon that has to be clicked (top one) and the windows icon on the bottom:

The second screenshot are the selectors that I used to click the hamburger icon.

I also had a diffrent click activity click the wifi/internet button in the task bar on the same site.
It could be coincidence but the windows button and that wifi/internet button are exactly below the button that has to be clicked.

I feel like it just wants to click as soon as possible but it has to wait for the page to fully load in order to click the right button.

The website was made with Mendix-low code

I really hope someone can help/explain what is going in.

Hi @Jelmer_Sikma ,

Did you try to use background processing capabilities of the Click activity such as SendWindowsMessages or SimulateClick to click on the hamburger button?

Any chance you can test the selector my minimizing the attributes selected. For example, did you test by retaining only the class attibute, or only the paretclass attributes?

Well you can wait for the page to load using Find Element activity. In this case the element to find would be a prominent/least likely to change element on the page. The Robot can proceed to click on the Wifi icon once it has determined that the page has loaded.

1 Like

Hi @AndyMenon,

I set the click activity to SimulateClick and the problem is gone now.
Thank you very much for the reply!

Sweet!

Thanks for the update! :slight_smile: :+1:

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