Debugging step-by-step works but fails in one go - Studio Web

I have an automation in Studio Web. It turns out that if I run the automation without interruptions, it reaches the screen where it needs to log in, enters the username and password, and then when it clicks the “enter” button, it returns to the initial screen.
If I place a breakpoint on the “enter” button and debug step by step, the automation proceeds correctly.
It seems that it does not wait for the next screen to load after clicking the “enter” button when the automation runs normally.

What could be happening?

Hi @Matias_Clemente.Arg

Usually in debug mode, bot works slowly unlike in run mode.

So, after enter button, try putting element exists for some label/text box etc from next screen to check whether next screen is loaded or not.

If true then only proceed with further activities.

Also , enable properties like “wait for ready-complete” for elements ti load

1 Like

@Matias_Clemente.Arg,

Use Check App State activity to check and UI element appears after clicking on enter. This will make sure that bot will wait till the after login age appears.

1 Like

@Matias_Clemente.Arg

  1. Use a check app state as mentioned by others
  2. If there is a separate use app browser you are using after that step then make sure open property is set to never for that
  3. Alao adding a little delay after the enter click also might help

Cheers

1 Like

Hello @Matias_Clemente.Arg

Is there perhaps a Login button you could click in stead of sending key “Enter”?

If possible then I would use a Click activity and set validation on the activity, to look for an element within the application - perhaps the Logout button.

Regards
Soren

2 Likes

Hello! As it was already answered, you can use a check app state activity, or you could add some harded delays before and after the click event:

1 Like

Thank you, but I am working in Studio Web and did not find that option among the available ones.

The property “wait for ready-complete” is available on the studio web ?

Thank you, this worked for me.

1 Like

Ah sorry - I missed that part.
Glad you found a solution :smiling_face:

1 Like

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