2. Content
2
Pre-Conditions
Configure Eclipse
Configure emulator to MonkeyTalk
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
3. Pre-Conditions
3
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
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
4. Configure Eclipse
4
Import the sample project to Eclipse
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
5. Configure Eclipse
5
Select Existing Android project and click Next
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
6. Configure Eclipse
6
Browse your Android project and click Finish
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
7. Configure Eclipse
7
Right click on your impetrated project in project explorer >
configure > Convert to AspectJ project
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
8. Configure Eclipse
8
Right click your exported project > New > Folder
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
9. Configure Eclipse
9
Give a Name to folder (e. g. lib) and click Finish
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
10. Configure Eclipse
10
Go to downloaded MonkeyTalk folder MonkeyTalkagentsandroid
Copy monkeytalk-agent-1.0.30 jar file
Paste it to newly created folder in MonkeyTalk
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
11. Configure Eclipse
11
Right click on that jar file > AspectJ Tools >Add to Aspectpath
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
12. Configure Eclipse
12
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"/>
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
13. Configure Eclipse
13
Go to project properties by Right click > Properties
Go to Java Build Path
Make a ticked for AspectJ Runtime Library
Click OK
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
14. Configure Eclipse
14
Right click on the project > Run As > Android Application
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
15. Configure Eclipse
15
App is running now
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
16. Configure emulator to MonkeyTalk
16
Open MonkeyTalk IDE
Go to File > New > MonkeyTalk Project
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
17. Configure emulator to MonkeyTalk
17
Give a relevant name and click Finish
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
18. Configure emulator to MonkeyTalk
18
Right click on the project > New > Script
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
19. Configure emulator to MonkeyTalk
19
Give a name for the script and click Finish
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
20. Configure emulator to MonkeyTalk
20
Click Window > Preference
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
21. Configure emulator to MonkeyTalk
21
Click MonkeyTalk Preference > Browse the Android SDK path >
Apply > OK
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
22. Configure emulator to MonkeyTalk
22
Click Connect to Emulator button
When it connects successful, you be able to the message in
console area
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
23. Configure emulator to MonkeyTalk
23
Now you can start record and play
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
24. 24
Download the PDF
http://www.mediafire.com/view/?3jb768haq06aj39
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
25. “Back to Journey..”
I’m in….
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013