I'm writing some end-to-end tests of an Android-TV-App using Python and my own implementation of the ADB-Protocol. This works fine so far, I can send commands, get ui-dumps ect.
However, since the app is only available on the Google Play Store (I don't have access to any source code) and I want to update the version of the app every week, I'm wondering how I can do this using ADB.
I thought about following solutions:
- Send key events to open play store on the device and navigate to to the installation / update page of the app.
- Download the app somehow to the Testmachine and push it to the device by ADB.
- Use ADB to directly install a new version of the app on the device.
Whats "best practice" on this and how should i solve my problem?