In a very basic example, I have my first activity (activity1) which the user enters in their username and password. If they are correct, a rnd-token is generated from a server and passed into activity2.
Activity2 does something that is based on the token generated in activity1.
Im using Espresso to fill in the user credentials and press the button in activity1. Is there a way I can start a AndroidTest from the completion of activity1Test? Is there a way I can automate the entire life-cycle of my app?
Thanks!
Aucun commentaire:
Enregistrer un commentaire