[android-beginners] GUI test tool/framework for Android?

2009-07-07 Thread Yasser
Instrumentation Framework (part of SDK) but that's more for API or Unit testing not for functional testing. Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group

[android-beginners] GUI test tool/framework for Android?

2009-07-07 Thread Yasser
Instrumentation Framework (part of SDK) but that's more for API or Unit testing not for functional testing. Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email

[android-beginners] Re: GUI test tool/framework for Android?

2009-07-07 Thread Yasser
/and roll your own eclipse install with all the android, svn, jUnit stuff or whatever you like and you should be good to go. g On Mon, Jul 6, 2009 at 6:37 PM, Yasser yassersiddi...@gmail.com wrote: I need to interact with my Android application through its GUI in order to test

[android-beginners] Re: GUI test tool/framework for Android?

2009-07-07 Thread Yasser
Thanks Mark. I will look more into the instrumentation framework. Questions: - Can I use this framework for UI operations without having access to the app source code? - So it means there is no way in Android for querying controls and then performing actions on them? Thanks Yasser On Jul 7, 3

[android-beginners] How to programatically launch an installed app?

2009-07-10 Thread Yasser
Hi, I want to launch/start an already installed application like Calculator on Android and then send some keystrokes to it. Is there a way to programatically launch an app without having access to its code? Thanks Yasser --~--~-~--~~~---~--~~ You received

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Yasser
To know the intent for an activity in order to launch it, do I need to have access to the app source code? On Jul 10, 1:23 pm, Mark Murphy mmur...@commonsware.com wrote: Yasser wrote: I want to launch/start an already installed application like Calculator on Android and then send some

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Yasser
Thanks a lot Mark, that clarified my doubts. On Jul 10, 4:05 pm, Mark Murphy mmur...@commonsware.com wrote: Yasser wrote: To know the intent for an activity in order to launch it, do I need to have access to the app source code? Ideally, you have documentation telling you hey

[android-beginners] Re: How to install and run applications from within another application?

2009-07-10 Thread Yasser
For getLaunchIntentForPackage(), it says it is undefined for type PackageManager and hence code cannot compile? i can see the other methods when I put . after getPackageManager() except this one. Thanks Yasser On Jul 6, 10:39 am, Justin (Google Employee) j...@google.com wrote: How does

[android-beginners] How to log test results in a file?

2009-07-13 Thread Yasser
Hi, I am using assert methods of JUnit's Assert class on passing/failing of a test case. How can I log these messages in a file on the desktop so that I can parse them to know the test results? Thanks Yasser --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-13 Thread Yasser
I am getting log messages by logcat command but when I try to use adb logcat -f filename, it gives could't open output file: read-only file system error. On Jul 13, 2:36 pm, Yasser yassersiddi...@gmail.com wrote: I can't find the resultinglogfile, where does it get created? On Jul 13, 1:55 pm

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-15 Thread Yasser
Thanks Brett, that helped.. The log messages I write in the test code are not included in the output using -r option? to get those i need to run logcat. Also is there a mechanism to send messages from the emulator to desktop? -Yasser On Jul 14, 8:48 pm, Brett Chabot brettcha...@android.com

[android-beginners] Communication API/mechanism to talk between emulator-desktop?

2009-07-16 Thread Yasser
Hi, Is there is any way to send a message from device/emulator to the desktop. Any API available in Android for this? Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] How to test activity integration using the test framework?

2009-07-20 Thread Yasser
activity, I can launch that but on clicking the search button nothing happens because that's a different activity. So I cannot verify the results, How to test such an integration? Thanks yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] How to run instrumentation?

2009-07-22 Thread Yasser
. But when I run the app, the instrumentation is not launched, how to turn it on? Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners

[android-beginners] How to wait for an activity under test to launch?

2009-07-28 Thread Yasser
().isFinishing()) Thread.sleep(100); As a result my test code and the application under test are not in sync. Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] How to unlock screen through code?

2009-07-30 Thread Yasser
I want to unlock the emulator screen before running the tests, otherwise they are stuck till i manually clcik on menu to unlock the screen. tried this but it doesn't do anything. sendKeys(KeyEvent.KEYCODE_HOME); Thanks yasser --~--~-~--~~~---~--~~ You received

[android-beginners] Install app on a device?

2009-08-25 Thread Yasser
an app for a normal user, like copying it to SD card and then selecting it to install? Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android

[android-beginners] Re: Install app on a device?

2009-08-28 Thread Yasser
, that is an  app calls AppsInstaller in the Android Market. It can do the job you want. I have written some instructions about this issue in my blog. http://www.itblogs.info/index.php/2009/07/23/install-android-apps-fro... On Wed, Aug 26, 2009 at 10:08 AM, Yasser yassersiddi...@gmail.com wrote: Hi

[android-beginners] How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-01 Thread Yasser
Hi, Using the sendKeys() function I am able to send small letters like sendKeys(A B C). How to send capital letters? I didn't find any key event for them in KeyEvent class. Is there any separate event that I have to send prior to sending a letter, in order to make it uppercase? Thanks Yasser

[android-beginners] Re: How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-02 Thread Yasser
USA, Inc. On Sep 1, 7:57 pm, Yasser yassersiddi...@gmail.com wrote: Hi, Using the sendKeys() function I am able to send small letters like sendKeys(A B C). How to send capital letters? I didn't find any key event for them in KeyEvent class. Is there any separate event that I have

[android-beginners] Finishing all the running activities?

2009-09-11 Thread Yasser
the activities that have been started. Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from

[android-beginners] Simulate speech on emulator?

2009-09-14 Thread Yasser
if I can feed audio into the mike it will solve my purpose. Thanks Yasser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com

[android-beginners] Re: Simulate speech on emulator?

2009-09-15 Thread Yasser
Thanks Natalya. I think these are basically for playing audio in the emulator. My task is to feed audio into the microphone just like a person would normally speak into it. On Sep 14, 9:53 pm, Natalya Dobry natalyado...@gmail.com wrote: On Tue, Sep 15, 2009 at 6:48 AM, Yasser yassersiddi

[android-beginners] Separate AndroidManifest for tests?

2009-10-18 Thread Yasser
Hi, Currently in our app, the unit tests (ActivityInstrumentationTestCase2) and the app code both share the same AndroidManifest.xml. Is it possible to have a separate manifest file which the tests can use i.e. having 2 manifest files in a package? Thanks Yasser

[android-beginners] Setting volume to max?

2009-12-09 Thread Yasser
seem to work. Since I am testing speech simulation in my app, I need the file to play at the maximum volume always. Or Is there another way I can set the media volume to max programatically? Thanks Yasser -- You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Sending Unicode characters in unit tests?

2010-01-27 Thread Yasser
, then also it sends only english characters and I have to select chinese from the suggestions. Is there a way to simply type chinese like sendKeys() works for english? Thanks Yasser -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try