Hey Guys,
In this post I’m going to show you how to configure the MonkeyTalk Android Agent in Eclipse. Users who are new to MonkeyTalk will find this tutorial very useful. Also check our other tutorial on how to configure the MonkeyTalk iOS Agent in Xcode. So let’s get to it.
First open your Android app project in Eclipse and follow the instructions.
To install the Monkey Talk Android Agent, you’ll first need to convert your Android project into AspectJ. To do so, you need to configure AJDT in Eclipse by performing the following steps:
Name: AspectJ
Location: http://download.eclipse.org/tools/ajdt/43/update
Now, right click on your project select the Configure option. Then select Convert to AspectJ Project option
Next, add the monkeytalk-agent.jar file to your Android project. This file can be found in the agents/android/ folder in the main MonkeyTalk zip package you downloaded earlier. The exact name of the android agent jar will include the version number as well (for example, monkeytalk-agent-2.0.8.jar)
Now, create a libs/ folder in your Android project (if you don’t already have one), and copy the above agent.jar file in it.
Add the monkeytalk-agent.jar in the AspectJ build path. To do so, right-click on the monkeyTalk-agent.jar file, select the AspectJ Tools option and then select the Add to Aspectpath option (as shown below).
Next, update your AndroidManifest.xml file to include the following two permissions:
Now, update the project properties by right-clicking on the project > Properties > Java Build Path option, selecting the Order and Export tab and checking the checkbox next to the AspectJ Runtime Library to export it (as depicted below).
Now deploy your app to an Android device or emulator. After deploying the app, you can generate the MonkeyTalk automation scripts through the MonkeyTalk IDE
As a leading mobile app development company (iPhone, Android, Windows Phone, HTML5 app development), Folio3 specializes in native app development services and cross platform mobile app development services for the iPhone and iPad. We also offer extensive mobile app testing and QA services. If you have a mobile app idea that you’d like to discuss please or would like to know more about our iPhone app development services, please Contact Us. Learn more about our iPhone, Android and Windows Phone app development services.
USA408 365 4638
1301 Shoreway Road, Suite 160,
Belmont, CA 94002
Whether you are a large enterprise looking to augment your teams with experts resources or an SME looking to scale your business or a startup looking to build something.
We are your digital growth partner.
Tel:
+1 408 365 4638
Support:
+1 (408) 512 1812
COMMENTS ()
Tweet