mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-29 22:24:51 +00:00 
			
		
		
		
	Androbench: Updating Versions
Updating the workload to work with version 5.0 of the Androbench application.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -43,7 +43,13 @@ public void runUiAutomation() throws Exception { | ||||
|         sleep(3); | ||||
|         UiObject btn_microbench = mDevice.findObject(selector.textContains("Micro") | ||||
|                                                      .className("android.widget.Button")); | ||||
|         btn_microbench.click(); | ||||
|         if (btn_microbench.exists()) { | ||||
|             btn_microbench.click(); | ||||
|         } else { | ||||
|             UiObject bench = | ||||
|                 mDevice.findObject(new UiSelector().resourceIdMatches("com.andromeda.androbench2:id/btnStartingBenchmarking")); | ||||
|                 bench.click(); | ||||
|         }         | ||||
|  | ||||
|         UiObject btn_yes= mDevice.findObject(selector.textContains("Yes") | ||||
|                                                      .className("android.widget.Button")); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user