mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-14 06:38:36 +00:00
Merge 605612b506dbd152fe5bb43e4d0e0f40ec12dfff into 35ce87068ca96cbf4aef65d9aa8b4e0c9d0c2f98
This commit is contained in:
commit
98302d598a
Binary file not shown.
@ -60,14 +60,19 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
public void clearPopups() throws Exception {
|
||||
UiSelector selector = new UiSelector();
|
||||
|
||||
UiObject next = mDevice.findObject(selector.textContains("NEXT")
|
||||
.className("android.widget.Button"));
|
||||
next.waitForExists(60000);
|
||||
if (next.exists()){
|
||||
next.click();
|
||||
}
|
||||
|
||||
UiObject cancel = mDevice.findObject(selector.textContains("CANCEL")
|
||||
.className("android.widget.Button"));
|
||||
cancel.waitForExists(60000);
|
||||
if (cancel.exists()){
|
||||
cancel.click();
|
||||
}
|
||||
//waitObject(cancel);
|
||||
//cancel.click();
|
||||
}
|
||||
|
||||
public void downloadAssets() throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user