OpenText Functional Testing Lab integration

OpenText Functional Testing Lab's integration with OpenText Service Virtualization supports testing a mobile app with OpenText Functional Testing for Developers or Appium tests. This section is relevant only for on-premises deployments of OpenText Functional Testing Lab.

Note: OpenText Service Virtualization supports integration with OpenText Functional Testing Lab 2023 and earlier.

Set up your device

To run an app on a device with OpenText Service Virtualization, you need to enable OpenText Service Virtualization for each device as follows:

  1. Enable OpenText Service Virtualization on the devices.

    1. Locate the connector.properties file, located by default in the OpenText Functional Testing Lab Connector\server\conf folder.
    2. Add the UDID of the devices that will use OpenText Service Virtualization to the SV feature flag. For example:

      DEVICE_LIST_WITH_SV_FEATURE_ENABLED =8a6e6738ttt, 9887fc3159555

    3. Save the file and reconnect the devices, or restart the OpenText Functional Testing Lab connector.

    When the device is OpenText Service Virtualization enabled, the icon is displayed in the right-hand corner.

  2. Set up the proxy for the device.

    iOS devices

    This configuration is handled automatically during plug and play if a device is enabled for OpenText Service Virtualization as per step 1, and is on the same WiFI network as the OpenText Functional Testing Lab connector.

    Note: The device must be connected over WiFi to the same network as the OpenText Functional Testing Lab connector. Make sure that there are no security requirements that could prevent the connector from being reachable in the network.

    Android devices
    1. Open Settings > WiFi.

    2. Do a long press on the WiFi being used, and select Modify Network.

    3. Select Advanced options.

    4. In the IP settings, select DHCP. In the Proxy section, select Manual.

    5. In the Proxy host name enter 127.0.0.1. In the Proxy port enter 6543.

    6. Click Save.

  3. Install the OpenText Service Virtualization certificate file.

    iOS devices
    1. Download the sv-capture.pem certificate.

    2. Upload the file via a USB cable and select it. This will start the process of installing the certificate as a new profile on the device.

    3. Click Install.

    Android devices
    1. Download the sv-capture.pem certificate.

    2. Install the certificate in one of the following ways:

      • Upload the file via a USB cable and go to Settings > Security > Credential storage and perform Install from device storage.

      • Send the certificate by email to your phone and open the attachment in your email app.

    3. When prompted, accept the use of the certificate for VPN and apps.

Back to top

Enable the integration

Once you enable SV integration, all apps that you upload will be instrumented for both OpenText Functional Testing Lab and OpenText Service Virtualization.

To enable the OpenText Service Virtualization integration with OpenText Functional Testing Lab:

  1. With an admin role, click the Administration button in the right of the masthead, and choose the Settings tab. Scroll down and select the Service Virtualization (SVF) Integration node.
  2. Set Enable SV integration to Yes.
  3. Click Verify and Save.

When you connect a device, OpenText Functional Testing Lab installs both the OpenText Functional Testing Lab Agent and the SV Agent apps onto the device, provided that the device was added to the list of SV enabled devices.

Back to top

Upload apps

After you have enabled OpenText Service Virtualization integration, apps that you upload will be packaged (instrumented) with the OpenText Service Virtualization code. When an app is OpenText Service Virtualization enabled, the icon is displayed in the right-hand corner.

The app card details will indicate which OpenText Service Virtualization capabilities are available, such as Bluetooth and NFC.

Make sure to install the packaged app on the device when using OpenText Service Virtualization.

Back to top

Perform OpenText Service Virtualization simulation

You perform OpenText Service Virtualization testing using OpenText Functional Testing for Developers or Appium tests. For details, see the OpenText Functional Testing Help Center.

Back to top