Forum Discussion

marcello1975's avatar
11 years ago

"Expected window" being catched as "Unexpected Window" During playback;




1 - I fill up some rquired fields;

2 - I press "save" button;

3 - System pops-up a confirmation dialog;

4 - I press "OK" (go ahead and save it);

5 - Popup is closed and the form windows comes back to the top;

6 - Playback wait some seconds and it stops, reporting "Unexpected Window"



This window is expected, because it is my form where i typed in the values and pressed "save" button...



Does anyone have idea about this issue i got?



Att,

Marcello Ribeiro


  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    I have also experienced this issue. I ended up having to disable the unexpected window event in Test Complete. The alternative would be to add an event for on_unexpectedwindow and add custom handling and set the log to Log.Enabled = false. It can be disabled in Tools>Current Project Properties>Playback>On unexpected window>Ignore unexpected window.