Monkey is Android

The Monkey is Android a command-line tools, can run in simulator or actual devices. Monkey is random, so when we first started running monkey every developer was getting different results and we were unable to reproduce defects. It sent to system pseudo-random user event flow (such as keystroke, touch screen input, gesture input etc), to achieve the applications are being developed for pressure test. Monkey testing is a kind of to test software stability and robustness of the rapid and effective method.

The Monkey includes a number of options, but they break down into four primary categories:

  • Basic configuration options.
  • Operational constraints.
  • Event types and frequencies.
  • Debugging options.

Following are the lists of options which you can include on the Monkey command line:

  • General

        --help
        -v
     
  • Events

        -s <seed>
        --throttle <milliseconds>
        --pct-touch <percent>
        --pct-motion <percent>
        --pct-trackball <percent>
        --pct-nav <percent>
        --pct-majornav <percent>
        --pct-syskeys <percent>
        --pct-appswitch <percent>
        --pct-anyevent <percent>
     
  • Constraints

        -p <allowed-package-name>
        -c <main-category>
     
  • Debugging

        --dbg-no-events
        --hprof
        --ignore-crashes
        --ignore-timeouts
        --ignore-security-exceptions
        --kill-process-after-error
        --monitor-native-crashes
        --wait-dbg

Thank You...