mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
Merge pull request #513 from jimboatarm/androbench_update
Androbench: Updating Versions
This commit is contained in:
commit
5a70ab8534
Binary file not shown.
@ -43,7 +43,13 @@ public void runUiAutomation() throws Exception {
|
||||
sleep(3);
|
||||
UiObject btn_microbench = mDevice.findObject(selector.textContains("Micro")
|
||||
.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")
|
||||
.className("android.widget.Button"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user