Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3652 closed Bug (Rejected)

Window Bug

Reported by: tanaynigam12@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Close Window Cc:

Description

Hi Team,

I have an issue with a specific window that pops up during an installation. The error message window "Allscripts Pro EHR Client - InstallShield Wizard" does not close regardless of any implementation of AutoIT script tested on it. While the mouse clicks work manually or either of "Enter" or "Escape" work using the keyboard, they fail to close the window when implemented using the AutoIt script.

The scripts work perfectly fine throughout the implementation, which includes closing other windows and regular mouse clicks in any other window except this specific window.

On an attempt to debug the script, it appears that WinWait and WinActivate do return the Window Handle suggesting that the script detects the window. Moreover, any of the implementations of WinClose, ControlClick, MouseClick, and WinKill return value 1 indicating success. However, these do not close the window in any form.

Best Regards,
Tanay Nigam

Attachments (3)

AutoIt Window Info.jpg (140.8 KB ) - added by anonymous 8 years ago.
Script.jpg (84.8 KB ) - added by anonymous 8 years ago.
Window.jpg (91.1 KB ) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (6)

by anonymous, 8 years ago

Attachment: AutoIt Window Info.jpg added

by anonymous, 8 years ago

Attachment: Script.jpg added

by anonymous, 8 years ago

Attachment: Window.jpg added

comment:1 by BrewManNH, 8 years ago

Resolution: Rejected
Status: newclosed

This is a question that you need to ask in the forum first, as there's no bug reported, and no script that demonstrates a bug posted.
Closing this.

comment:2 by anonymous, 8 years ago

Hi BrewManNH,

Thanks for the response. The AutoIt tool is unable to perform any function on this specific window for no apparent reason. Having detected the window and return the Window handler using WinWait and WinActive, it appears that the tool reads the Window and all the variables related to the window including the 'OK' button.

Having tried WinClose, MouseClicks, ControlClick and any other related function on the Window, we found that it wasn't executing any of the functions that it normally does(We have executed the same function on numerous other Windows of the application successfully). Even MouseClick function seems absolutely unresponsive which has never happened. Moreover, these functions return the value 'successful' making the bug more absurd.

Given the state of the issue, it can only be concluded as an AutoIt bug since nobody is able to reason out the inconsistency in the execution.

comment:3 by Melba23, 8 years ago

Quote/

Having tried WinClose, MouseClicks, ControlClick and any other related function on the Window, we found that it wasn't executing any of the functions that it normally does(We have executed the same function on numerous other Windows of the application successfully

/Quote

So how do you come to the conclusion that it is an AutoIt bug? If AutoIt interacts with other windows then the AutoIt code is certainly working - it must be something to do with this particular window which prevents AutoIt interaction. This is not uncommon with some apps (particularly games) - perhaps this is another case. Have you contacted the app developers to see if there is any reason why this "error" window (perhaps a hint in the type of dialog?) does not accept script interaction?

M23

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.