Thank u Very much for nice description.Code i really cant paste but can say u the flow so that u may able to catch wat am trying to say. Below is flow off app which got to be tested automatically: 1. App launches on click of app selected. 2. i Have grid view of image buttons on that i click on 1st Image Button. 3. Later there is screen which got to wait untill i tap my NFC Tag and read certain data from tht tag and go to next screen.
In the above steps still Step - 2 i was able to do using robotium but not later part.So,if possible help me out in this. THanks & Br, Yogendra G On Thu, Oct 18, 2012 at 2:27 AM, Lew <[email protected]> wrote: > 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]> 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/**t**ools/testing/testing_android.**h** >>>>> tml <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/<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 > -- 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

