Create connection with QC
I will demonstrate how to create connection in any scripting language with QC using OTA. I will be using VBscript editor provided free with Microsoft Excel.
Here we go...
Set tdConnection = CreateObject("TDApiOle80.TDConnection")QCConnection.InitConnectionEx "your QCURL" 'eg: (http://qc/qcbin)
tdConnection .login Username, Password
tdConnection .Connect Domain, Project
We are ready with connection object which we can use to insert, update, retrieve data in TD/QC.
We will look at various ways in which we can use this connection.
Sunday, December 7, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
Please add more snippets to get a clear idea.
Post a Comment