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.

(6) Review
Visual Studio
2010
Download (2,138)
3/5/2014
1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (6)
Q and A (11)
Sign in to write a review
Sort by:

by MuraliMohan Arvapalli | February 14 2014

Hi Anna,

I am using QTP11 and VS 2013. My VB script works fine when i run from QTP. When i trigger it from TFS it is throwing error message saying that "summary of xmlfile does not conform to schema". Could you please, throw some light on this. My configuration:

QTP11
Clients OS: Windows7
Visual Studio:2013

-Murali

by Ramesh_ss | June 19 2013

Is this feature available with VS 2012 as well?? If yes, could you please provide me with the file for that also

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


  • Integration with TFS Build
    1 Posts | Last post May 05, 2014
    • If you're TFS build is unable to execute the QTP test, try the below 2 steps to correct the issue
      
      1. In the build definition, under Process->Automated Tests->Test Assembly, use "MSTest.exe Runner..." as the test runner.
      
      2. By default the TFS build runs under the "Network Service" user account. Change this to administrator account. This is done in the "TFS Admin console" utility on the server where TFS is installed.
      
      
  • Regarding Integration of QTP11.0 with TFS (VS 2010 premium)
    1 Posts | Last post March 05, 2014
    • Hi Anna,
      We have configured QTP 11.0 with TFS as per your instructions and able to run successfully in TFS, but we are unable to run the QTP 11.0 scripts through MTM tools, could you please suggest us and let me know the steps.
  • Regarding Integration of QTP11.0 with TFS (VS 2010 premium)
    1 Posts | Last post March 05, 2014
    • Hi Anna,
      We have configured QTP 11.0 with TFS as per your instructions and able to run successfully in TFS, but we are unable to run the QTP 11.0 scripts through MTM tools, could you please suggest us and let me know the steps.
  • summary of xmlfile does not conform to schema
    1 Posts | Last post February 14, 2014
    • Hi Anna,
      
      I am using QTP11 and VS 2013. My VB script works fine when i run from QTP. When i trigger it from TFS it is throwing error message saying that "summary of xmlfile does not conform to schema". Could you please, throw some light on this. My configuration:
      
      QTP11
      Clients OS: Windows7
      Visual Studio:2013
      
      -Murali
  • xml tag missing after the transform
    1 Posts | Last post September 17, 2013
    • Hi Anna,
      Thanks for the generic solution. it is working for us. However, when we having a problem in getting xml report in tfs format. Its tag and value is missing in the output xml file after the transform. When i tried to use the given vbs file to transform a normal qtp xml report (not generated by the solution) then I get the tag and value properly.
      
      Do you have any idea why this is happening?
       
  • QTP integration with Team Build 2010
    1 Posts | Last post August 26, 2013
    • Hi Anna,
      
      Nice application. its run properly in local machine after done configuration as per mentioned steps.
      
      Just I would like to know below thing for QTP integration with Team build 2010.
      
      1. How to configure to run on Build server or particular environment after build and deployment done by TFS?
      2. is there QTP and VS needs to be install on build server or particular server?
      
  • Version controling in VSS
    2 Posts | Last post July 21, 2013
    • Hi Anna,
      Can we do version controlling(check-in and check-out) of QTP scripts in Visual Studio? If yes,please let me know the steps.      
    • Sorry..i mean Visual Source Safe
  • QTP MTM Discussion
    1 Posts | Last post July 02, 2013
    • Hi Anna,
      This post was very useful for us. We have successfully updated ONE test case in MTM. But how can we bulk upload the test cases in a test suite level? Do we need to have individual GenericTest for each test case? Please help.
  • 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 Mon 4:00 AM
    • 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
1 - 10 of 11 Items