SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Java extension preventing application from shutting down

    Hi:

    Have any of you other Java testers run into this ?

    I need to completely shut down my Java application during a test and restart it.

    It looks to me like the Java extension is preventing application from closing.

    I tried closing it with JavaMainWin.Close() and JavaMainWin.CloseBox.Click().

    I quickly tried a few things like Agent.FlushEvents(), Disconnect(), etc.

    So far, I have not been able to release the application so it can close.

    -Rob

    [This message has been edited by RobKapteyn (edited 02-12-2001).]
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Java extension preventing application from shutting down

    I figured it out.

    I need to use the Exit() method.

    I didn't use this because I have a confirmation dialog box to click "Yes" on.

    All I needed to do is:

    Agent.SetOption (OPT_CLOSE_CONFIRM_BUTTONS, {"Yes"})
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:14 AM.

Copyright BetaSoft Inc.