Chrome Login popup not detected
TestComplete
Version: 15.31.374.7 x64
Browser: Chrome Version 99.0.4844.51 (Official Build) (64-bit)
Running: Locally
Issue:
I've been using the below piece of code for 6+ months and occasionally it fails and will not identify the login fields to populate the username and password, is there a better more reliable way to handle this ?
if(page.WaitLogin(3000).Exists)
{
Aliases.browser.pageSignOut2.Login.UserName = Project.Variables.Username;
Aliases.browser.pageSignOut2.Login.Password = Project.Variables.Password;
Aliases.browser.pageSignOut2.Login.buttonOk.Click()
}
Ive also tried the below which has occasionally worked but at the moment its not.
if(page.WaitLogin(3000).Exists)
{
// Aliases.browser.pageSignOut2.Login.textboxUsername.Keys(Project.Variables.Username);
// Aliases.browser.pageSignOut2.Login.textboxPassword.Keys(Project.Variables.Password);
// Aliases.browser.pageSignOut2.Login.buttonOk.Click()
}
Hi, it seems this issue was resolved in Version: 15.40.421.7 x64 as after I updated its back working again, without any changes to scripts. Out of curiosity I then ran the same code on the VM which failed for the same issue originally reported so I logged into the VM and updated TestClient, now the runs from DevOps are working again, thank you.