[android-developers] Re: Automated Testing

2012-12-04 Thread Diego Nunes
My biggest goal is to test the application on multiple devices.

On Monday, December 3, 2012 5:06:38 PM UTC-2, Diego Nunes wrote:

 Good afternoon.

 Someone uses a solution for automated testing of Android applications?

 I found this solution: http://testdroid.com/

 Has anyone used it? Or some other uses?

 Thanks!

 -- 
 http://about.me/dnassuncao

 Diêgo Nunes Assunção
 Give Peace a Chance


-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Automated Testing

2012-12-04 Thread Vinothkumar Apparao
I think its self promotion..

On Tue, Dec 4, 2012 at 6:03 PM, Diego Nunes diegonunes.sist...@gmail.comwrote:

 My biggest goal is to test the application on multiple devices.

 On Monday, December 3, 2012 5:06:38 PM UTC-2, Diego Nunes wrote:

 Good afternoon.

 Someone uses a solution for automated testing of Android applications?

 I found this solution: http://testdroid.com/

 Has anyone used it? Or some other uses?

 Thanks!

 --
 http://about.me/dnassuncao

 Diêgo Nunes Assunção
 Give Peace a Chance

  --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 


Thanks  Regards

Vinoth Kumar A



- - - - - - - - - -
Confidentiality Warning: This message and any attachments are intended
only for the use of the intended recipient(s), are confidential and may be
privileged. If you are not the intended recipient. you are hereby notified
that any review, re-transmission, conversion to hard copy, copying,
circulation or other use of this message and any attachments is strictly
prohibited. If you are not the intended recipient. please notify the sender
immediately by return email, and delete this message and any attachments
from your system.

Virus Warning: Although the company has taken reasonable precautions to
ensure no viruses are present in this email, the company cannot accept
responsibility for any loss or damage arising from the use of this email or
attachment.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Automated Testing

2012-12-03 Thread bob
Theres a tool called monkey that does this


On Monday, December 3, 2012 1:06:38 PM UTC-6, Diego thNunes wrote:
 Good afternoon.
 
 
 Someone uses a solution for automated testing of Android applications?
 
 
 I found this solution: http://testdroid.com/
 
 
 
 Has anyone used it? Or some other uses?
 
 
 Thanks!
 
 -- 
 
 http://about.me/dnassuncao
 
 
 Diêgo Nunes Assunção
 Give Peace a Chance

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Automated Testing

2012-12-03 Thread Lew
bob wrote:

 Theres a tool called monkey that does this 

 Diego thNunes wrote: 
  Good afternoon. 


Good morning, good evening, good night. The planet is round.

 Someone uses a solution for automated testing of Android applications? 

Someone does. There are several.

 I found this solution: http://testdroid.com/ 
 Has anyone used it? Or some other uses? 

I haven't. I've used Selenium and Android Automation and Robotium and 
AndroidMock and custom code, though.

-- 
Lew

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Automated Testing Tool.

2012-10-17 Thread Lew
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 lewb...@gmail.com 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.**htmlhttp://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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Automated Testing Tool.

2012-10-17 Thread yogendra G
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 lewbl...@gmail.com 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 lewb...@gmail.com 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Automated Testing Tool.

2012-10-16 Thread RichardC
Have you read:
http://developer.android.com/tools/testing/testing_android.html

On Tuesday, October 16, 2012 10:21:07 AM UTC+1, yogi wrote:

 Hi All,

 I need help in finding out automated testing tool for testing my android 
 applications or best way for testing android apps.

 Thanks  Br,
 Yogendra G.


-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Automated Testing Tool.

2012-10-16 Thread yogendra G
Hi Richard,

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.

Br,
Yogendra G.

On Tue, Oct 16, 2012 at 3:05 PM, RichardC richard.crit...@googlemail.comwrote:

 Have you read:
 http://developer.android.com/tools/testing/testing_android.html


 On Tuesday, October 16, 2012 10:21:07 AM UTC+1, yogi wrote:

 Hi All,

 I need help in finding out automated testing tool for testing my android
 applications or best way for testing android apps.

 Thanks  Br,
 Yogendra G.

  --
 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+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Automated Testing Tool.

2012-10-16 Thread Lew
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

 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/

-- 
Lew

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en