I am using Espresso for my UI Testing. In Espresso, I can test any particular activity I want without having to go from the first activity with the following rule.
@Rule
public ActivityTestRule activityTestRule = new ActivityTestRule(HomeActivity.class);
Note: Here HomeActivity
comes after LoginActivity
.
But when I am using Espresso recorder, it always seems to begin the test from LoginActivity
.I need to launch HomeActivity
directly. So is there any option in Android Studio to launch a particular activity with Espresso Recorder.