PKAP
PKAP

Reputation: 735

How to simulate click on menu hardwarebutton with espresso

following question: I want to simulate a click on the menu hardwarebutton. Is it possible with espresso to do this (If yes - a code snippet would be nice)?

Upvotes: 0

Views: 103

Answers (1)

HowieH
HowieH

Reputation: 2612

Espresso.openActionBarOverflowOrOptionsMenu(getActivity().getApplicationContext(‌​));

Upvotes: 1

Related Questions