SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Dec 2002
    Location
    Greenwich, CT
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Is there any way to write PASS/FAIL result to the Test Results log

    Are there any statements in QTP that will write a PASS/FAIL result to the Test Results log? In WinRunner you can write (using 'tl_step' statements) whatever results you want to the test results log....whenever you want to...from within the script.

    I'm not seeing any such capability in QTP.

  2. #2
    Member
    Join Date
    May 2001
    Location
    Singapore
    Posts
    70
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Is there any way to write PASS/FAIL result to the Test Results log

    yes, you can do that.

    In the test tree, select a step and choose Insert > Step > Report or right-click a step and choose Insert Report Step. The Insert Report dialog box opens.

    This will send message to your report.

    Hope this will help you.

    -> Sundar <-
    -> Sundar <-

  3. #3
    Junior Member
    Join Date
    Dec 2002
    Location
    Greenwich, CT
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Is there any way to write PASS/FAIL result to the Test Results log

    Yes. Thanks very much...!

  4. #4
    Member
    Join Date
    Aug 2000
    Posts
    279
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Is there any way to write PASS/FAIL result to the Test Results log

    Does this report to TestDirector/Quality Center or just to local report? The online help didn't say anything about data going back to TD/QC.

  5. #5
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Is there any way to write PASS/FAIL result to the Test Results log

    u can use reporter class to do this in qtp.

    Reporter.Reportevent micpass(u can specify fail too) and same like tl_step (like in win runner)
    Sree

 

 

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 01:48 PM.

Copyright BetaSoft Inc.