SeeTest Client - Audio Support
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.
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:
-
Choosing the device you want to configure.
-
List of Audio In lines (used for recording commands).
-
List of Audio out lines (used for playback commands).
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.
- 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
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:
- play an audio file to the device.
- wait until the playing will end for up to 10 seconds.
- start recording from the device
- sleep for 20 seconds while we record.
- stop the recording
Using WaitForDevice with audio parameter in query
SeeTest Client - WaitForDevice command can use audio support flag in the query: