[android-developers] Getting UI text form MonkeyRunner
Hi,
I am using MonkeyRunner from java for some of my automation.
I would like to access the UI elements on the device using
MonkeyRunner.
I can see that HierarchyViewer does this for us but not sure how to
set the Selector in the below code snippet.
HierarchyViewer view = device.getHierarchyViewer();
By selector = null;
String viewtext = view.getText(selector);
It will be great if someone can give me some pointers on this.
Thanks
--Karthik
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home