Page tree
Skip to end of metadata
Go to start of metadata

Command: audio

Subcommand: text

Supported Platforms: Native, UFT, Selenium, Appium

Supported OS: Android, iOS

Command that converts an audio file into a text "transcript" file of the audio

Description

The command accepts an audio file that may be recorded from a device and creates a text file that contains the textual translation of the audio file.

Parameters

 * Mandatory parameter

Request & Response

Request
 https://mycloud.perfectomobile.com/services/executions/johnp@perfectomobile.com_controller_17-12-06_14_49_15_3616?operation=command&user=johnp@perfectomobile.com&password=jtest123&command=audio&subcommand=text&param.repositoryFile=PUBLIC:SampleAudio_0.7mb.mp3
JSON Response
{
	reason: "Success",
	timer.elapsed: "3324",
	returnValue: "my team won today and passed to the third phase",
	description: "Success",
	timer.system: "3324",
	sessionId: "johnp@perfectomobile.com_controller_17-12-06_14_49_15_3616",
	completed: "true",
	flowEndCode: "SUCCEEDED",
	executionId: "johnp@perfectomobile.com_controller_17-12-06_14_49_15_3616",
	timer.ux: "0",
	timer.device: "0"
}