SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    SQA Knight bklabel1's Avatar
    Join Date
    Sep 2012
    Location
    Kew Gardens, United States
    Posts
    2,596
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    2 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0

    Did the scheduler start?

    UFT 12.02
    ALM 12

    Some machines do not always launch the objScheduler using
    objScheduler.Run

    On some machines it always works. In other cases it works between never and 75% of the time.

    I'm looking for a way to tell if the scheduler launched or if I need to programatically try again.

    All of the code I have seen is for examining the result of a run.

    I only want to know if the scheduler did start.

    Is there a way to do this?

    Thanks,

    Kevin

    Code below is from an Orasi page.
    Code:
    objScheduler.Run
    
    'Wait for the test to run to completion.
    Set objExecStatus = objScheduler.ExecutionStatus
    While objExecStatus.Finished = False
    objExecStatus.RefreshExecStatusInfo "all", True
    If objExecStatus.Finished = False Then
    WScript.sleep 5
    End If
    Wend

  2. #2
    Advanced Member
    Join Date
    Aug 2004
    Location
    Wellington, New Zealand
    Posts
    797
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    how is this set up?
    if it is via a windows scheduled task, you should be able to see task history from Task Scheduler.
    Regards,

    Alex
    ... just another Tester ...

 

 

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 12.50%
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 10:11 AM.

Copyright BetaSoft Inc.