Hello guys,
Hope you can help me with this one. I'm automating an application (physical device) for unified meetings.
(automation done through android, lollypop, physical device).
To keep it short the application allows the user to log into a meeting through a series of navigation steps in the application (no problem automating that part) and in the end receives a welcome audio and the meeting starts.
My problem is that I've been trying to catch the audio to perform an speech to text validation and verify that the contents of the welcome message is the one that should be playing or the quality satisfies what we are expecting, but I haven't found a way to catch the audio using appium, so far I've tried two alternatives but none of them seems to be optimal:
First approach:
I tried catching the audio using AirPlay software installed in the phone and in the pc to catch the audio comming from the phone but it has many drawbacks (it works by wifi, introducing delay times that affect the tests, some times the audio is not transferred entirely, not to mention that both devices - phone and pc - have to be in the same wifi network).
Second approach:
This was a little "dirt" approach and consisted in using a cable to catch the audio output from the phone and transferred it to the input line of the pc, this approach is a little more direct but also has its disadvantages, not all the audio is transferred and too much noise is injected in the audio captured.
Do you think that is possible to capture the audio produced in the phone and transfer it to the pc to perform the audio checks? any alternatives that you may suggest?.
Thanks a lot for your help.
Victor