1
0
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:
Marc Bonnici 2017-02-03 14:36:25 +00:00
parent ae0c9fa60b
commit 7b7eb05e7f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}