Start audio recording command

Starts recording the audio output from the device and creates a WAV file. The file is saved in the media storage server. A URL to the file location is returned in the response to the command and, if supplied, in the Result variable supplied as a parameter.

To hear the audio when using Start Audio in the Perfecto Automation IDE, you need to use the Open Device command and the parameter "Audio Recording" should be set to TRUE.

Important: The audio file is not available until after the Stop audio recording command is completed.
Restriction: For devices connected to the Enhanced Video Solution (Distributor = MacCam), it will not be possible to record audio during a phone call. Although the start audio recording command will succeed, the resulting recording will be "blank" and will contain no audio. This is due to a limitation where the audio is played through an internal device speaker and cannot be captured by the system.

Parameters

Name Type Possible values Description

Device ID*

String

 

The device for this command. By default, this is the device under test (DUT).

Result variable

String

 

The variable name to receive the URL of the audio file.

Comment

String

 

Adds a comment to the script

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory parameter