Login object cannot be found anymore
Hi,
the web site that I'm testing uses Basic authentication for the login.
Lately, I cannot access to the "Login" form anymore.
I don't understand the reason behind this. In my remember, I've not changed anything on the browser configuration, probably the browser is updated to a newer version (I mainly use Edge, and the current version is 92.0.902.55) but there is the issue also using other browsers.
When code worked, the Login window was a direct child of the "page" element, and I did the login with this code:
let page = Sys.Browser().Page("*");
if (page.WaitChild("Login", 3000).Exists)
{
let login = page.Login;
login.TextBox("UserName").Keys(shellUser);
login.TextBox("Password").Keys(shellPsw);
login.Button("OK").ClickButton();
}
so, using the Login object, like documented here: https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/general/login/index.html
Now, the Login object doesn't exist anymore.
Do you have an idea of the reason behind this and, eventually, how to solve it?
Thanks!
Simona