Swatcat

PopupHandler_ Need urgent Help

5 posts in this topic

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

Share this post


Link to post
Share on other sites



@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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

surely but for now cud u help me this code

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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