On Tuesday, September 11, 2012 11:52:04 AM UTC-7, Arjun wrote:
In robotium its possible to test the Preinstalled application http://code.google.com/p/--robotium/wiki/ RobotiumForPreInstalledApps On Tue, Sep 11, 2012 at 11:41 PM, Lew <lewb...@gmail.com> wrote:
How do you write a test without source code?Arjun wrote:--Thanks for your reply actually i [sic] am testing testing the APK without source code.Lew wrote:
Arjun wrote:You should introduce new questions as new topics, but here goes. From a code fragment it'scan you pla tel me the example how to use it in case if getArrayList<view> view= solo.getviews(); is comming 0 i meanin this case what is the solution can u give me a exampleimpossible to be certain. I've seen timing issues, where Views aren't rendered yet at the time'solo' is looking. If you can peg a specific view, say by resource ID ('R.id.foobar'), you canwait for a view with something likeboolean gotView = solo.waitForView(solo.getView(R.id.foobar)); 'getViews()' returns "an ArrayList of all the View objects located in the focused Activity or Dialog."Perhaps your focused 'Activity' or 'Dialog' didn't have any 'View's.Show us a complete example that illustrates your issue.You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@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
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
No comments:
Post a Comment