SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    wsh
    wsh is offline
    Junior Member
    Join Date
    Jun 2001
    Location
    Downers Grove, IL, USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make Silk run tests multiple times

    Anyone know how to make Silk run marked tests from the testplan multiple times? I want to be able to run the marked tests from the testplan, but sometimes want each test to run a few times. Can I add a function or a loop to the testplan itself so I can control it from there without having to code it into each testscript. Thanks in advance!

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

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Location
    Tampa, FL, USA
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make Silk run tests multiple times

    Why not just create a testcase (we'll call it TestA) with a for loop in it and make calls to the other testcases. So if your other testcases were called TestB, TestC, and TestD then your code would look like this:
    testcase TestA appstate none
    &nbsp for(i=1;i<5;i++)
    &nbsp &nbsp TestB()
    &nbsp TestC
    &nbsp TestD

    this would execute TestB 4 times then execute TestC and TestD once. you could change it around but that is the general idea.

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


    [This message has been edited by UsfJam (edited 06-01-2001).]

    [This message has been edited by UsfJam (edited 06-01-2001).]

    [This message has been edited by UsfJam (edited 06-01-2001).]

    [This message has been edited by UsfJam (edited 06-01-2001).]

  3. #3
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make Silk run tests multiple times

    You can't do what you're asking. You can write a wrapper function, which you pass a testcase to, and the # of times you want to run it.

    You can also create a master plan and include: the subplan several times. It's kludgy, but it will work.

    Email me for more details on what you're trying to do.



    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

  4. #4
    wsh
    wsh is offline
    Junior Member
    Join Date
    Jun 2001
    Location
    Downers Grove, IL, USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to make Silk run tests multiple times

    I tried that and got the following error:
    A testcase cannot be called from a testcase. Any other suggestions?

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

 

 

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:14 AM.

Copyright BetaSoft Inc.