Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Best practices for Robotium, Marshmallow and additional permissions

Jussi Savola Nov 30, 2015 09:29AM CET

What would be be the best way to handle Android OS 6.x system popups for verifying the application access to sensitive permissions?
As the permission verification popup is a system level thingy, accessing the "grant" button from robotium is tricky at best.

Up -1 rated Down
Ville-Veikko Jan 27, 2016 07:28PM CET Bitbar Testing help Agent

Depending on what framework you use some of those provide better ways to handle OS notifications/pop-ups. For example with Appium, you can automate the click on those by following steps in this blog:

Also, you may want to consider image recognition if you notifications or pop-ups are specific ones.

Best regards,
Testdroid Support

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found