SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Jan 2002
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    auto start silk script

    I want to SilkTest (5.0.3.1) to start my testscript
    (i) everynight at 5:00am, or
    (ii) when a file (eg: build.done) is created.

    Can I do that in silk?

    Moreover, I don't know why my testcase(i) start before testcase(i-1) finish.
    Or even 4 testcase running simualtously.
    How can I make them run in sequence


    Thanks,
    Anthony

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

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

    Re: auto start silk script

    We do not have any scheduler in Silk as such. If you wanna have yr testcases be dependent use create application status and appstate qualifier after yr testcase name.

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

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    There is no scheduling built in to SilkTest but you can run from the command line using the partner command (check Command Line Switches in the help). This allows you to run tests from any old scheduler or create a batch file to run multiple tests.

    Hope this helps.

    Paul

    ------------------
    Paul Tucker
    Merit AT
    www.merit-at.com

  4. #4
    Senior Member
    Join Date
    Oct 2000
    Location
    Laurel, Maryland, USA
    Posts
    204
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by AnthonyLo:
    I want to SilkTest (5.0.3.1) to start my testscript
    (i) everynight at 5:00am, or
    <HR></BLOCKQUOTE>

    A very simplistic (and not very flexible) way to do this is to put in a sleep statement in your script. If you kick it off at 5pm, put in a 12 hour sleep. The scheduler suggestions are much better in my opinion.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by AnthonyLo:

    (ii) when a file (eg: build.done) is created.

    <HR></BLOCKQUOTE>
    Your script can check for file existance - put in a while loop that checks for the file, and keep looping until it appears.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by AnthonyLo:
    Moreover, I don't know why my testcase(i) start before testcase(i-1) finish.
    Or even 4 testcase running simualtously.
    How can I make them run in sequence
    <HR></BLOCKQUOTE>

    How are you running your tests? Are you using a plan file? I've never had this problem before.


    ------------------
    Atlee

    [This message has been edited by awhiteleather (edited 02-04-2002).]
    Atlee

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

    Re: auto start silk script

    if you are looking at net execution time make sure that you deduct all these sleep times. More over keeping Silk awake for that much of time is suicidal Its prone to crash.

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

  6. #6
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    Use AT command.

  7. #7
    Member
    Join Date
    May 2003
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    I've done this by creating a simple loop...
    Our builds are started at the same time every night, so I basically have a loop that checks the time (using large sleep increments), once it's at about the right time, I check for file existence (using smaller sleep increments)...

    I've had it loop in this fashion for more than 12 hours and never had Silk crash...

  8. #8
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    Anthony,
    See the post "How to overcome MSDOS AT command which causes Dr. Watson "

    You can create one batch file and use AT command to schedule.
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  9. #9
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    There is a shareware/freeware?? GUI application you can download that makes the AT command very easy to use. Called WinAT; originally came with the NT Resource Kit. You can download it at http://www.answermonkey.net/App_WinAT.htm

  10. #10
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: auto start silk script

    Originally posted by sree:
    if you are looking at net execution time make sure that you deduct all these sleep times. More over keeping Silk awake for that much of time is suicidal Its prone to crash.
    <font size="2" face="Verdana, Arial, Helvetica">Wait a minute here, I have been planning for six months now to have silktest run scripts 24/7/365.... and when a new build comes out to run a series of test check the validity of the build, Now you are you saying that silktest will not run let's say for like 75 straight hours(as long as nothing causes a system failure) If silk test is prone to crash test how do you run a script's for day's at a time non-stop(regression testing)????
    N+ CNA

 

 
Page 1 of 2 12 LastLast

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 06:02 PM.

Copyright BetaSoft Inc.