Saturday, May 14, 2011

Connecting to QC using OTA API through Autoit

Below is code which will allow you to connect to the QC using Autoit.

$objSAapi = ObjCreate("SAClient.SAapi")
$objSAapi.Login("http://%3cservername%3e:8080/qcbin", "<User Name>", "<Password>")
$Output = $objSAapi.GetUser("<User Name>")
MsgBox(0, "SRE Example 4 Result", $Output)

No comments:

Post a Comment