Secure the communication with the remote Mac computer
When OpenText Functional Testing connects to a remote Mac computer, it can access Safari and perform steps on Web applications running in Safari. Therefore, it is important to secure this connection, to prevent inappropriate access to your Mac and Web pages that the Mac can access.
When OpenText Functional Testing communicates with the Mac, OpenText Functional Testing acts as a client and the OpenText UFT Agent Safari extension acts as a server. You can secure this communication on different levels.
Set up client authentication by defining a passphrase
OpenText Functional Testing uses a passphrase for initiating a connection with a Mac computer. The Mac computer accepts the connection request only if the passphrase included in the request matches the passphrase defined on the Mac side.
In the OpenText Functional Testing:
Define a passphrase in the Tools > Options > GUI Testing > Remote Connection pane. For details, see Remote Connection Pane (Options Dialog Box > GUI Testing Tab).
On the Mac:
Define the same passphrase in the OpenText UFT Agent Safari extension's preferences.
By default, the passphrase is empty. To provide better security, provide a passphrase that is long, complicated, and difficult to guess.
You can define the same passphrase on multiple instances of OpenText Functional Testing and of the Safari extension, on the same computer, or in different user account on the same computer. This way, you can set up a group of computers that all share the same passphrase and are used for similar testing purposes (like a virtual lab).
Secure the communication using SSL
To secure the communication using SSL, define the SSL settings both in OpenText Functional Testing and on the Mac computer.
On the Mac:
Set the following in the OpenText UFT Agent Safari extension preferences.
-
Specify whether communications with this agent must take place over SSL connections (Use SSL)
-
If they must, then:
-
Specify the path to an SSL certificate file for the server to use for the communication. (Chain certificate files are also supported)
-
Specify the path to the SSL private key file that matches the certificate.
-
In OpenText Functional Testing:
-
In the Tools > Options > GUI Testing > Remote Connection pane, specify the path to an SSL CA certificate file that OpenText Functional Testing can use to validate the SSL certificate provided by the server. (Certificate bundles are also supported.)
OpenText Functional Testing uses the CA certificate file for certificate validation only on connections initiated using SSL.
-
When defining the details for a specific remote connection, you specify whether the connection should use SSL. This can be done in the Remote Connection dialog box, in the Record and Run settings (on a per-test basis), or using the RemoteConnection utility method in a test step. For details, see Connect to a remote Mac computer.
-
For a connection to succeed:
The Use SSL option must have the same value in OpenText Functional Testing and the OpenText UFT Agent Safari extension.
At different times, OpenText Functional Testing can connect to different OpenText UFT Agent Safari extensions, by using different Mac or port numbers.