SPONSORS:






User Tag List

Results 1 to 4 of 4

Thread: Recovery

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Recovery

    I have a complicated POS software NT based.The only way to recover is to cash out from the supervisor pc.In vb we had a function called ON ERROR.Do we have this in silktest.I need to have a stable recovery on any error go to this function.

    ANy help

    ------------------

  2. #2
    Senior Member
    Join Date
    Dec 1999
    Location
    Sarasota FL USA
    Posts
    109
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery

    There is a function called Do Except. If any of the statements in the Do section fail, then the code in the Except section will execute. Depending on your code you may have to use several Do Except's.

    ------------------

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery

    Silktest has a TestCaseExit function, which is automatically called when the testcase ends. You can tell within this function whether it has ended naturally or whether an error caused it to end; you might be able to use this to recover appropriately.

    ------------------

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery

    as our friends says use Do except for a limited scope. For a broader scope create and use App Status whenever you want system to go to a particular point of application. And also use raise an exception and handle it so that u can have a record of it in .res file.

    ------------------
    Sree
    Sree

 

 

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 12:50 PM.

Copyright BetaSoft Inc.