#1770 closed Bug (No Bug)
Script getting pause when popup appears in IE
| Reported by: | anonymous | Owned by: | trancexx |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.0 | Severity: | None |
| Keywords: | Cc: | brajesheee@… |
Description
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
Attachments (0)
Change History (7)
follow-up: 3 comment:1 by , 15 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
I know it is not support forum. Next line of code is not getting executed when ever popup occutrs is an issue with the tool not with code.
comment:3 by , 15 years ago
Replying to Valik:
This is not a support forum.
Raj2010:I know this is not support forum. Next line of code is not getting executed when ever popup occutrs is an issue with the tool not with code.
comment:4 by , 14 years ago
| Milestone: | → 3.3.7.22 |
|---|---|
| Owner: | set to |
| Resolution: | No Bug → Fixed |
Nothing changed here.
I specified wrong bug id that resulted in raising this one. Error on my side.
comment:5 by , 14 years ago
| Resolution: | Fixed |
|---|---|
| Status: | closed → reopened |
comment:6 by , 14 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | reopened → closed |

This is not a support forum.