2.0 SDK에 보면 Monkey tool 이라는것이 있는데 Monkey tool이 Script file를 지원한다고 되어 있습니다.
adb shell monkey -f scriptfile 같이 사용하면 된다고 help에 나와 있지만,
 scriptfile을 어디에 놓고 실행하는 것인지 궁금합니다.
컴퓨터의 c:\android-sdk-windows\tools\ 밑에 scriptfile을 넣고 실행해도 안되더라구요..
또한 에뮬레이터 sdcard 밑에 넣고 실행해도 안되구요.

Monkey script file은 풀소스에 있는 파일을 사용했습니다.
혹시 script file을 따로 빌드해야하는 것인가요??


아래는 script file 입니다.

example_script.txt
=====================
# Touch the android
touch down 160 200
touch up 160 200
sleep 1000

# Hit Next
touch down 300 450
touch up 300 450
sleep 1000

# Hit Next
touch down 300 450
touch up 300 450
sleep 1000

# Hit Next
touch down 300 450
touch up 300 450
sleep 1000

# Go down and select the account username
key down dpad_down
key up dpad_down
key down dpad_down
key up dpad_down
key down dpad_center
key up dpad_center
# account name: bill
key down b
key up b
key down i
key up i
key down l
key up l
key down l
key up l

# Go down to the password field
key down dpad_down
key up dpad_down

# password: bill
key down b
key up b
key down i
key up i
key down l
key up l
key down l
key up l

# Select next
touch down 300 450
touch up 300 450

# quit
quit