SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    BaseState Function over-write

    I thought this could be useful for someone:

    Reasons to use them(problem that can solve):

    1)if you keep seeing a browser coming up after the end of your testcase.

    2)if you want to set your own base state to the test case.

    Sol:
    Define the following 2 functions in any .inc file that you use. It has to be called by the test case.

    TestcaseEnter()
    TestcaseExist()


    //ignore the following; just to help you ppl searching

    basestate
    base state
    overwrite basestate function
    appstate none



    [This message has been edited by GodKnows (edited 12-12-2001).]

  2. #2
    Guest

    Re: BaseState Function over-write

    I think that it is a SilkTest bug that makes the browser window reappear at the end of the test.
    I have not yet had a chance to investigate this in detail.
    It seems to happen whenever the machine handle is pointing to a REMOTE agent at the end of the test.
    (perhaps only for multi-threaded tests ?)

    My fix is to just recreate SilkTest's default TestCaseExit(), and add a SetMachine() to the local machine.

    Comments ?


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

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: BaseState Function over-write

    I fix these same problems by never setting a basestate, and handling my own errors.

    MikeF

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

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: BaseState Function over-write

    We just close all browser in TestcaseExit().
    Don't want to know what they(Segue) did wrong.


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

 

 

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 04:19 AM.

Copyright BetaSoft Inc.