Forum Discussion

Jessie_li's avatar
Jessie_li
Occasional Contributor
12 years ago

Does TC 9.20 support firefox 26?

Hello



I am using TC 9.20, I want to ask whether it support firefox version 26 or not?



Because I found GeneralEvents_OnUnexpectedWindow event will not fire on firefox, but it is working fine in IE and Chorme.



Could anyone give me hint to resolve this problem? Many thanks.

5 Replies


  • Hi Jessie,


     


    According to this page, Firefox 26 is officially supported in TestComplete 9.31 (when installing special modules). So, I suggest that you update your product version.


     

  • Jessie_li's avatar
    Jessie_li
    Occasional Contributor
    Hi Tanya,



    Thanks for your reply.



    Actually I wanted to know whether TC 9.20 support GeneralEvents_OnUnexpectedWindow event on firefox?
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 2 rankChampion Level 2
    Hi Jessie,



    OnUnexpectedWindow event has no specifics as for the tested application. This event is triggered when your test code tries to execute some UI-related action over some window and the access to this window is blocked by another (usually - modal) window.

    The mentioned UI-related actions are: .Click(), .Activate(), .Keys() and the like.

    For example, the OnUnexpectedWindow event will be triggered if the test code tries to click some window and this window is overlapped by the Open File system dialog.

    At the same time, this event will not be triggered if test code reads .Caption property of the same window. The event will not be triggered because test code in this case just reads some property but not tries to put the window in the foreground.

    So, in your case, you need to:

    a) Examine if the unexpected object is a window or just some web UI element that looks like a window (e.g. DIV element);

    b) Examine if the unexpected window is a modal one, i.e. does it block an access to the underlying window;

    c) Check if your test code tries to perform an action over the underlying window that (action) requires the window to be put in the foreground.



    OnUnexpectedWindow event must be triggered only if the positive answer is given to all three points above.
  • Jessie_li's avatar
    Jessie_li
    Occasional Contributor
    Hi, Alexei,



    The unexpected window I tested meet your three points, I also tested it both in IE8 and Chrome browser, it can be triggered with IE and Chrome, but only can not be triggered on firefox with the same script, so I raised this question whether TC 9.20 support OnUnexpectedWindow event on firefox? I'm very appreciated that you could confirm it or give some suggestion. Thanks!
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 2 rankChampion Level 2
    Hi Jessie,



    I am not working for SmartBear, so I cannot confirm.

    If you can provide a link to the problematic page or an html sample (along with the test code sample) that can be used to reproduce the problem you are observing, this may make it possible for others (including SmartBear's Support) to check if they have the same problem on their systems.