Join the webinar on 'Open source GenAI tools for Test Automation' on May 28th or May 30th.
close
Using HeadSpin Audio API in Appium

Tutorial: How to use HeadSpin Audio API in Appium

March 11, 2020
 by 
ILYA DREYTSERILYA DREYTSER
ILYA DREYTSER

Video Transcription

Hi everyone.

Today.

I’m going to showcase the HeadSpin audio apis. In this demonstration, I will:

  1. Start a Google Hangouts with myself
  2. Capture the audio and,
  3. Injected it on the device.

So what I’ll do now is leverage our audio capture API and I will go ahead and execute this.

I’ve specified the max duration to be 30 seconds. What will happen now is that any audio that I utter in this remaining 30 seconds will be captured as part of the API. So that said just talk through a couple more utterances here. Today is Monday, October 8th. And currently this audio is being captured and I will inject this into the session. So now that this is finished.

I have an audio ID, which I can use for the next step of the pipeline which is preparing the audio for the injection. So I’ll go ahead and place my audio ID in this parameter now go ahead and run the prepared pan.

Excellent.

So my audio is finished preparing. And now what I can do is because this session is still ongoing. Go ahead and inject it into the session.

Max duration 30 seconds. What will happen now is that any audio that order in this remaining 30 seconds will be captured as part of the API. That said just talk through a couple more utterances here. Today is Monday, October 8th.

Lastly what I can do is now that I’ve injected the Audio, I can actually also go ahead and download it. So I will use our download endpoint and just pass in the audio ID and grab a local copy.

Tutorial: How to use HeadSpin Audio API in Appium

4 Parts

Close

Perfect Digital Experiences with Data Science Capabilities

Utilize HeadSpin's advanced capabilities to proactively improve performance and launch apps with confidence
popup image