Play recorded voice as feed to a voice based app using appium

I am currently working on writing some automation tests for a voice recognition based app using appium. The challenge is voice is the feed to the app which will make a call to a third party api and the response is displayed and read out by the app. Has anyone did something similar? Please share some ideas/thoughts/ suggestion on how this can be achieved.

Thanks in advance.

What is your solution to this ?


any solution for this, i need to test similar case where we need to pass voice input to app using appium