GitHub link: https://github.com/AppiumGuide
Medium link: / appiumguide
Visit My Official Blog : https://appiumguide-by-kodumururamesh...
📱 Test Incoming Calls on Android Without Actually Calling – Here’s How!
Mobile QA just got smarter! Learn how to simulate incoming phone calls on Android using Appium and ADB commands—no second device or actual call needed. Ideal for testing call interruptions, in-call UI behavior, and app resilience under real-world conditions. A must-know trick for every mobile test automation engineer.
Note: Works only for Android - Emulator
✅ Test Scenarios for Simulating Incoming Phone Calls on Android
🔹 Scenario 1: Receive and Decline a Call
Simulate an incoming call.
Verify that the call screen appears.
Programmatically decline the call.
Validate app behavior post-decline (e.g., resumes to previous state).
🔹 Scenario 2: Receive, Accept, and Disconnect a Call
Simulate an incoming call.
Accept the call using automation.
Maintain the call for a predefined duration.
Disconnect the call.
Ensure the app handles the full call lifecycle correctly.
🔹 Scenario 3: Receive, Accept, Hold, and Disconnect a Call
Trigger an incoming call simulation.
Accept the call.
Place the call on hold.
Resume and then disconnect the call.
Validate UI responsiveness and system event handling throughout.
-----------------------------------------------------------------------------------------------------
Note : Please note ,i've some typos in console report.
Scenario -2 receiving, accept & decline a call
2222222222 - call received
3333333333 - call answered - "2222222222 - call answered"
1111111111 - call cancelled - "2222222222 - call cancelled"
Due to copy/paste
#mobileappautomation #AppiumBeginnerTutorials #adb #adbcommands #appium #mobileapptesting #uiautomation #mobileautomation #gesture #gestures #appium #appiumtutorial #appiumautomation #appiumtesting #appiumframework #appiummobileautomation #appiumandroid #appiumios #appiumjava #appiumpython #appiumnodejs #mobiletestautomation #automatemobileapp #appiumgesturesplugin #appiumswipegesture #appiumdraganddrop #appiumactions #appiumplugins #mobileqa #testautomation #qaengineer #softwaretesting #mobiletestingtutorial #seleniumvsappium #automationtesting #endtoendtesting #devopstesting #continuoustesting #appium #mobileautomation #qaengineer #testautomation #appiumtutorial #appiumgestures #mobiletesting #appiummobile #automateapps #softwaretesting