SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Member millersi's Avatar
    Join Date
    Jun 2010
    Location
    Australia, Sydney
    Posts
    192
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP hanging at end of test script

    The problem I am having is QTP is hanging in the 'Running' state at the end of the test scripts, meaning the test does not finish and the next one will not start. It does not always hang also it is not always the same scripts that hang every time (long or short scripts do not seem to make a difference).

    QTP is running all of the code in the script, I have checked by watching it and putting in Msg boxes. Once QTP has got into this state the only way to get out of this state is to kill the 'QTPro.exe' progress. I have tried everything I can think of to fix this: force exit (ExitAction, ExitTest, qtApp.Test.Run.Stop), windows page memory, re-install using 'QTP Clean Uninstaller', making sure none of the movie or image recording is on.

    Any help on this would be greatly appreciated

    I am using:
    QTP 10.00
    Patch QTP_00626.exe installed
    Windows XP (SP3)
    Have not got access to QC so I am using the ‘Test Batch Runner’ to run the test set
    Cheers
    Bear

  2. #2
    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: QTP hanging at end of test script

    Re-install Microsoft Script Debugger and try again. If that doesn't work then try below article

    http://knowledgeinbox.com/articles/qtp/i...lbars-and-more/

  3. #3
    Member millersi's Avatar
    Join Date
    Jun 2010
    Location
    Australia, Sydney
    Posts
    192
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    Thanks for your reply Tarun, unfortunately none of the items on the list have resolved the issue [img]/images/graemlins/frown.gif[/img]

    Looks like I'm going to have to raise a case with HP about this.

    Unless anyone has any other ideas?
    Cheers
    Bear

  4. #4
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,555
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    Is it just one test or all? Also does it only occur when using test batch runner?

  5. #5
    Member millersi's Avatar
    Join Date
    Jun 2010
    Location
    Australia, Sydney
    Posts
    192
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    It is all tests can do it, they don't always but at some point in the test run a test will do it on each of the execution clients

    Yes it is happening while using the test batch runner
    Cheers
    Bear

  6. #6
    Junior Member
    Join Date
    Aug 2009
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    Even I had the same issue,I think it seems to be the problem with the test batch runner.So we switched to Mutlti test manager.
    Even you can try creating a suite through QTP also like creating one action and inside that call to Call existing action at the end of test.

  7. #7
    Senior Member
    Join Date
    Apr 2008
    Posts
    187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    We're seeing this as well using QTP 9.5. Seems like it's hanging when it's trying to write out the test report.

    We are not using QC, but we are launching the scripts remotely.

    Not exactly sure how to attack this problem, but it is a problem. Doesn't happen on the same tests, doesn't happen on the same machines. It's pretty random. [img]/images/graemlins/confused.gif[/img]

  8. #8
    Member millersi's Avatar
    Join Date
    Jun 2010
    Location
    Australia, Sydney
    Posts
    192
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    I have fixed this issue on one of my execution boxes. I have completely wiped (OS) them and re-installed everything. This has fixed the issue on one of the boxes but not on the other.

    Looks like it is an installation issue, so will try it again on the client that is still hanging
    Cheers
    Bear

  9. #9
    Member millersi's Avatar
    Join Date
    Jun 2010
    Location
    Australia, Sydney
    Posts
    192
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    Ok, it has started happening again on both execution boxes. [img]/images/graemlins/mad.gif[/img]
    Cheers
    Bear

  10. #10
    Senior Member
    Join Date
    Apr 2008
    Posts
    187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP hanging at end of test script

    Agree, I don't think it's an istallation problem. We had this problem before we replaced all of our test machines. We got all brand new machines, clean installs on all of them. It still happens. Quite frustrating.

 

 
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.00%
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:20 AM.

Copyright BetaSoft Inc.