SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Watch folder suite.

    Before I start writing this from scratch,

    Is there anyone here who has created a script ( or something else) that will constantly keep running scripts that are in a folder non-stop. Basically the goal is to be able to start a testscript that will launch script after script in a specified folder, and if new scripts are dropped in the folder, they will eventually make it through the cycle?

    Any help or idea would be nice.

    Thanks in advance.
    N+ CNA

  2. #2
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Watch folder suite.

    Not yet done. But should be a 10 minutes job using Excel Macro or even silktest. Create a suite file for all the .t files in a specified folder. Then you just need to invoke partner.exe from command line to run the .s file.

    Thanks and Regards,
    Harshil

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

    Re: Watch folder suite.

    I plan on using SilkTest, and I was thinking of writing a *.t script which will just launch a *.t from a folder. The problem that i may run into is invoking a script from a script, Not to sure if this can be done, or if it will cause a problems? When I get the desgin all done i will post what i have.
    N+ CNA

  4. #4
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Watch folder suite.

    Sure. If you invoke a script from a script using Sys_Execute, the only issue would be it would take up another of your license. It is better if you do that with some batch file or .vbs script.

    Thanks and Regards,
    Harshil

  5. #5
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Watch folder suite.

    You cannot. Only main or multitestcase can call testcases.

    Can you elaborate on how you are proceeding about it?

    Thanks and Regards,
    Harshil

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

    Re: Watch folder suite.

    Ok, I have the whole system in place and i can drop a test into a folder and it will get process into the cycle. Only one problem, I still am having a difficult time to launch the testcase from a testcase.
    N+ CNA

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

    Re: Watch folder suite.

    I have never used a mutlitestase. Also it' not actually calling a testcase, ( I was not very clear about that, sorry) what I have set up right now is a routine, written in a main function which is trying to execute another instantance of silktest to run the testscript.t file. and when the file silk loads up, it just sit's there, and reports that is waiting the the local agent, and the agent is already loaded up. Hope that is a little bit more clear as to what i am trying to do. Maybe you have a better way or a suggetion.
    N+ CNA

  8. #8
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Watch folder suite.

    Why don't you use a .bat or a .vbs file to invoke Silktest? Does it have to be through Silktest?

    Thanks and Regards,
    Harshil

  9. #9
    Senior Member
    Join Date
    Feb 2004
    Location
    Canada
    Posts
    291
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Watch folder suite.

    I think the problem might be arising because you are using one instance of SilkTest to start another. So when the second one starts it sees that the local agent is busy with the first instance. But of course the first instance is waiting for the second instance to finish so you are at a deadlock.

    I think you would probably be better off writing the control script in another language and avoiding the conflicts between multiple instances of SilkTest.

    Brendan

  10. #10
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Watch folder suite.

    Or, you can have the second script use an opt file which points to an agent on other machine. Provided you have enough licenses available and free.

    Thanks and Regards,
    Harshil

 

 
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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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:56 PM.

Copyright BetaSoft Inc.