QTP TFS Generic Test Integration

Free

In Visual Studio 2010 there is a Generic Test type that allows you to integrate with automation tools like QTP. I have created a solution that allows you to use your existing QTP automation scripts within the Microsoft Visual Studio testing framework.

(4) Review
Visual Studio
2010
Download (1,233)
1/23/2013
1
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (4)
Q and A (3)
Sign in to Write a Review
Sort By:

by currcmpsvc | February 13 2013

I'm new to QTP and the TFS Generic Test solution. I got an error when I first started indicated the results folder needed to be empty. I removed the Report folder that I put in (due to the value of a parm) and that part worked fine. I'm now getting an error during the transformation step. The error message is "Summary XMLFile Does Not Conform to Schema". The popup message is "TFSGenewricTestResult.xml, Exception ws thrown: The element 'SummaryResult' has invalid chile element 'InnerTests'. I'm using Quick Test Professional 11.00 Version 11.00.0.0 Build: 1018 and Visual Studio 2010 SP1. Any ideas how to resolve this?

Anna Russo February 19 2013
| Edit |
Delete

Did you create a QTP test and what was the result of the QTP test?

by Sukhie | June 28 2012

Looked very promising - slight performance overhead. However, problems arise on writing out the results file at the end. Does anyone know how to workaround this? Issue relates to the QTP.vbs file (Line 65 Char 1) - "The Stylesheet does not contain a document element. The stylesheet may be empty, or it is may not be a well-formed XML document"

Anna Russo July 12 2012
| Edit |
Delete

The reason why this happened is that the QTP.vbs file needed QTP11_TFS_Transform.xsl. This has been fixed, thanks for reporting.

by AgileTester | March 04 2012

I have never used Visual Studio before so solution explorer generic test was new to me. However, I just replaced the paths with my QTP scripts and it worked great, thanks Anna!

by Pantelis44999 | January 07 2012

Found it difficult, but it did work as expected.

Sign in to Start a Discussion


  • Prerequisite software
    1 Posts | Last Post January 23, 2013
    • -Visual Studio Premium
      -Visual Studio Ultimate
  • QTP-TFS integration for multiple generic tests
    1 Posts | Last Post August 27, 2012
    • Hi Anna,
      I am trying to run multiple tests with this QTP-TFS integration structure, wherein these tests in VSTS2010 are present in an Ordered Test(acting as bucket for all the generic tests in Automation Test Suite). For running multiple tests any idea on how I can execute this Ordered Test for multiple generic tests. Please guide me.
      Thanks,
      Priyanka
  • Does this work with the Scrum for Team System template?
    3 Posts | Last Post August 06, 2012
    • Hi Anna,
      
      I was wondering if this adaptor worked with the Scrum for Team System template?
      
      Thanks
      
      Sukhie.
    • Hi Sukhie,
      
      This will work with any of the TFS process templates.
      
      Thanks,
      
      Anna
    • Hi Anna, Can i have your email? So that I can contact you directly.
      I am having some problems regarding the QTP TFS Generic Test Integration. I am already done in Step number 1 to 6 and when I am going to perform step number 7, the QTPTFS.GenericTest is unreadable, but I have successfully opened it in Visual Studio 2010. Here is my email: marlocatilo@gmail.com
      
      Thanks a lot.