Connecting to QC Site Admin Api - SAClient.SaApi



Using VBScript:

Dim objSAClient, resp
Set objSAClient = CreateObject("SAClient.SaApi.9")
'you have to know which is the correct reference to the SiteAdmin

'then login as admin:
objSAClient.login "http://ipaddress/sabin", qcuser, qcpassword



NOTE:
If you want to know what is the reference for the SAAPI you have to go to the regedit, "HKEY_CLASSES_ROOT\SaClient.SAapi\CurrVer" and see what is the current version and use it.

For QC 9.2 : 
 The URL in the format http://[:]/sabin.

For QC 10.0 : 

 The URL in the format http://[:]/qcbin.
 

comment 2 comments:

StyleGuru on July 17, 2012 at 5:28 AM said...
This comment has been removed by the author.
StyleGuru on July 17, 2012 at 5:29 AM said...

I'm not able to create object using your code.

I'm getting the following error message.

"Automation error
The specified module could not be found"

  • Recent Posts

     
    © QTPCode | Design by Blog template in collaboration with Concert Tickets, and Menopause symptoms
    Powered by Blogger