My desktop automation stops unexpectedly

Hi everyone, i have a problem with my desktop automation, i work on a windows application, in 9 or 10 executions the automation work without problem, but next of this, the execution stops in this window:

The automation should be select the button 1 and and continue with the others, but the execution stops, doesn’t select the button 1 of the Windows file explorer. Can you help me plis?

can you share error logs please

Hello, in the log show this, but is strange error, beacuse in previous execution the automation continue in this part with out any problem

from screenshot, it couldn’t find element. can you add/update unique locators ?

did you try updating the locators and worked?

Yes, I used Xpath but it doesn’t work and Katalon shows an error “No such element”, if I use the Name parameter, Katalon doesn’t show any error, only in the log I can see what happened

with name parameter does it work for you?

With name parameter the automation work in 9 or 10 executions without problem, but next of this, doesn’t work anymore. The parameter has not changed.

what exactly you are refering?

I am just guessing here: but when you open the file explorer, it sometimes opens on the last accessed place, from where you last opened a file.
In this case it is ‘Bibliotecas’.
Maybe the button has a different xpath when it is already clicked (when it is in the state with the “frame” over it that shows the button is selected)
And it worked before because it was not already selected then.

or what is weird to me is that in the log, the name is “Bibliotecas\r\n”
the \r\n is weird to me, maybe it is correct but only you can check that.

Hi there Manuel @mgarcias, :wave:

Just checking in to see if you were able to resolve your issue via one of the replies here or elsewhere yet.

If yes, then could you help to either:

  • Mark a reply here as a solutions :white_check_mark:, or
  • Share the solution that you found here so that other member can refer to it in the future.

If not, then could you help to follow up with the other members in this thread?

Please note that we’ll auto-close this thread after 2025-02-27T16:59:00Z if there are no further follow up from your side.

Thanks,
Albert

@mgarcias can you confirm on your issue resolution?