SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Running Test Sets from TestDirector 8.0 in QuickTest Pro 6.5 (SAP)

    When we run an individual test in QuickTest Pro, after the first failure occurs, we get a pop-up and we can stop the script. So far, so good.

    However, if we run the same script from TestDirector (in a Test Set), the test keeps on running after finding a failure.

    !! This despite the following setting in the QuickTest Pro script:
    Test > Settings... > Run > When error occurs during test run "pop up message box" or "stop run".

    This can cause a delay of 1 hour, as QuickTest Pro continues with the script until the end, although the SAP screen keeps 'stuck' on the place where the failure occurred (e.g. unexpected pop-up in SAP).

    How can we assure that if test script 'A' fails, QTP immediately stops running this test script and continues with the next one from the Test Set?

    We just scheduled 100 tests overnight, and found out in the morning that only 20 scripts ran, because of all these delays.

    (x-posted in QuickTest Pro)

  2. #2
    Junior Member
    Join Date
    Sep 2004
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Running Test Sets from TestDirector 8.0 in QuickTest Pro 6.5 (SAP)

    A colleague found the solution in the Mercury knowledge database #30348:


    Problem Description: How to make a QTP 6.5 script stop running if a failure occurs.

    In QuickTest Professional 6.5, there is the option (Test -> Settings) to make the test stop running if a failure occurs. However, if the user runs this script from TestDirector, that setting is ignored. How can the user make TestDirector recognize this setting?

    Solution: Modify the registry to enable QTP 6.5 to stop running on failure

    On the QuickTest Professional machine:
    1. Go to Start -> Run and enter regedit.
    2. Navigate to HKEY_LOCAL_MACHINE/Software/Mercury/QuickTest Professional/Mic Test.
    3. On the right side, modify the value of OnReplayErrorRemote from "Skip" to "Stop" (without the quotes.
    4. Repeat Step 3 for the registry key HKEY_CURRENT_USER/Software/Mercury/QuickTest Professional/Mic Test/OnReplayErrorRemote.
    5. Reboot the machine.

 

 

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 12:35 AM.

Copyright BetaSoft Inc.