#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)
comment:1 follow-up: ↓ 3 Changed 14 years ago by Valik
- Resolution set to No Bug
- Status changed from new to closed
comment:2 Changed 14 years ago by anonymous
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 in reply to: ↑ 1 Changed 14 years ago by anonymous
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 Changed 13 years ago by trancexx
- Milestone set to 3.3.7.22
- Owner set to trancexx
- Resolution changed from No Bug to Fixed
Fixed by revision [6439] in version: 3.3.7.22
comment:5 Changed 13 years ago by Jpm
- Resolution Fixed deleted
- Status changed from closed to reopened
comment:6 Changed 13 years ago by Jpm
- Resolution set to No Bug
- Status changed from reopened to closed
comment:7 Changed 13 years ago by TicketCleanup
- Milestone 3.3.7.22 deleted
Automatic ticket cleanup.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
This is not a support forum.