Using adb command for tests run in test lab

182 views
Skip to first unread message

Sebin Sebastian Joseph

unread,
Jul 15, 2021, 1:01:40 PM7/15/21
to Firebase Google Group
Hi,

Can I use adb shell command inside my test code while running a test in test lab? I want to set location permissions to my application created using flutter before launching the application and running adb shell via code works in my local machine but not with test lab. Is there a way to achieve this in test lab?

paul...@google.com

unread,
Jul 27, 2021, 1:10:12 PM7/27/21
to Firebase Google Group
Do you declare that permission in your manifest? Test Lab installs apps with the -g flag to automatically grant all declared permissions.
Reply all
Reply to author
Forward
0 new messages