Hi all, I am trying to write a simple test framework. This is what I want to do:
My actual test is an apk file on android device, and I write a TestCase or some instrumentation for that which runs on host side. I trigger the test using adb commands or some IDE. I am able to refer to some examples which does above.Now what I want to know is any way of getting results back using any api available in TestCase or such class.This result can be any string value or an object too. 1. can I use TestResult for this purpose ? I expect it ot be similar to function calland return value from function.i.e. on completion of test I should get back the result in a structured way probably defined by me.Is this possible at all. 2. or return value is always going to be put to stdout? or logcat? 3.how do I parse and collect stdout or logcat prints into a file? any input would be of great help. Regards, Dev --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

