mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 00:52:08 +00:00 
			
		
		
		
	Merge pull request #16 from jimboatarm/fudge
Deal with Reader PDF search on the Yoga Tab 3
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -283,7 +283,14 @@ public class UiAutomation extends UxPerfUiAutomation {
 | 
			
		||||
        getUiDevice().getInstance().pressSearch();
 | 
			
		||||
        Timer result = new Timer();
 | 
			
		||||
        result.start();
 | 
			
		||||
        getUiDevice().getInstance().pressEnter();
 | 
			
		||||
 | 
			
		||||
        // Deal with the Yoga Tab 3 special case which does not handle Enter keys in search boxes
 | 
			
		||||
        String productName = getUiDevice().getProductName();
 | 
			
		||||
        if (productName.equals("YT3_10_row_wifi")) {
 | 
			
		||||
            tapDisplay(2370, 1100);
 | 
			
		||||
        } else {
 | 
			
		||||
            getUiDevice().getInstance().pressEnter();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Check the progress bar icon.  When this disappears the search is complete.
 | 
			
		||||
        UiObject progressBar = new UiObject(new UiSelector().resourceId("com.adobe.reader:id/searchProgress")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user