ConnectWithApprovalID Method
Supported in UFT One versions 15.0.1 and later.
Description
Connects UFT One to the SSO ALM project.
Important Information
Before you connect UFT One to an ALM project via SSO, you must download the ALM WebGate Customization Tool from the ALM server and use the tool for authentication.
Download the ALM Webgate Customization Tool from: http(s)://<ALM server>:<ALM port>/qcbin > Tools > ALM WebGate Customization
Open the ALM WebGate Customization tool, and use your API Key Client ID and API Key Secret obtained from your ALM site administrator for authentication. For details, see WebGate Customization Tool readme.
Syntax
Visual Basic |
---|
Public Sub ConnectWithApprovalID( _ ByVal ServerURL As String, _ ByVal DomainName As String, _ ByVal ProjectName As String, _ ByVal UserName As String, _ ByVal Password As String, _ ByVal ApprovalID As String, _ ByVal EncryptedPW As Boolean _ ) |
Parameters
ServerURL
The URL address of the Web server where your ALM project is located. The URL can specify a Web server accessible via a Local Area Network (LAN) or a Wide Area Network (WAN).
DomainName
The domain that contains the ALM project.
ProjectName
The ALM project to which you want to connect.
UserName
The user name for opening the specified project.
Password
The password for the specified user. Leave this parameter empty when you use this method.
ApprovalID
The approval token.
Note: UFT One does not provide the method for obtaining the approval token. Instead, you can use ALM OTA to obtain the token. For details, see ALM Open Test Architecture API Reference.
EncryptedPW
Indicates whether the Password property is entered in encrypted or unencrypted format.
Possible values:
- True--The specified password is encrypted.
- False--The specified password is not encrypted.
See Also