Forum Discussion

BjoernS's avatar
BjoernS
Occasional Contributor
14 years ago

Unexpected Window

Hi,

i have written a value-varification test with parameters and run the same test with other values 5 or 6 times. I write a  'Unexpected Window'-Eventscript, so the "Value is not valid" window (in my application) will be commented in the log and then it will confirmed.



But after some messages, this messagebox will rise and nothing happend. The window is in front of the application, the Testcomplete run is active, but nothing will happen. It wont be fail, TestComplete does nothing. I must click the "OK" button of my messagebox and then TestComplete will continue the test.

There is nothing in the log, too.



It should be an automated test, so i dont want to click on the "OK" Button to continue the test every time i run this test.



Can anyone help me?

1 Reply

  • Hi,



    It looks like your window causes a lock up. You need to use an asynchronous method call to handle it. See the "Testing Modal Windows" help topic for more information.