yogi wrote: > I meant device should wait for certain time to get nfc tag to be tapped. > > > On Wed, Oct 17, 2012 at 1:23 AM, Lew <[email protected] <javascript:>>wrote: > >> yogi wrote: >> >>> Thanks for reply,Yes ofcourse have read that and also tried a tool >>> called Robotium but my requirement is am doing something with NFC were my >>> testing should wait and take my NFC tag to be tapped,so this is not >>> happening in this tool am using.So,need any other tool which does my thing. >>> >> >> What do you mean by "wait"? What do you mean by "take my NFC tag"? >> >> >>> >>> RichardC wrote: >>> >>>> Have you read: >>>> http://developer.android.com/**tools/testing/testing_android.**html<http://developer.android.com/tools/testing/testing_android.html> >>>> >>>> yogi wrote: >>>> >>>>> I need help in finding out automated testing tool for testing my >>>>> android applications or best way for testing android apps. >>>>> >>>> >> Show us your code, yogi. What have you tried, e.g., with Robotium, that >> didn't work? >> What exactly went wrong? >> >> Something I've used to test applications that are waiting for other kinds >> of external events or data, >> for example a push message from a server, is to instrument the >> application's response to that >> event or data. >> >> So you can trap the handler code, or the appearance of some prompt, or >> whatever the target app >> does in response. >> >> Also, your app code might need to be written for testability. At the very >> least you should test your >> code with a mock NFC source rather than real, so you can isolate reaction >> logic from the rest of >> the logic. >> http://code.google.com/p/android-mock/ >> > > So in your test, wait some period of time then invoke the app code that "get[s] the nfc [sic] tag".
-- Lew -- 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

