| || |
Application window unexpectedly closing
I am attempting to automate a VB application and when I am using the Identify Utility in Test Partner, the VB unexpectedly closes.
I can manually process thru the application. But, when I attempt to record the keystrokes, the window will close as soon as I click on it. The click is recorded and then the window immediately closes. This is what was recorded:
' Attach to Order Completion
VBWindow("Order Completion VBWindow").Attach
VBWindow("Image Viewer VBWindow", tpAttachChild).Attach
ActiveX("Name=flxToolbar ClassName=MSFlexGrid").MouseDown 54, 335
Any ideas as to what can be causing this window to close? I am using TestPartner 5.2.1 Build 183.
Re: Application window unexpectedly closing
Call compuware. They are actively tracking down issues like this. I have an issue open with them for precisely the same behavior in TP 5.6, where IE will spontaneously close. The more information and examples they get, the easier it will be for them to track it down and correct it.
BTW, have you tried upgrading to the lastest release and see if the same thing happens?