Android :: Monkey Testing On Android Device

Jan 6, 2010

I am executing Monkey testing on a Android device. The command i am using is "adb shell monkey -p -v 50000000 > monkey-calculator.txt" When we execute this command i suppose it should send 50000000 events to the device. In my case after sending event #150900 it stopped and i see a message: ":Dropped: keys=0 pointers=0 trackballs=0 flips=0" What does this message tell me?

Android :: Monkey Testing on Android device


Android :: How To Keep Testing Monkey's Grubby Fingers Out Of Preferences?

Oct 11, 2010

My preferences section contains user names and passwords that, if trashed, render the rest of the app non-functional. How can I keep the testing monkey's grubby fingers out of the preferences?

View 3 Replies View Related

Android :: Monkey Automation Script Documentation For App Testing?

Mar 31, 2010

To automate system application testing, trying to use android monkey tool.But monkey tool use only default setting for testing particular application.

Is there any documentation or help to write user own android monkey tool script to automate monkey tool for application testing.

View 2 Replies View Related

Android :: Monkey Commands - Adb Shell Monkey - Port 1080

Sep 7, 2010

Once I start up monkey from the shell like:

adb shell monkey --port 1080

Then, If I write normal java code to establish a connection to (on the device itself) and then issue monkey commands from there?

I have tried this and I am able to create a socket, but to get the response, I wait for an awfully long time and nothing happens. Why this behavior?

View 2 Replies View Related

Android :: Testing On Every Possible Device?

Nov 13, 2009

We have many phones, but we don't--and probably never will--have all of them.

It's frustrating that some phones cannot see our apps in the market, and we'd like to know which phones those are.

We'd like to have a simple way to have our app tested on each phone, but at this point there's no easy way to do that.

My question is: what would we as developers be willing to do to get these needs met? Is there enough demand for someone to buy all possible Android devices and charge a nominal fee for these services?

We would pay a small fee to have out app accessed and downloaded on all phones--this would give us a report of which phones could access our app. We would pay a fee to have a step-by-step test ran on each possible device so we could know it worked on that device, at least minimally.

View 3 Replies View Related

Android :: Testing Applications On Device

Feb 11, 2010

I'm trying to make my application (compiled against 2.1) compatible with the 1.5 platform. I've handled all of the res/ folder issues, and have been able to run the app on all platforms without problems. I can run it fine on all emulators, and all devices/OS systems running 1.6 or higher. But on the only 1.5 device I have (HTC Hero), I get intermittent problems.

The only 1.5 device I have is an HTC Hero phone I got free at the Sprint developer conference a few months ago. When I test the app on that device, I have occasionally encountered a bug I've not seen anywhere, and can't find any information about.

I can install the application via the adb install command (although I get two messages about unknown commands), but after installing the app, the icon can disappear from the home screen, replaced either with a different icon or no icon.

When the app is launched in this state, rather than seeing my application name in the title bar, it reads "60.0dip". I don't use this value anywhere in my application.

I have never observed this problem on any other phone I've tested on (G1, myTouch, two Motorola Droids, Nexus One), but as I said I've only got one device running 1.5.

View 9 Replies View Related

Android :: Best Device For Testing Development?

May 7, 2010

I am starting android development which phone is good for testing? or is emulator good enough? I am doing game development.

View 6 Replies View Related

Android :: Loading APK File On Device For QA / Testing

Sep 7, 2010

I'd love to get some ideas on best practices for testing our Android software, especially for AT&T devices. We're using a Samsung Captivate, on AT&T. As you know, AT&T disables sideloading (no Unknowns Sources option in Settings->Applications). We need to have our QA team load our apk file onto these devices as part of our testing and validation process. We're willing to install the SDK if needed, and upload the apk file via USB. We are not willing to root the phone.

View 2 Replies View Related

Android :: Testing Game On Real Device

Mar 13, 2009

I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a big problem later... it is playable though. Is there somebody who has a real device and wants to test the game for me, just starting it up and playing it a little bit is good enough. It's a 2d airplane shoot gane, much like the old raptor game. If someone is interested please reply, i will sent you the (singed) APK and with some things i want to test (using both the buttons as well as touch screen for gameplay).

View 7 Replies View Related

General :: How To Emulate Android Device On SDK For Rom Testing

Feb 9, 2014

I want to decrypt this xml file: / videoChannel.xml

i don't know if it is encrypted or compressed. i know that i have an apk that does the decryption of the file.

View 1 Replies View Related

Media :: Way To Sync Music To Android Device Using Media Monkey

Jul 22, 2010

