Ask a Question

Login object cannot be found anymore

SOLVED
simonaferrara
Frequent Contributor

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/in...

 

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

10 REPLIES 10
sonya_m
SmartBear Alumni (Retired)

Thanks everyone for this great discussion.

To sum this up, I found @simonaferrara's ticket (00485161), they were able to solve this using a patch provided by our support engineer.

So, please do contact support for similar issues.


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: