mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
AdobeReader: Updated workload to work with latest version.
The 'My Documents' element that the workload used to check for completed setup has been removed in the latest version, now checks for the text itself which is also present in previous versions.
This commit is contained in:
parent
ae0c9fa60b
commit
7b7eb05e7f
Binary file not shown.
@ -116,8 +116,8 @@ public class UiAutomation extends UxPerfUiAutomation implements ApplaunchInterfa
|
||||
tapDisplayCentre();
|
||||
}
|
||||
|
||||
UiObject actionBarTitle = getUiObjectByDescription("My Documents",
|
||||
"android.widget.LinearLayout");
|
||||
UiObject actionBarTitle = new UiObject(new UiSelector().textContains("My Documents")
|
||||
.className("android.widget.TextView"));
|
||||
actionBarTitle.waitForExists(uiAutoTimeout);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user