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,619)
3/5/2014
1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (6)
Q and A (15)
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


  • QTP Results not sync up with MTM/TFS
    1 Posts | Last post December 18, 2014
    • Just wanted to mention a challenge that I currently facing, the Test Case Execution Result is not reflecting back to TFS/MTM. 
      
      When we use generic test to invoke QTP / Selenium (Automation Tool outside Microsoft Portfolio), It’s not return the result status to the associated Test Case in TFS/MTM.
      
      
      Other than this, this is working well for me. Thanks Anna for your help
  • getting error after execution of QTP in visual studio 2010
    1 Posts | Last post December 10, 2014
    • its great solution to the integration of QTP with TFS. I can execute the test but at the end when test is done VS is throwing following error how can I fix this issue:
      
      Cannot use the summary XML file
      c:\QTP_TFSGenericTest\TFSGenericTestResults\TFSGenericTestResult.xml, Exception was thrown: The 'TestResult' element is invalid - value 'Done' is invalid accroding to its datatype 'testResultType' -The Enumeration constraint failed.
      
      thanks
  • QTP TFS Visual Studio 2013 integration
    1 Posts | Last post December 04, 2014
    • HI 
      
      It is built on Visual Studio 2010 version.Can we integrate UFT 12.0 with VS 2013 version by using this QTP TFS Generic Test Integration. Is there any changes to be done in the Vbs files to integrate with VS 2013 version.
  • QTP TFS integration
    1 Posts | Last post October 15, 2014
    • I am trying to run QTP scripts via generic tests using QTP.vbs file (that Anna created) from TFS build definition. Kindly tell me what would be the test assembly spec for doing that or somethingelse needs to be specified in build process. Please explain this to me in detail.
      
      FYI I am usinf VS2010 and TFS 2010.
  • 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?
      
1 - 10 of 15 Items