SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Handling Un-Expected window

    Hi,
    I am using TestComplete to automate one of the metering application.
    It will take more than one and half an hour to execute the entire script of the application.Meanwhile when the scripts are executing application is hanging and "Problem encountered in the application" unexpected window is appearing which is interrupting my script execution.
    The unexpected window is having a close window. clicking on close button is closing the unexpected window and inturn the application.
    Note: This Unexpected window can come anytime during the script execution.
    To handle this unexpected window, we have used handler operation.
    Following are the steps followed:
    1.Click on General events and selected "Un expected window" events handler. On the right pane again selected "Unexpected window handler" and click on New option.
    2.Clicked on New unit and Created a script called "UnExpectedwindowHandler".
    3.Inside the script , a blank subroutine automatically got declared.
    4. We gave the Reference of the unexpected window and waited for it.Gave a condition, if that exists, clicked and close button in the unexpected window and give a log message and continue the execution.
    5.Added USEUNIT UnExpectedwindowHandler in the other scripts.
    Even after this unexpected window is not taken care, it is not doing operation.
    Is my step to handle unexpected window correct.
    If not correct, can you please guide me on how to handle the unexpected window and continue the script execution.
    It would be great if it is explained by a sample code.
    Note: I don't want to stop the execution.

    Thanks in Advance,
    Tejeshwini

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Un-Expected window

    Hi,

    You can find a possible solution here.
    Jared - AQA Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:49 AM.

Copyright BetaSoft Inc.