Steps to Handle Mobile App Permission Popup in Appium



Steps to Handle Mobile App Permission Popup in Appium
In this blog, we are going to learn how we can handle Mobile app permission pop up that usually ask our permission to allow or deny.

Let’s Take an example of below app permission



To handle above popup we can create one utility. Let’s Name it as AppPermission.

In this with the help of a while loop we can iterate all the permission popup and use index 1 to deny or 2 to accept the Popup. Please note this method we need to call just before in our code where this permission popup is displayed.







SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
June 29, 2021 at 11:26 AM

Can u show me the code for the permission pop up

Reply
avatar