mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 12:28:44 +00:00
Androbench: Updating Versions
Updating the workload to work with version 5.0 of the Androbench application.
This commit is contained in:
parent
0578f26bc7
commit
486c0c6887
Binary file not shown.
@ -43,7 +43,13 @@ public void runUiAutomation() throws Exception {
|
|||||||
sleep(3);
|
sleep(3);
|
||||||
UiObject btn_microbench = mDevice.findObject(selector.textContains("Micro")
|
UiObject btn_microbench = mDevice.findObject(selector.textContains("Micro")
|
||||||
.className("android.widget.Button"));
|
.className("android.widget.Button"));
|
||||||
btn_microbench.click();
|
if (btn_microbench.exists()) {
|
||||||
|
btn_microbench.click();
|
||||||
|
} else {
|
||||||
|
UiObject bench =
|
||||||
|
mDevice.findObject(new UiSelector().resourceIdMatches("com.andromeda.androbench2:id/btnStartingBenchmarking"));
|
||||||
|
bench.click();
|
||||||
|
}
|
||||||
|
|
||||||
UiObject btn_yes= mDevice.findObject(selector.textContains("Yes")
|
UiObject btn_yes= mDevice.findObject(selector.textContains("Yes")
|
||||||
.className("android.widget.Button"));
|
.className("android.widget.Button"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user