ConnectWithApprovalToken Method

Supported in versions 15.0.1 and later.

In versions 15.0-24.2 this method is named ConnectWithApprovalID.

Description

Connects OpenText Functional Testing to the SSO ALM project.

Important Information

Before you connect OpenText Functional Testing to an ALM project via SSO, you must download the ALM WebGate Customization Tool from the ALM server and use the tool for authentication.

  1. Download the ALM Webgate Customization Tool from: http(s)://<ALM server>:<ALM port>/qcbin > Tools > ALM WebGate Customization

  2. 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

VersionVisual Basic
24.4 and later
Public Sub ConnectWithApprovalToken( _
   ByVal ServerURL As String, _
   ByVal DomainName As String, _
   ByVal ProjectName As String, _
   ByVal UserName As String, _
   ByVal Password As String, _
   ByVal ApprovalToken As String, _
   ByVal EncryptedPW As Boolean _
) 

ConnectWithApprovalID is supported for backward compatibility.

15.0 - 24.2
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.

ApprovalToken/ApprovalID

The approval token.

Note: OpenText Functional Testing 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

TDConnection Object