Jump to content

Recommended Posts

Posted

Hi,

I need to develop a code through AutoIT for an POPup on Chrome browser.

So far have written also for same but it inputs username and password on the UI but on Clicking LogIn it vanishes and Login doesn't Take place.

Unable to Identify where is the Bug as I am a Novice for working on AUto IT.

Need a Resolution Urgently.

Attaching screenshot for same.

 

Capture_popuphandler.PNG

  • Moderators
Posted

@Swatcat welcome to the forum. In the future, please post your code using the Code Tags <>. Pictures are for Facebook, and forcing people to rewrite your code line by line discourages many from trying to assist you.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Hi ,

I need to automate windows popuphandler through Chrome. 

I have developed below code , it inputs username and password but popup again appears and Login doesn't take place.

Also, I need to execute the below code in Vm ware.

Please could you all help me out as to where the code is wrong and what all enhancement need to be implemented.

<>

ShellExecute("chrome.exe", "URL","","")
WinWait("URL","","10") ; this is the name of the window, according to AUTOIT v3 window info
If WinExists("URL","") Then
WinActivate("URL") ; set control to the window for proxy authentication
Send("usr{TAB}") ; send username and press TAB
WinActivate("URL") ; again set control to our window, in case that we have clicked somewhere else
Send("pwd{ENTER}") ; send the password and press enter
EndIf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...