Connect Method
Description
Connects UFT to the 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 installed.  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 > Unified Functional Testing > Tools > Password Encoder). For more information, see the Unified Functional Testing Help Center.

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