I am using Katalon to test a website that requires login.
After I login using Katalon, when I navigate around the website, I am quickly logged out. The same happens if I use the “Navigate to Url” keyword.
I have the same problem both when I’m running an automated test, and also if I’m navigating the site manually using Spy Web. I have the problem with all browsers, when they’re controled by Katalon.
However, if i browse to the site using a browser normally (i.e. not controlled by Katalon), my session stays logged in when I navigate around.
Does anyone have an idea why this is happening?
Many Thanks!
I still don’t know why it’s happening, but I’ve found a workaround.
If i login a second time, after I get logged out, I stay logged in as I navigate around the website.
Hope this helps someone!
It sounds like you’re losing your session the first time around. Is there anything in your test code that calls WebUI.deleteAllCookies()
?
Sorry, but I don’t think your workaround is an answer even though it may seem like it is.