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()
}
Prajakta1,
Please check the following to see if this resolves your PerForce issue:
This issue usually occurs in the system where the Perforce command-line client (p4) is not added to the environment path. Try to follow the steps below:
1. In the P4v client, select "Tools | Manage custom Tools | SmartBear - Add to Review" and click "Edit".
2. In the "Arguments" field, add the "--p4 your_current_path_to_p4" option after "--scm perforce".
Note: Don't change any other options.
3. Click "OK", restart the P4v client, and try to reproduce the issue.If the issue still persists after following the steps above, ensure that the path to the "ccollabgui" file in the "Application" field of the "Edit Custom Tool" menu is correct, too.