https://review.source.android.com//#change,21478
<https://review.source.android.com//#change,21478>Adds support for this change. If you check the android source out and build monkeyrunner from that, you should be able to read images from the file system. It will also eventually find its way into an SDK release, but checking it out and building it youself is the fastest way to get it. Bill On Fri, Feb 25, 2011 at 5:52 PM, Andrew W. Hill <[email protected]> wrote: > I know this is an old thread, but I was wondering if MonkeyRunner has > the capability to read screenshots from the file system yet. I > couldn't find any info on it. > Cheers, > Andrew > > On Feb 15, 4:11 pm, Bill Napier <[email protected]> wrote: > > Hi Christopher, > > > > Being able to load an image into MonkeyRunner from the filesystem > > makes a lot of sense, I don't see how I had missed that. All the > > test's we've been using MonkeyRunner before only ever wanted to > > compare to subsequent snapshots (to see what has changed). This looks > > pretty straight forward feature to add, but may take me a couple days > > to get to it. > > > > Bill > > > > On Mon, Feb 14, 2011 at 6:14 PM, Christopher M. Judd <[email protected]> > wrote: > > > > > > > > > According to the monkeyrunner documentation, you can compare > > > screenshot output to known screenshot for regression testing. How do > > > you do this? I see the method sameAs on MonkeyImage but that takes a > > > MonkeyImage presumably one saved on disk for regression testing but > > > there appears to be no way to load one from disk. > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > [email protected] > > > To unsubscribe from this group, send email to > > > [email protected] > > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

