Invoking Interrupts like Phone Call or Alarm


I need to test the interruption scenario on my application for which I need to generate an interrupt like invoking a phone call or generating alarm event without automating the Alarm application or Phone calling application.

So I wanted to know is there any adb command or appium command which can directly generate the call or alarm interrupt?

did you find a solution for generating Interrupts for Android and iOS?

Yes for genrating call interrupts we did got the adb commands through which we can place ,accept or end call but for alarm application we didn’t found any such thing so we automated a clock application.

@Mitesh_Agrawal, I am trying to do that. but didnt worked. could you please help me to generate interrupts for Android. how you did that and all process.