Share this page

# UFT Mobile integration

UFT Mobile's integration with Service Virtualization supports testing a mobile app with UFT Developer or Appium tests. This section is relevant only for on-premises deployments of UFT Mobile.

In this topic:

## Set up your device

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

1. Enable Service Virtualization on the devices.

   1. Locate the connector.properties file, located by default in the UFT Mobile Connector\server\conf folder.

   2. Add the UDID of the devices that will use Service Virtualization to the SV feature flag. For example:

      DEVICE_LIST_WITH_SV_FEATURE_ENABLED =8a6e6738ttt, 9887fc3159555

   3. Save the file and reconnnect the devices, or restart the UFT Mobile connector.

   When the device is 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 Service Virtualization as per step 1, and is on the same WiFI network as the UFT Mobile connector. Note: The device must be connected over WiFi to the same network as the UFT Mobile connector. Make sure that there are no security requirements that could prevent the connector from being reachable in the network.
   Android devices | Open Settings > WiFi. Do a long press on the WiFi being used, and select Modify Network. Select Advanced options. In the IP settings, select DHCP. In the Proxy section, select Manual. In the Proxy host name enter 127.0.0.1. In the Proxy port enter 6543. Click Save.

3. Install the Service Virtualization certificate file.

   iOS devices | Download the sv-capture.pem certificate. 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. Click Install.
   Android devices | Download the sv-capture.pem certificate. 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. 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 UFT Mobile and Service Virtualization.

To enable the Service Virtualization integration with UFT Mobile:

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, UFT Mobile installs both the UFTM 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 Service Virtualization integration, apps that you upload will be packaged (instrumented) with the Service Virtualization code. When an app is Service Virtualization enabled, the icon is displayed in the right-hand corner.

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

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

Back to top

## Perform Service Virtualization simulation

You perform Service Virtualization testing using UFT Developer or Appium tests. For details, see the UFT Developer Help Center.

Back to top

https://admhelp.microfocus.com Service Virtualization 8942
Tips to improve your search results... Service Virtualization Help Center SV Help 5.4-5.4.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: