Long Press and playing audio at the same time


#1

Hello,

I am using Appium to test my android application where I need to long press talk button and speak something(will play some audio from system for this).

I am able to long press, now how do I speak at the same time ? Should I go for Java Multithreading, or does Appium supports something like this already to test Alexa like feature?

Regards,
Vishnu


#2

Why not start playing something in loop before long press?