Forum Discussion

tehilac613's avatar
tehilac613
New Contributor
13 years ago

Resume step after Error

My Application based on Flex objects.I'm using VB script. I need to close an unexpected pop up window but TC does not support unexpected windows in Flex. I Succeed to close the PopUp window in 'OnLogError' Event but now it continue running from the next step. I need it to resume the step before the failed.what should I do?

3 Replies


  • Hi Tehila,


     


    Let me quote the "Handling Unexpected Windows" article:


    To handle unexpected windows in Flash, Flex and CLX applications, use the WaitWindow or FindChild method to check if a modal window appears after your test performs actions that can lead to this.


     

  • tehilac613's avatar
    tehilac613
    New Contributor
    Hi Tanya!

    Thanks for the answer

    But the problem is that I don't know when the unexpected window will appear

    So this solution will not help me.

    Do you have another idea?