How To: Properly Sync Music To Android With MediaMonkey | from the site: Mount your phone in USB Mode to your computer, and note the drive letter that it is associated Open this drive in Windows Explorer and create the appropriate folders where you want your music stored. I have one called Music and one called Playlists, but you can do this however you want. Now launch MediaMonkey, and make sure it shows your phones memory card in the left sidebar (separately from the MyComputer option) In MediaMonkey, click on Tools up top, then choose Options and go down to Portable/Audio Devices Uncheck *all* of the plug-ins except d_USBMass1.dll Highlight d_USBMass1.dll and click on the Configure button to the right Choose the Device Configuration tab in the dialog box that popped up In the middle of this tab, youll see a box called Device Name, which is where youll type the name of your phone (mine is NexusOne)Below this, choose the appropriate drive letter from the drop-down Below this, enter a Drive Label (again, mine is NexusOne)Leave the USB Device ID box empty and dont click the Find Device button While you have this dialog box open, you can tinker with the other tabs, if you want. This is where you can specify a folder hierarchy and adjust your sync settings. I would recommend creating a small playlist (~15-20 tracks from various artists/genres/albums) to test with you dont want to do a full sync only to realize you dont like your sync settings. This guide is better because it allows for the use of smart playlists and has much fewer steps than if you use winamp.

View 3 Replies View Related

Android :: Need Testing Service To Use Real Debug Information From A Device?

Dec 5, 2009

I need test my Android app on a Motorola Cliq but don't have one. Is there a testing service that will let me make a debug connection to that device so I can run some tests and find out where the code is failing. Video connections won't tell me that.

View 2 Replies View Related

Android :: Testing Problem With ActivityInstrumentationTestCase2 - T - Error When Trying To Access Activity Under Testing

Feb 24, 2010

I wrote a simplest test based on android.test.ActivityInstrumentationTestCase2.


View 2 Replies View Related

Android :: Android Functional Testing - Testing Multiple Activities

Apr 16, 2009

I've been exploring the Android test package and I'm very confused on how to implement functional testing for endpoint-to-endpoint.

Consider the example below, I have 4 activities: 1. A Contact List Activity 2. A View Contact Activity 3. An Add/Edit Contact Activity 4. A Sync Contact List activity

I want to automate a few tests that will go through multiple test cases simulating a user experience: From launching the application, to selecting 'Add contact;' opening the add contact activity, entering data, saving it, going back to the list activity, and verifying the new contact was saved properly.

As I understand it, ActivityInstrumentationTestCase<T extends Activity> and ActivityUnitTestCase<T extends Activity>, are only useful for testing single activity functionality.

But what if I need to switch between 2 or more activities inside a single functional test case?

View 5 Replies View Related

Android :: Monkey Script

Jun 12, 2010

I am really interested to use monkey with my own script,but i don't know the format of the script, can you give me a complete example for monkey script.

View 2 Replies View Related

Android :: Smarter Monkey

May 5, 2009

I was testing my program with Monkey under the 1.5 emulator. It gets hung up on some of the dialogs which a user would just dismiss with the back key and quits with a "not responding" error. The application hasn't quit and dismissing the dialog the program continues to run normally. This will also happen with any of the edit dialogs that the SoftKeyboard pops up during entry. Soemtimes it will manage to dismiss a dialog. I don't see anything in the options to prevent this.

View 2 Replies View Related

Android :: Write Monkey Script

Jul 8, 2010

I am doing to wirte Monkey Script but i have no idea about it

someone have a sample script?

I searched in google so found some it. but i don't know that mean of the script

=========================== type= point <---- how many type can i use? count= 10 speed= 1.0 start data >> captureDispatchPointer(5109520,5109520,0,230,358,0,0,0,0,0,0,0); captureDispatchPointer(5109521,5109521,1,230,358,0,0,0,0,0,0,0); delay(5000) <-----how many function can i use and type?

captureDispatchKey(5113146,5113146,0,4,0,0,0,0); captureDispatchKey(5113146,5113146,1,4,0,0,0,0);

View 2 Replies View Related

Android :: Monkey Tool Script

Mar 23, 2010

Android Monkey tool can use user supplied script to run, but very few information are present in this regarding to writing android monkey script. one guy only copied the stuff from source code and apart from that no information is present. Can anyone tell abount the sysntax of android monkey script to launch browser using the command from script and to browse particular website.

View 7 Replies View Related

Android :: Consistent System Bug While Using UI Test Monkey App

Dec 22, 2009

I'm using the UI test monkey tool provided with android. This is a consistent error I see and wonder how I can avoid it.

Somehow the test app will rotate the orientation of my app such that the emulator window is still in portrait orientation, but the screen surface is in a landscape orientation. When in this configuration, any time you click on an EditText, a system exception gets thrown:

"The application OpenWnn (process has stopped unexpectedly. Please try again."

So this OpenWnn process is not mine, it looks like it handles display of the virtual keyboard. When in this odd orientation mode, and you try to click in an EditText, I can see the virtual keyboard try to slide in from the left side of the screen, then that exception gets thrown.

I'm not sure what orientation this is, because it's not the normal landscape orientation you get by hitting ctrl + F11. In fact, the virtual keyboard shouldn't even be trying to display itself in landscape mode? Much less from the left side of the emulator?

View 1 Replies View Related

Android :: Load An External Library In Monkey

Mar 30, 2009

I want to load an external library in monkey.For example,i write a series method in a new class with java,and i want to pack it to be a library like .so/.dll/.JAR or something else.Then the monkey is to load the library ,to use the mothod in it. I know the source code must be rebuild ,but how can it be done--how to pack it into a library,and load the library? If any one knows anything ,please help me out.

