I'm using HP ALM cloud version.
Using SAClient.SAapi.9 to automate user creation and other repitivie tasks.
I have the TD admin rights but still getting the following error,
---------------------------
Windows Script Host
---------------------------
Script: C:\abcvbs
Line: 7
Char: 2
Error: Failed to login. Please contact system administrator for help.
Description: User has no permission to access application
Code: 80047536
Source: SAClient.SAapi.9
---------------------------
OK
---------------------------
Here is the code to connect
Set saObj = CreateObject("SAClient.SAapi.9")
If Err.Number <> 0 Then
WScript.Echo (Err.Description)
Else
WScript.Echo ("Object Created")
saObj.Login "https://******.saas.hp.com/qcbin" , "username", "password"
If Err.Number <> 0 Then
WScript.Echo (Err.Description)
Else
WScript.Echo ("Logon Successfull")
saObj.Logout
End If
End If
What am I doing wrong?