huaminhquang / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Preferences testing #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create page with shared preferences
2. Open "preferences.xml" and notice no ID (add ID)
3. Try to click / match any field from preference-made-page

What is the expected output? What do you see instead?
Preference elements cannot be reached even if ID is added.
Some elements can be tapped with text recognition but "SwitchPreference" 
buttons cannot be examed at all.

What version of the product are you using? On what operating system?
Android Studio 0.8.9
espresso-1.1-bundled.jar
Windows 7 professional

Please provide any additional information below.

Original issue reported on code.google.com by dragan...@gmail.com on 3 Nov 2014 at 9:52

GoogleCodeExporter commented 9 years ago
Given the limited information, this does not seem to be an issue with Espresso. 
Use hierarchyviewer to examine your layout and determine a suitable set of 
properties on which you can match your target view.

Original comment by vale...@google.com on 19 Nov 2014 at 11:01