SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Dec 2000
    Location
    Seattle, WA, USA
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Triggering activity on an abort...

    Aborting a script seems to bypass TestCaseExit and ScriptExit. Does anybody know a way to cause code to be executed after an abort is triggered?

    Matt

  2. #2
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Triggering activity on an abort...

    What kind of abort are you talking about?

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Location
    Seattle, WA, USA
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Triggering activity on an abort...

    Either Shift-Shift or Run menu/Abort.

  4. #4
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Triggering activity on an abort...

    From what I understand there is no way to accomplish this, but I could be wrong. Typically I try to enhance the default error recovery system so that no matter what state the system is in, whether I stopped a testcase with shift-shift or the testcase breaks in the middle, I can get the whole system back to the base state, and start the next testcase. None of my testcase have depencies on another. They can all be run independently and in randomized order. I know this is not what you are looking for but I hope it helps.

  5. #5
    Junior Member
    Join Date
    Dec 2000
    Location
    Seattle, WA, USA
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Triggering activity on an abort...

    That's what I normally try to do too, but we want to write out some formatted HTML results in multiple files all hyperlinked together. It's a rather intensive activity that we only want to do once. We could write the files out and update data every so often but that's even more of a nuisance than just overwriting the files.

    Unless someone has a better idea I'm probably just going to spawn a thread to poll a file. If the file gets updated in a certain way the script will write the results and abort the test. It's not pretty but it should work.

    Matt

 

 

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 09:21 AM.

Copyright BetaSoft Inc.