﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1770	Script getting pause when popup appears in IE	anonymous	trancexx	"After clicking ""update"" button using below command, a popup is getting displayed in IE. Due to that popup next code is not executing. Execution of the script pauses some where in IE.au3. Once we process the popup manually the execution resumes from IE.au3 and next code gets executed.


Check below code as example. 

Code 1:

MsgBox(1,""Hi"",""Hello"")
_IElinkClickByText($NCIForm,""Update"");<<<POPUP will occur after this command>>
MsgBox(1,""HI"",""POPUP Occurred"");<< this code will not execute until we process the popup manaully>>

Code 2:
MsgBox(1,""Hi"",""Hello"")
_IElinkClickByText($NCIForm,""Update"");<<<POPUP will occur after this command>>
sleep(1000);<< this code will not execute until we process the popup manually>>
if WinExists(""Windows Internet Explorer"") Then
WinActivate(""Windows Internet Explorer"")
send(""{Space}"") 
EndIf

Above code is getting execute correctly when i comment the _IElinkClickByText statement and click the button manually. Check below code



Code 1:

MsgBox(1,""Hi"",""Hello"")
;_IElinkClickByText($NCIForm,""Update"");<<Clicking update button manually but not processing the POPUP>>
MsgBox(1,""HI"",""POPUP Occurred"");<< this code will execute even if there is popup>>

Code 2:
MsgBox(1,""Hi"",""Hello"")
;_IElinkClickByText($NCIForm,""Update"");<<Clicking update button manually but not processing the POPUP>>
sleep(1000);<< this code will execute and process popup correctly>>
if WinExists(""Windows Internet Explorer"") Then
WinActivate(""Windows Internet Explorer"")
send(""{Space}"") 
EndIf

"	Bug	closed		AutoIt	3.3.6.0	None	No Bug		brajesheee@…
