Thursday

QTP and Windows OS


Thanks and taken from:
http://www.joecolantonio.com/2012/10/02/qtp-operating-systems-supported-by-qtp-11-qtp-10-qtp-9-5-and-qtp-9-2/


Table of Supported OS's for QTP
OS
QTP 11
QTP 10
QTP 9.5
QTP 9.2
Microsoft Windows 2000 Service Pack 4
No
Yes
Yes
Yes
Microsoft Windows 2000 Update Rollup 1 For Service Pack 4
No
Yes
Yes
Yes
Microsoft Windows XP Service Pack 2 (32-Bits)
Yes
Yes
Yes
Yes
Microsoft Windows XP Service Pack 3 (32-Bits)
Yes
Yes
Yes
No
Microsoft Windows XP Service Pack 1 (64-Bits)
No
No
No
Yes
Microsoft Windows XP Service Pack 2 (64-Bits)
Yes
Yes
Yes
No
Microsoft Windows XP Service Pack 3 (64-Bits)
Yes
No
No
No
Microsoft Windows Server 2003 (32-Bits)
No
No
No
No
Microsoft Windows Server 2003 (64-Bits)
No
No
No
Yes
Microsoft Windows Server 2003 Service Pack 1 (32-Bits)
No
No
No
No
Microsoft Windows Server 2003 Service Pack 2 (32-Bits)
Yes
Yes
Yes
Yes
Microsoft Windows Server 2003 Service Pack 2 (64-Bits)
Yes
Yes
Yes
No
Microsoft Windows Server 2003 R2 (32-Bits)
Yes
Yes
Yes
No
Microsoft Windows Server 2003 R2 (64-Bits)
Yes
Yes
No
No
Microsoft Windows Vista Beta 2-build 5384
No
No
No
No
Microsoft Windows Vista (32-Bits)
No
No
Yes
Yes
Microsoft Windows Vista (64-Bits)
No
No
Yes
No
Microsoft Windows Vista Service Pack 1 (32-Bits)
No
No
Yes
No
Microsoft Windows Vista Service Pack 1 (64-Bits)
No
No
Yes
No
Microsoft Windows Vista Service Pack 2 (32-Bits)
Yes
Yes
No
No
Microsoft Windows Vista Service Pack 2 (64-Bits)
Yes
Yes
No
No
Microsoft Windows Server 2008 (32-Bits)
No
No
Yes
No
Microsoft Windows Server 2008 (64-Bits)
No
No
Yes
No
Microsoft Windows Server 2008 Service Pack 2 (32-Bits)
Yes
Yes
No
No
Microsoft Windows Server 2008 Service Pack 2 (64-Bits)
Yes
No
No
No
Microsoft Windows Server 2008 R2 (64-bit)
Yes
No
No
Microsoft Windows Server 2008 R2 Service Pack 1 (64-bit)
Yes
No
No
No
Microsoft Windows 7 (32-Bits)
Yes
No
No
Microsoft Windows 7 (64-Bits)
Yes
No
No
Microsoft Windows 7 Service Pack 1 (32-Bits)
Yes
No
No
No
Microsoft Windows 7 Service Pack 1 (64-bits)
Yes
No
No
No

QTP 11 version


  • Support for new Operating Systems
  • Enhanced Data Management Facility
  • New Object Spy Functionality
    • Add an object to a repository
    • Highlight an object in our application
    • Copy/paste object properties
  • New Smart Regular Expression list
  • New QTP-Service Test integration facility
  • New Run Results Viewer
  • New facility to hide the Keyword View
  • Facility to add Images to Our Run Results
  • New Log Tracking Functionality
  • Automatic Parameterization of Steps
  • New Visual relation identifiers
  • Visual indication of Version Control Status of Tests
  • Web 2.0 add-ins support
  • New capabilities for working with Web-Based objects
    • Firefox Testing
    • XPath, CSS, Identifiers
    • Event Identifiers
    • Embed or Run JavaScripts in our Web Pages
  • New methods for testing Web-based Operations
  • New methods for testing Web-based Operations
  • New LoadFunctionLibrary statement
  • Improved checkpoints and output value objects management
  • Dual Monitor Support
  • New QTP Asset Upgrade Tool for HP ALM and Quality Center
  • Test execution in minimized remote desktop protocol session
  • Improved Web Add-in Extensibility
  • Improved Business Process Testing
  • New Extensibility Accelerator for Functional Testing

QTP - Register .Net DLL and use in QTP


1. Build a class in c# (get C# express)
2. Class Library
3. Create a  class MyQTP.cs  with small code in Myfunction(a,b)
4. go in properties
5. Click on Assembly information button
6. Make Assembly com visible
7. Go to Build
8. Register com interop

9. Open QTP



Set oDLLCom = CreateObject("QTP.UI.Automation.MyQTP")
msgbox oDLLCom.Myfunction(a,b)
Note:
When we build the DLL in Visual Studio then it automatically enters all the Method in registry.To use the DLL on another machine we need to use RegAsm.exe to register it.