mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 00:52:08 +00:00 
			
		
		
		
	Fix instrumentation for Gmail attach images
Previously the same values were reported for all five images being attached.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user