SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member
    Join Date
    Aug 2005
    Location
    Chicago - Bangalore
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Scheduling to Run Scripts

    Hi

    I did not get proper help from the archived posts.
    Does anybody know how to Schedule to Run Script using TestPartner 5.4. (Using Command Prompt or ...)
    OR
    Is it the only way that we could do thru QA Director.

    Thanks,
    Subhash

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Wisconsin, USA
    Posts
    5,338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    I believe you would have to set up the schedule through QADirector.

  3. #3
    Senior Member
    Join Date
    Aug 2005
    Location
    Chicago - Bangalore
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    Thanks for the reply.

    I hvae a Main Driver Script that I can run in batch.

    "--- just set up a scheduled event to run the batch program at the time you want----"

    How to do the above, do you do with command prompt as we do in QA Load or ? Can you let me know?

    Thanks,
    Subhash

  4. #4
    Senior Member
    Join Date
    Sep 2004
    Location
    Toronto, Canada
    Posts
    555
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    I wrote an app in VB that would show me all the projects and scripts in the TestPartner Database, let me chose the ones I wanted to run, organize them in the order I wanted them run, let me pick when I wanted to run them, and let me run them on ANY machine in my test lab. The last part of this was accomplished using a 3rd party tool (called DoIt) that let one machine tell another machine what to run on itself.

    It was pretty good, but not perfect. Pretty easy to write if you have the time.

    But the easiest thing to do is simply create you batch file ahead of time, and on the machine you want to run them, just set up a scheduled event to run the batch program at the time you want.

    Aracknid.
    TestPartner:
    Current AUT running test scripts on TP 6.3 build 183, SQL 2000 DB.
    Legacy AUT running on TP 5.6.0 Build 81 and TP 6.2 build 449 with SQL 2000 DB.

    Test Environment:
    TP/IE Clients on VMWare ESX 4.1 server, AUT Servers on VMWare ESX 3.5 server.

    Application Under Test (AUT):
    Client/Server based, IE 7/8 interface with SQL 2005/2008 DB.

    Automating with TP since August 2004.

  5. #5
    Member
    Join Date
    Jul 2003
    Location
    Germany
    Posts
    458
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    use command line tools tp together with at. Call "tp" on command line without any parameters for help and "at /?"

  6. #6
    Senior Member
    Join Date
    Nov 2002
    Location
    Lausanne, Switzerland
    Posts
    558
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    Use the Windows Task Scheduler.
    Start->Settings->Control Panel->Scheduled Tasks->Add Scheduled Task. there you can define when you want to execute your batch program.

  7. #7
    Senior Member
    Join Date
    Sep 2004
    Location
    Toronto, Canada
    Posts
    555
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    Yeah, what jmi said [img]images/icons/smile.gif[/img]
    TestPartner:
    Current AUT running test scripts on TP 6.3 build 183, SQL 2000 DB.
    Legacy AUT running on TP 5.6.0 Build 81 and TP 6.2 build 449 with SQL 2000 DB.

    Test Environment:
    TP/IE Clients on VMWare ESX 4.1 server, AUT Servers on VMWare ESX 3.5 server.

    Application Under Test (AUT):
    Client/Server based, IE 7/8 interface with SQL 2005/2008 DB.

    Automating with TP since August 2004.

  8. #8
    Senior Member
    Join Date
    Aug 2005
    Location
    Chicago - Bangalore
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    Jimi/Arackind,

    Could you please give me the Path (Example) that I have to mention on the Scheduler Task

    Run: Path.....
    Start in Path ....

    Thanks,
    Subhash

  9. #9
    Senior Member
    Join Date
    Aug 2005
    Location
    Chicago - Bangalore
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    Q.A.Tom,
    As you said with Command Prompt the below works in Running the Script
    tp -d TestPartnerSQL -u XXXXX -p YYYYYYY -r ZZZZZ -s Test3

    BUT

    Using the at command with INTERACTIVE to Schedule is not working and below is the Command

    AT 10:20 /interactive tp -d TestPartnerSQL -u XXXXX -p YYYYYYY -r ZZZZZ -s Test3

    Am I doing an mistake here, Please let me know

    Subhash

  10. #10
    Senior Member
    Join Date
    Jul 2006
    Location
    Bangalore, India
    Posts
    128
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scheduling to Run Scripts

    Did you try to use Scheduled Task Wizard :

    Start->Settings->Control Panel->Scheduled Tasks->Add Scheduled Task.

    This is GUI version of "At" command

    Here you can run it at a customised time. This is probably requires Admin account to run.

    Hope this helps

    Shrini
    Shrini Kulkarni
    Test Consultant
    Bangalore

 

 
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 8.57%
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 11:41 AM.

Copyright BetaSoft Inc.