I cant find any good help on this. I have a simple activity with just a few buttons on and I need to test if they re-direct to the correct new page (activity).
public void testButton() {
button.requestFocus();
button.performClick();
}
I really have no idea beyond that. The tutorials are all very unhelpful in doing this :/