1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

AdobeReader: Updated to handle latest version

The workload has been updated to handle the latest version
which no longer has the welcome view page. This has been
done so in a way that still provides backwards compatibility
to previous versions.
This commit is contained in:
scott 2017-08-03 14:18:53 +01:00
parent afa2e307cc
commit 0578f26bc7
2 changed files with 4 additions and 2 deletions

View File

@ -102,8 +102,10 @@ public void runUiAutomation() throws Exception {
if (!onboarding_finish_button.exists()) {
welcomeView.swipeLeft(10);
}
clickUiObject(BY_ID, packageID + "onboarding_finish_button", "android.widget.Button");
if (onboarding_finish_button.exists()) {
clickUiObject(BY_ID, packageID + "onboarding_finish_button", "android.widget.Button");
}
// Deal with popup dialog message promoting Dropbox access
UiObject dropBoxDialog =