1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 11:22:41 +01:00

Add pressHome() method in the Base class

This function Presses Home button on the Android User Interface.
This commit is contained in:
jummp01
2017-01-31 17:31:03 +00:00
parent da7a3276ed
commit 65aa00483b
3 changed files with 3 additions and 0 deletions

View File

@@ -228,6 +228,9 @@ public class BaseUiAutomation extends UiAutomatorTestCase {
UiDevice.getInstance().pressEnter(); UiDevice.getInstance().pressEnter();
} }
public void pressHome() {
UiDevice.getInstance().pressHome();
}
public void pressBack() { public void pressBack() {
UiDevice.getInstance().pressBack(); UiDevice.getInstance().pressBack();