SPONSORS:






User Tag List

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)

    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)

    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
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 03:47 PM.

Copyright BetaSoft Inc.