mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	PCMark: Fixing click co-ordinates
The workload is clicking the run button in the centre of the element but this is no longer starting the run operation. Refactoring the code to click in the topleft of the object seems to rectify the issue.
This commit is contained in:
		
				
					committed by
					
						 Marc Bonnici
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							a9f3ee9752
						
					
				
				
					commit
					0166180f30
				
			
										
											Binary file not shown.
										
									
								
							| @@ -123,7 +123,7 @@ public class UiAutomation extends BaseUiAutomation { | |||||||
|                                                .childSelector(new UiSelector().text("RUN") |                                                .childSelector(new UiSelector().text("RUN") | ||||||
|                                                .className("android.view.View"))); |                                                .className("android.view.View"))); | ||||||
|         if (run.exists()) { |         if (run.exists()) { | ||||||
|             run.click(); |             run.clickTopLeft(); | ||||||
|         } else { |         } else { | ||||||
|             UiObject runtext = |             UiObject runtext = | ||||||
|                 mDevice.findObject(new UiSelector().text("RUN")); |                 mDevice.findObject(new UiSelector().text("RUN")); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user