Login page keeps appearing

  • 25 May 2022
  • 1 reply

Userlevel 1
Badge +8

So i am trying to do automation with a very simple steps

Open browser -> Go to website -> Login -> do stuff


But sometimes when doing login after filling ID and Password and clicking enter it goes back to when we are at the login page and of course this makes the automation failed. What could i possibly do to solve this problem


Example :

Login page -> filling ID And Pass -> Enter -> Back to Login Page

1 reply

use if codition for window

if new page doesn't exist and if object ex username filed is empty as should get property of this capture first