SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    how to force stop execution of scheduled scripts

    Hi guys,
    I tried searching in the forum for the answer, but didn't get any related answers.
    here is the scenario. I've some QTP scripts and I've some vbscripts to execute those QTP tests that are scheduled via windows scheduler. I setup the schedule times so that there is ample time in between execution. However, there are times when one scripts take too much time to complete due to some errors and the next vbscript which is schedule to run will complain that the application is busy since the previous qtp test didn't finish running yet.

    I am sure at one point some of you have come across this same issue, how did you solve it?
    I was thinking to add few more lines in the vbscript to check if qtp is running and if it is then kill it and then launch it again to run the qtp test.
    my next step is to try multiTestManager and see how it works.
    Any other ideas?
    "God doesn't play dice" - Einstein

  2. #2
    Senior Member
    Join Date
    Jan 2006
    Location
    Stockholm, Sweden
    Posts
    371
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to force stop execution of scheduled scripts

    Hi,

    You could save/read execution status for each test in a common file (I use a database)

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: how to force stop execution of scheduled scrip

    Use a Windows Environment variable to report that there is executing running on that time.

 

 

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 11.54%
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 04:17 PM.

Copyright BetaSoft Inc.