Upload
dasun-eranthika
View
6.795
Download
3
Tags:
Embed Size (px)
DESCRIPTION
This is about how to configure Android emulator to MonkeyTalk automation tool.
Citation preview
Dasun Eranthika
How to Configure MonkeyTalk Android Agent
Content
Pre-Conditions
Configure Eclipse
Configure emulator to MonkeyTalk
2
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
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
Configure Eclipse
Import the sample project to Eclipse
4
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
Configure Eclipse
Select Existing Android project and click Next
5
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
Configure Eclipse
Browse your Android project and click Finish
6
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
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
Configure Eclipse
Right click your exported project > New > Folder
8
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
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
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
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
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
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
Configure Eclipse
Right click on the project > Run As > Android Application
14
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
Configure Eclipse
App is running now
15
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
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
Configure emulator to MonkeyTalk
Give a relevant name and click Finish
17
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
Configure emulator to MonkeyTalk
Right click on the project > New > Script
18
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
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
Configure emulator to MonkeyTalk
Click Window > Preference
20
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
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
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
Configure emulator to MonkeyTalk
Now you can start record and play
23
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
24
Download the PDFhttp://www.mediafire.com/view/?3jb768haq06aj39
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
“Back to Journey..”
How to Configure MonkeyTalk Android Agent | Dasun Eranthika March 17, 2013
I’m in….