SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Problem with driver script not running all scripts

    Using Test Partner 6.0. Build 453 I am having trouble with Test Partner not executing all called scripts. Using a driver type script to call other scripts. It just ignores the second & subsequent "Run "ThisTest". TP acts as if the run line and everything following it does not even exist. Nor does the results file list the second or subsequent scripts.

    Has anyone seen this problem or have advice on how to resolve it.

    Below is what driver script looks like. It will run “Launch” then ends, does not print the comment, does not run the next script. Have confirmed all scripts will run standalone without issue.

    '$TPInclude "Launch"
    '$TPInclude = "ToFastContext"


    Sub Main()

    Run " Launch "
    TestLog.Comment "this is the comment BEFORE the run line that is not working"

    Run " ToFastContext "
    TestLog.Comment "this is the comment AFTER the run line that is not working"
    Sleep (5)

    End Sub

    Here’s what the results summary.

    Reason for abort: Playback was manually stopped
    Latest run number: 4
    Recent runs: 4 | 3 | 2 | 1
    Test script executed: R_D2D_CreateNewAccounts
    Test script description:
    Result description:
    Visual tests or Test scripts
    (number of times each ran): R_D2D_CreateNewAccounts(1), Launch (1)
    Checks or verifications passed: 0/0
    Checks or verifications failed: 0/0
    Flags: 0
    Start time: 2/18/2008 10:29:00 AM
    End time: 2/18/2008 10:30:18 AM

  2. #2
    Junior Member
    Join Date
    Feb 2008
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scripts

    This may be similar to what was fixed with the latest update:

    054408 - TestPartner stops responding when a test script is called from the driver test script.

    Go out to frontline and download the latest, see if that helps...

  3. #3
    Junior Member
    Join Date
    Jan 2008
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scripts

    Thank you Eminence.

    I'm running 6.0 build 462. Struggling with finding anything on FrontLine. My search did not return any results using parts of:

    "054408 - TestPartner stops responding when a test script is called from the driver test script."

    in the search terms.

    Do you know if there is a build later than 462?
    Thank you

  4. #4
    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: Problem with driver script not running all scripts

    Did "Launch" terminate abnormally? If it did, you will never return to the driver.

  5. #5
    Junior Member
    Join Date
    Jan 2008
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scripts

    Nope, Launch executes and stops without incidence. There are zero failures in the results file.

    Here's a look at how the end of the results file reads:

    ...skipped a bunch of steps
    Click - Click executed successfully
    Stop - End of execute of test Launch
    Run - run executed successfully
    Stop - End of execution of test MyTestName
    ..End of results

    If a break point is set on the TestLog lines shown above TP never even hits that breakpoint. It just ends a graceful death.

    Thank you for the help

  6. #6
    Senior Member
    Join Date
    Nov 2005
    Location
    Valley Forge, PA
    Posts
    417
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scr

    Two questions;

    Why
    '$TPInclude "Launch"
    '$TPInclude = "ToFastContext" ?

    Why extra spaces
    Run " Launch "
    Run " ToFastContext " ?

    I don't know if this has anything to do with the problem at hand, just curious.

    Joe

  7. #7
    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: Problem with driver script not running all scr

    Show us the entire layout of your code, and what kind of assets they are. For example, your driver script would be asset type script, while launch and tofastcontext would be asset type module (maybe). Maybe we can get to the bottom of it then.

    The syntax of your second include statement is incorrect. Perhaps it came back after "launch", didn't find "tofastcontext" because your syntax is incorrect, and just finished.

  8. #8
    Junior Member
    Join Date
    Feb 2008
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scripts

    [ QUOTE ]
    Thank you Eminence.

    I'm running 6.0 build 462. Struggling with finding anything on FrontLine. My search did not return any results using parts of:

    "054408 - TestPartner stops responding when a test script is called from the driver test script."

    in the search terms.

    Do you know if there is a build later than 462?
    Thank you

    [/ QUOTE ]
    462 is the latest... You mentioned earlier having 453...

  9. #9
    Junior Member
    Join Date
    Jan 2008
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scripts

    Thank you Dsquared and Eminence. I updated to 462 without benefit.

    DSquared, I have zipped files and will send them to you. In short all are in the common project and of type asset 'test script'. There are some constants in use with asset type 'module'.

    So stumped by this, appreciate everyone's help.

  10. #10
    Junior Member
    Join Date
    Jan 2008
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with driver script not running all scripts

    Attaching file
    Attached Files Attached Files

 

 
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 9.38%
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:58 PM.

Copyright BetaSoft Inc.