View 2 Replies View Related

Android :: Close The Adb DOS Window - Monkey Terminated

Feb 8, 2009

As you know,i started the monkey tool at adb shell,and run a script file to send a series of commands including key and mouse events,But sadly to see that when i close the adb DOS window,Monkey just terminates, I wonder why should this happen,and Will it do the same to a real device ?

View 5 Replies View Related

Android :: Monkey Script - Grammar Format

Jun 22, 2010

This is my Monkeyscript type= point count= 0 speed= 1 start data >>

captureDispatchPointer(5109520,5109520,0,230,358,0,0,0,0,0,0,0); captureDispatchPointer(5109521,5109521,1,230,358,0,0,0,0,0,0,0); captureDispatchKey(5113146,5113146,0,4,0,0,0,0); captureDispatchKey(5113146,5113146,1,4,0,0,0,0);

I want give a sleep between the second sentence and the third one, but i don't konw the grammar format. Is the grammar format is "UserWait(5000)"?

View 2 Replies View Related

Android :: Source Code Of Command Monkey?

Apr 15, 2009

I don't have a option -f in my command monkey(/system/bin/monkey). example: adb shell monkey -f <script_file_name>. But the command unknown option -f. So I want to get the source code of the command monkey, then open this option and rebuild it.

View 6 Replies View Related

Android : Monkey Not Playing Video Using Music App

Apr 6, 2009

We are trying to test the Music Player (Music.apk) with Monkey. We have added the permissions in AndroidManifest.xml of Camera application (Camera.AK): <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> In the same file, we have added intent for MovieView Activity: <category android:name="android.intent.category.MONKEY" /> We use the following commands: # Launch the Music Player am start -a android.intent.action.MAIN -n # Launch Monkey to test Music player monkey -p -v -v -v 500 But, we get the error message: "// Rejecting start of Intent.

View 2 Replies View Related

Android :: Monkey Test - Service Name Too Long Error

Aug 9, 2010

I want to include about 40 packages in monkey command.But when I tried to include 40 packages using -p option, adb shell returned me "Service name too long " error .This seems to be limitation of adb shell. Is there any way to overcome this?

View 3 Replies View Related

Android :: Monkey - Touch Events Being Dispatched To The Screen

Sep 8, 2010

I start monkey like this:

monkey -p <MY PACKAGE> --port 4321

(I have already done a tcp port forwarding).

I then use PuTTY to telnet to

I can issue a command like tap 100 100 I get a response OK but I see nothing happening on the UI. I have placed a button at that location but I does not receive the touch event.

When I run monkey like this

monkey -p <MY PACKAGE> --pct-touch 100 -v 10

I see touch events being dispatched to the screen.

View 1 Replies View Related

Android :: Format Or Example For Writing Script For Monkey Tool

Sep 6, 2010

Provide the example or format for writing my own script to be used with monkey tool.

View 2 Replies View Related

Android :: Send Monkey Commands In A Test Application?

Jan 19, 2009

I was trying to send Monkey commands in one of my test applications. But When I install it on the emulator, the packageManager refuses to grant permission "SET_ACTIVITY_WATCHER" which is required to run Monkey.

Is it possible to call Monkey in a test application?

View 2 Replies View Related

Android :: Monkey Test Error / Event Remote Exception

Jun 28, 2010

I am doing monkey test for my application, and I meet Remote Exception many times. I don't know why remote-invocation errors occurs. Has anyone experienced such exception?

Monkey Log snippet:
:Sending Pointer ACTION_MOVE x=-1.0 y=-3.0
:Sending Pointer ACTION_DOWN x=322.0 y=77.0
:Sending Pointer ACTION_UP x=322.0 y=77.0
:Sending Pointer ACTION_DOWN x=299.0 y=488.0
Error: RemoteException while injecting event.
Events injected: 11088
:Dropped: keys=0 pointers=2 trackballs=0 flips=0
## Network stats: elapsed time=1511978ms
(1511978ms mobile, 0ms wifi, 0ms not connected)
System appears to have crashed at event 11088 of 56000 using seed 25194847

View 5 Replies View Related

Android :: Monkey Usage With Scripts - Network Control Not Working

Sep 12, 2010

I am trying to do 2 things with monkey

1. Execute a script with a command like

adb shell monkey -p MY_PACKAGE --setup scriptfile -f /sdcard/ mon_script1.txt 1

where mon_script.txt contains a few touch commands. After I execute this, I see nothing happening on the screen. It even does not give me the "Number of events injected message". I have verified that my touch co-ordinates fall over actual UI elements.

This is the script file I am using

tap 79 29 tap 100 100 tap 200 200 tap 300 300 quit

2. Execute Monkey Network control to type commands individually. I start up monkey to listen to a port and use PuTTY to send commands. I get "OK" return messages, but nothing happens on the screen.

Whenever I use monkey in the random mode, I see interaction on the screen. But I need to get one of the above 2 methods to work. I have seen the sources of monkey and nothing seems to be wrong. Has anyone used monkey in the above described way? If so, please tell me what I am doing wrong.

View 6 Replies View Related

Copyrights 2005-15, All rights reserved