1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-14 14:48:53 +00:00

Merge pull request #18 from jimboatarm/fudge

Fix instrumentation for Gmail attach images
This commit is contained in:
jimboatarm 2016-05-11 16:48:40 +01:00
commit 2579c01757
2 changed files with 1 additions and 1 deletions

View File

@ -110,13 +110,13 @@ public class UiAutomation extends UxPerfUiAutomation {
}
public void attachFiles() throws Exception {
Timer result = new Timer();
UiObject attachIcon = getUiObjectByResourceId("com.google.android.gm:id/add_attachment",
"android.widget.TextView");
String[] imageFiles = {"1.jpg", "2.jpg", "3.jpg", "4.jpg", "5.jpg"};
for ( int i = 0; i < imageFiles.length; i++) {
Timer result = new Timer();
result.start();
clickUiObject(attachIcon, timeout);