1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-30 14:44:09 +00:00

More fixes to Reader/Gmail/Photos to improve reliability across devices

This commit is contained in:
James Hartley
2016-05-05 22:22:10 +01:00
parent 44f99dcc79
commit 5d0f676033
6 changed files with 14 additions and 4 deletions

View File

@@ -287,7 +287,7 @@ public class UiAutomation extends UxPerfUiAutomation {
UiObject searchBox = getUiObjectByResourceId("android:id/search_src_text",
"android.widget.EditText");
searchBox.setText(searchText);
searchBox.click();
getUiDevice().getInstance().pressSearch();
Timer result = new Timer();
result.start();
getUiDevice().getInstance().pressEnter();