mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
Add pressHome() method in the Base class
This function Presses Home button on the Android User Interface.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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();
|
||||||
|
Reference in New Issue
Block a user