Ask a Question

Login object cannot be found anymore

SOLVED
simonaferrara
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

1 ACCEPTED SOLUTION

Accepted Solutions
sonya_m
Community Manager

Re: Login object cannot be found anymore

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

Join Wintertainment 2021 to share your stories, have fun, earn community badges, and more!

View solution in original post

10 REPLIES 10
Marsha_R
Community Hero

Re: Login object cannot be found anymore

What version of TestComplete are you on?  Did you upgrade recently?

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
simonaferrara
Contributor

Re: Login object cannot be found anymore

Hi @Marsha_R , I've got the following version: 

Version: 14.81.217.7 x64

 

Marsha_R
Community Hero

Re: Login object cannot be found anymore

I would contact Support directly with your question.  Here's the link:

https://support.smartbear.com/testcomplete/message

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
DanNad
Occasional Contributor

Re: Login object cannot be found anymore

I have the same problem with the Confirm Object also testing with Edge Browser (support ticket already opened). On 23rd of July everything worked fine and after the weekend Confirm Object couldn't be clicked anymore.  Maybe R & D needs to take a closer look at this.

simonaferrara
Contributor

Re: Login object cannot be found anymore

I've opened a ticket for the Login issue and it is on-going, hoping a solution will be found because, for me, it blocks all tests for pages using basic authentication. 

 

Regards,

Simona

Marsha_R
Community Hero

Re: Login object cannot be found anymore

@DanNad Open your own support ticket at the link I posted above.  Multiple reports will help the research effort.

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
AlexKaras
Community Hero

Re: Login object cannot be found anymore

Hi,

 

 Edge, [...] version is 92.0.902.55

> [TC] Version: 14.81.217.7 x64

This seems not to be documented, but considering the fact that Edge is now based on the Chromium engine, I wouldn't be wondered if proper Chrome patches are required to make it possible for TestComplete to control latest Edge versions.

As per https://support.smartbear.com/testcomplete/downloads/chrome-patches/, Chrome 92 is supported by TC 14.91 only.

Do you mind to upgrade TC (on one of your boxes) and check if it helps?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
DanNad
Occasional Contributor

Re: Login object cannot be found anymore

@AlexKaras 
I dont know about the Login (if it'll be fixed) because i contacted support only regarding the Confirm Object.
I can tell that for Edge (Chromium based) there will be a fix included in Testcomplete Version 14.92 for the Confirm Object
AlexKaras
Community Hero

Re: Login object cannot be found anymore

@DanNad :

Got it, thank you for the information.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: