QC/ALM OTA API Utilities


Please be noted that the below piece of code is used to get QC Connection, for all QC utils that are explained in this blog, assuming these Utilities are being executed from QTP/UFT window with QC connection established already.

Set objQCConnection = QCUtil.QCConnection

If you want to execute these utilities from .vbs files, you will need to establish the QC connection first. Please replace the above line with the below piece of code to establish QC connection –

Set objQCConnection = CreateObject("TDApiOle80.TDConnection")
objQCConnection.InitConnectionEx QCUrl 'Connect to QC URL
objQCConnection.Login QCUserName, QCPassword 'Login QC
objQCConnection.Connect QCDomain, QCProject 
'Connect to Domain & Project

Following is the index of all QC Utils explained in this blog -
===========================================================

No comments:

Post a Comment