Connect Method
Description
Connects UFT One to the ALM project.
Note: If your ALM server requires SSO authentication, use the ConnectWithApprovalID Method to connect to your ALM project.
Syntax
Visual Basic |
---|
Public Sub Connect( _ ByVal ServerURL As String, _ ByVal DomainName As String, _ ByVal ProjectName As String, _ ByVal UserName As String, _ ByVal Password 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. You can enter the password in encrypted or unencrypted format. Confirm that the EncryptedPW property value matches the type of value you set here.
To find the encrypted value of the password, use the Password Encoder utility (Start > All Programs > Micro Focus > Micro Focus UFT One > Tools > Password Encoder). For more information, see the UFT One Help Center.
Note: UFT One 15.0.2 or earlier: The utility is under Start > All Programs > Unified Functional Testing > Tools > Password Encoder.
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.
Example
See Also