The audio capture feature lets you capture sound from your device while working in the remote device view of the UFT Mobile lab.
You can also stream audio from a remote iOS device to your local machine (requires iOS 13 and above). For details, see the section on device interactions in Device control panel.
About audio capture
When testing a device, you may need to verify that it is able to play audio in browsers, on players, and in other apps.
To do this, you can capture the audio output of the device.
Currently, this feature is only supported for Windows connectors, for a single device per connector machine.
To capture audio using UFT Mobile, you require the following:
- A 3.5mm male to 3.5mm male audio cable
- A 3.5mm to USB audio adapter (only required if there is no sound card on the connector machine)
If using an iOS device with no headphone jack: Lightning audio and a charge adapter
Prepare for audio capture
To prepare for capturing audio:
- Connect your device to the connector machine using a USB cable. For details, see Connect devices to UFT Mobile.
Ask your admin to add the ID of your device to the server.properties file under the conf folder on the UFT Mobile server. The server can be either Windows or Linux. You can obtain the device ID from the device card in UFT Mobile. Use the following syntax: DEVICE_LIST_WITH_CAPTURE_AUDIO_FEATURE_ENABLED=<device_id>. Separate multiple values by commas. Although you can only connect one device at a time, you can add multiple devices to this file. For example:
Connect the audio cable from the device's audio output to the audio line-in on your connector machine.
If your connector machine does not have a sound card, connect the USB audio adapter to a USB port on the connector machine, and connect the audio cable from the device's audio output to the USB adapter's input port.
Configure the connector machine to record input :
Capture the audio
To capture audio:
- On your connector machine, open the UFT Mobile console.
Open the DEVICE LAB page and select the device to which you connected the cable. The Device Information window (to open, click in the device card) should show that Audio Capture is enabled on the device.
- Click the Play button. Wait for the device to open to its startup screen.
- Run the app playing the audio. The Capture Device Audio Output button will appear.
- To begin recording, click the Capture Device Audio Output button on the sidebar. The button changes to a Stop symbol .
- To end the recording, click the Stop button. The audio file, in .wav format, is saved in the browser's default download folder.
- Open the audio file and verify that it captured your audio properly.