问题
- how to automate audio/video calls in iOS devices?
- How do caller get to know if callee has picked up the call or rejected?
- How to automate two devices at a time?
- Is it feasible to automate video/audio call in iOS devices? if yes can you please share the references?
回答1:
- Automating end-to-end scenarios is a challenging task. I would start with automating calls on one device and assert the network response with your server's APIs.
- Not really a StackOverflow question. Read these companies blogs or watch their keynote on conferences.
- Once again, you should test a call from a device to an echo server. Your app UI should display if callee accepted the call.
- XCTest can only target one device at a time. But, if you use a client-server architecture solution (you can implement it by yourself or use Appium) you can automate two devices at a time.
- For fully automated end-to-end scenarios you will need a setup including two iOS devices that can record a TV that displays the Linux time with a QR-code to verify video and probably an Arduino to playback and listen to sounds. From a software point of view you'll need Appium (or similar) and your servers API.
来源:https://stackoverflow.com/questions/62770405/can-we-automate-audio-video-calls-in-native-ios-devices