Skip to main content

SeeTest Client - Audio Support

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

SeeTest Automation supports audio interaction with the device

This interaction is done by playing an audio file to the device headset jack, and recording the device's output (from the headset jack) and storing it in an audio file.

info

This feature requires dedicated hardware. please consult this page.

When audio is configured, the following audio commands can be executed from SeeTest Automation on local devices:

1) SeeTest Client - StartAudioPlay - start audio play from specified file located on local machine.

2) StopAudioPlay - Stop  playing  the file.

2) SeeTest Client - WaitForAudioPlayEnd - wait until audio play ends or until specified timeout.

3) SeeTest Client - StartAudioRecording - start audio recording from device into specified file. value should be full path.

4) SeeTest Client - StopAudioRecording - audio file is downloaded to a file, located on local machine, that was specified in StartAudioRecording command. 

Step 1: configuring audio support for devices

On "Tools" menu , click on Audio settings

Audio Settings dialog contains following options:

  1. Choosing the device you want to configure.

  2. List of Audio In lines (used for recording commands). 

  3. List of Audio out lines (used for playback commands).

info

When plugging or Unplugging a USB audio interface, wait for 25 seconds for it to be added\removed from the audio lines list.

Audio icon will appear in device table for devices which in line or out line were configured for them in the audio settings.

info
  • If you wish to remove the audio settings for a specific device, choose "No Audio Configuration"
  • More then one device can be configure to work with one audio interface.

Step 2: Run audio test

info

The supported audio file for StartAudioPlay (play to device) is *.WAV format only. The recorded files for StartaudioRecording (record from device), will be saved as  *.wav or  *.flac formats, according to user preference

Now audio commands can be used with this device:

In the following example, we:

  1. play an audio file to the device.
  2. wait until the playing will end for up to 10 seconds.
  3. start recording from the device
  4. sleep for 20 seconds while we record.
  5. stop the recording

Using WaitForDevice with audio parameter in query

SeeTest Client - WaitForDevice command can use audio support flag in the query: