how to configure monkey talk android agent
DESCRIPTION
This is about how to configure Android emulator to MonkeyTalk automation tool.TRANSCRIPT
![Page 1: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/1.jpg)
Dasun Eranthika
How to Configure MonkeyTalk Android Agent
![Page 2: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/2.jpg)
Content
Pre-Conditions
Configure Eclipse
Configure emulator to MonkeyTalk
2
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 3: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/3.jpg)
Pre-Conditions
Get downloaded Eclipse
Get downloaded Android SDK
Configure Android SDK to Eclipse
Install AspectJ plug-in to Eclipse
A sample android project I used Touch Calculator
Get downloaded MonkeyTalk
3
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 4: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/4.jpg)
Configure Eclipse
Import the sample project to Eclipse
4
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 5: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/5.jpg)
Configure Eclipse
Select Existing Android project and click Next
5
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 6: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/6.jpg)
Configure Eclipse
Browse your Android project and click Finish
6
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 7: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/7.jpg)
Configure Eclipse
Right click on your impetrated project in project explorer > configure > Convert to AspectJ project
7
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 8: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/8.jpg)
Configure Eclipse
Right click your exported project > New > Folder
8
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 9: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/9.jpg)
Configure Eclipse
Give a Name to folder (e. g. lib) and click Finish
9
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 10: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/10.jpg)
Configure Eclipse
Go to downloaded MonkeyTalk folder \MonkeyTalk\agents\android
Copy monkeytalk-agent-1.0.30 jar file
Paste it to newly created folder in MonkeyTalk
10
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 11: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/11.jpg)
Configure Eclipse
Right click on that jar file > AspectJ Tools >Add to Aspectpath
11
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 12: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/12.jpg)
Configure Eclipse
Open Android Manifest
Go to AndroidManifest.xml tab
Add these access permissions and save it <uses-permission
android:name="android.permission.INTERNET"/> <uses-permission
android:name="android.permission.GET_TASKS"/>
12
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 13: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/13.jpg)
Configure Eclipse
Go to project properties by Right click > Properties
Go to Java Build Path
Make a ticked for AspectJ Runtime Library
Click OK
13
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 14: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/14.jpg)
Configure Eclipse
Right click on the project > Run As > Android Application
14
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 15: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/15.jpg)
Configure Eclipse
App is running now
15
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 16: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/16.jpg)
Configure emulator to MonkeyTalk
Open MonkeyTalk IDE
Go to File > New > MonkeyTalk Project
16
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 17: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/17.jpg)
Configure emulator to MonkeyTalk
Give a relevant name and click Finish
17
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 18: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/18.jpg)
Configure emulator to MonkeyTalk
Right click on the project > New > Script
18
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 19: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/19.jpg)
Configure emulator to MonkeyTalk
Give a name for the script and click Finish
19
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 20: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/20.jpg)
Configure emulator to MonkeyTalk
Click Window > Preference
20
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 21: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/21.jpg)
Configure emulator to MonkeyTalk
Click MonkeyTalk Preference > Browse the Android SDK path > Apply > OK
21
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 22: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/22.jpg)
Configure emulator to MonkeyTalk
Click Connect to Emulator button
When it connects successful, you be able to the message in console area
22
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 23: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/23.jpg)
Configure emulator to MonkeyTalk
Now you can start record and play
23
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 24: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/24.jpg)
24
Download the PDFhttp://www.mediafire.com/view/?3jb768haq06aj39
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
![Page 25: How to configure monkey talk android agent](https://reader030.vdocuments.net/reader030/viewer/2022020105/54b70a704a7959b7508b45ef/html5/thumbnails/25.jpg)
“Back to Journey..”
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
I’m in….