Forum Discussion

fazlook's avatar
fazlook
Frequent Contributor
4 years ago

Make Test Execute ignore windows update popup (desktop testing)

Good day guys,

 

Is there a way test execute could ignore any windows update popup while testing a desktop application on windows?

 

Current issue:

1- AWS gets few updates from a server when they are available (server policy needs to stay on)

2- While TE is running and that pop up shows up, my automation fails due to overlapping window. 

 

Thank you

 

 

  • Hi,

     

    If the Project Options | Project | Playback -> Ignore overlapping window option does not work and this window is the only one that causes the problem, you may consider to implement the OnOverlappingWindow event handler and close/move out of view AWS notification window if it appears.

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    If the Project Options | Project | Playback -> Ignore overlapping window option does not work and this window is the only one that causes the problem, you may consider to implement the OnOverlappingWindow event handler and close/move out of view AWS notification window if it appears.

     

    • fazlook's avatar
      fazlook
      Frequent Contributor

      Let me try that. 

       

      The issue with the win updates window (blue one) is that it blocks everything else and you cannot choose click on anything until you click "View Updates".

      • anupamchampati's avatar
        anupamchampati
        Frequent Contributor

        Generally there is an option to Delay the Windows update for the particular time duration.

        On Test machine generally it is expected to avoid such windows update on daily basis and I hope it is not too frequent from Microsoft as well.

         

        Testcomplete gives an option to Press Enter, Esc and send Close Command on Unexpected window and ignore overlapping and unexpected windows. (Just give them a try but I don't think it will work , we cannot even object spy to windows update blue screen as all application is disabled)