SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Senior Member
    Join Date
    May 2006
    Location
    Israel
    Posts
    338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    A new open-code tool for QTP - ReporterManager

    Hey guys. I've just finished the first version (0.8) of this tool, so here it is. I hope you'll find it useful, and help me extend it further.

    ReporterManager is an extandible solution for all your QTP reporting needs.

    It allows you to easily set up any combination of reporters, set complex rules for each and every reporter, and immediately use them in your scripts.
    After setting the reporters once, using the mechanism boils down to one simple command: oReporterManager.Report.

    You can choose from (so far) 5 reporting engines - User timed popup message, Excel, Styled Text, Screen Capture, and the native QTP reporter.

    You can and apply as many Regular-Expression and Object-State filters on them as you'd like.

    Aside from the current engines and filters, ReporterManager can be easily extended to include countless more reporting and filtering techniques.
    I've included class templates and extensive documentation while will enable you to easily create engines and filters that suite your needs.

    To illustrate ReporterManager's strength - with ReporterManager you can:

    1. Set up a text backup log (in case QTP will crash and the results will be lost forever), styled for convenient reading.

    2. Set up a special text Error log (which only includes failed steps), styled for quick skimming, and save pictures of all the errors.

    3. Set up a fancy Excel log, which only logs performance timers.

    And you can do all that with just 10 code lines.


    I hope this got your attention [img]/images/graemlins/smile.gif[/img]

    The attached package includes:

    1. VBS files for working with the tool
    2. VBS template file that will make a solid base for extending ReportManager with further engine and filter classes.
    3. A demo QTP script that shows some common uses for the tool (a stand-alone VBS is included for those who have previous versions of QTP)
    4. Log samples.
    5. An extensive ReadMe documentation with a full guide to all the possible options and tweaks.

    In a few days I'll publish an extensive code walk-through in the project homepage - http://www.advancedqtp.com/knowladge...orter-manager/

    Hope you'll like it.
    Attached Files Attached Files
    www.AdvancedQTP.com
    'coz we're programmers - not users

  2. #2
    Senior Member
    Join Date
    May 2006
    Location
    Israel
    Posts
    338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    The documentation has been updated to include an extensive Hebrew version. Available for reading / downloading at the Hebrew project's home:

    http://www.advancedqtp.co.il/knowladge-base/projects/reporter-manager/
    www.AdvancedQTP.com
    'coz we're programmers - not users

  3. #3
    Moderator ifraser's Avatar
    Join Date
    Jul 2004
    Location
    Brisbane, Australia
    Posts
    2,090
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    Yaron

    I have downloaded your report functions. Good work we are about to try it in our test project. I will let you know how it goes.
    You can buy my Art from: "Post Cards now available"
    Ian Fraser Landscape Photography
    World Wide Shipping.

    http://mowogman.wordpress.com/

  4. #4
    Moderator ifraser's Avatar
    Join Date
    Jul 2004
    Location
    Brisbane, Australia
    Posts
    2,090
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    After several mods we are now using the core of this code for reporting...
    You can buy my Art from: "Post Cards now available"
    Ian Fraser Landscape Photography
    World Wide Shipping.

    http://mowogman.wordpress.com/

  5. #5
    Senior Member
    Join Date
    May 2006
    Location
    Israel
    Posts
    338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    Great to hear it, I'm glad it's put to some use beside my own projects.

    In about two weeks I'll publish the next version with (so far) report to windows eventlog (+report to remote computers), and report to DB. And of course some minor code fixes and improvements.

    If it's not confidential, I'd love to hear about the mods you've done, and maybe implement them myself, or offer them as options in future releases.
    www.AdvancedQTP.com
    'coz we're programmers - not users

  6. #6
    Moderator ifraser's Avatar
    Join Date
    Jul 2004
    Location
    Brisbane, Australia
    Posts
    2,090
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    We are still putting it to bed but I am happy to share.

    Main thing is we added extra report fields on the summary page and added stats for Pass Fail Warning. As well as logged on user, machine, system build No, and test URL

    We also added some environment variables to separate test cases in the reports.
    You can buy my Art from: "Post Cards now available"
    Ian Fraser Landscape Photography
    World Wide Shipping.

    http://mowogman.wordpress.com/

  7. #7
    Senior Member
    Join Date
    May 2006
    Location
    Israel
    Posts
    338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    Sounds good.

    Whenever I'll get to extending the templates mechanism of the reporters, I'll add the ability to add custom fields to the report command.

    This will allow anyone to add custom fields to the end reports without messing with the code.

    Thanks for the idea [img]/images/graemlins/smile.gif[/img]
    www.AdvancedQTP.com
    'coz we're programmers - not users

  8. #8
    Junior Member
    Join Date
    Aug 2007
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    I'm really looking forward to making this work for me! Good thing I was just perusing through these forums. I was about to start coding a whole bunch of WriteLine statements in my tests.

    I'll let you know how it goes!

  9. #9
    Moderator ifraser's Avatar
    Join Date
    Jul 2004
    Location
    Brisbane, Australia
    Posts
    2,090
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    Here is our version of the reporter code. We have put all the functions in 1 vbs file and our main work has been in the Excel section.
    Attached Files Attached Files
    You can buy my Art from: "Post Cards now available"
    Ian Fraser Landscape Photography
    World Wide Shipping.

    http://mowogman.wordpress.com/

  10. #10
    Junior Member
    Join Date
    Dec 2005
    Location
    Bangalore
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: A new open-code tool for QTP - ReporterManager

    Hi Yaron Assa,

    We use Quality center for running QTP scripts, We would like to implement summary report for each release testexecution, can u pls guide me how can I relate your code and QC results.

    Thanks in advance
    Regards,
    S.Poovaragan

 

 
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.68%
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:47 PM.

Copyright BetaSoft Inc.