Steps to Install Agent in MonkeyTalk
Monkey Talk:
Monkey Talk
can be downloading from the below address:
http://www.gorillalogic.com/testing-tools/monkeytalk/download
Pre-requisite
for installing Monkey Talk Agent:
For
installing the Monkey Talk Android Agent, first we need to convert Android
project into AspectJ.
For doing
so, we need to configure AJDT in Eclipse.
For Eclipse
setup and configuration with Android SDK, Click Here
Steps to
configure AJDT in Eclipse:
Eclipse>
Help> Install New Software > Click on Add…
In ‘Add
Repository’ popup:
Name: AJDT
Location:
http://download.eclipse.org/tools/ajdt/37/update
Click Ok. It
will configure the AJDT with Eclipse.
Installing the Monkey Talk Android Agent:
Open your
Android Project in Eclipse and follow these instructions.
1. Convert
your Android project to AspectJ
2. MonkeyTalk-agent.jar
‘monkeytalk-agent-1.0.8.beta4c’ can be found in the "agents" folder
in the Monkey Talk package you downloaded earlier. The exact name of the jar
might vary depending on the version, but it should always start with
"Monkey Talk-agent".
3. Create a "libs" folder in your
Android project, if you don't already have one.
4. Copy the .jar file
(monkeytalk-agent-1.0.8.beta4c) into the libs folder.
5. Right click on MonkeyTalk-agent.jar >
AspectJ Tools > Add to Aspectpath.
6. Update
your AndroidManifest.xml to include the following two permissions:
a) android.permission.INTERNET
b) android.permission.GET_TASKS
7. Update the project properties (right-click
on the project > Properties > Java Build Path), select the ‘Order and
Export’ tab, and check the checkbox next to the AspectJ Runtime Library to
export it:
Note: In case if checking only ‘AspectJ
Runtime Library’ does not work then check all the uncheck checkboxes.
MonkeyTalk Script Guidelines: MonkeyTalk
works on Record-Play concept, and for automation it requires simple Java Script
knowledge. For the guidelines Click here
Related Articles:-
- Eclipse configuration with Android SDK (Click here…)
- Writing script in Monkey Talk (Click here...)
- Simple Login Script (Click here…)
- Data driven Script (Click here…)
- Passing variable values through driver script (Click here...)
- Conditional statements (Click here…)
- Steps to install Android Apps to SD Card (Click here…)
- Steps to install Android App in Emulator (Click here…)
Comments
Post a Comment