We can connect to ALM using 'TDApiOle80.TDConnection' object in VBscript as shown below:
Function CreateALMConnection(uRLALM,strUserName,strPassword,strDomain, strProject) Set objALMConnection = CreateObject("TDApiOle80.TDConnection") objQCConnection.InitConnectionEx uRLALM objQCConnection.Login strUserName, strPassword objQCConnection.Connect strDomain, strProject ''/* Write the required code for transaction with
'' ALM once the connection is created objQCConnection.Disconnect objQCConnection.Logout objQCConnection.ReleaseConnection Set objQCConnection = Nothing End Function
No comments:
Post a Comment