Blog 2.0

MonkeyTalk - Step by Step

Hi

Sharing step by step information required to setup and run automation script using MonkeyTalk.

Plz let me know if anybody found any issues.

Pre-requisites:
• Eclipse setup (Juno 4.2.1)
• Android SDK setup(http://developer.android.com/sdk/index.html)
• ADT Plug-in for Eclipse(• https://dl-ssl.google.com/android/eclipse/)
• Monkey Talk Tool (Testing tool for Mobile Apps Testing)( http://www.gorillalogic.com/testing-tools/monkeytalk/download)
• AJDT (for AspectJ conversion)( http://download.eclipse.org/tools/ajdt/42/update/ )

STEPS::
Running sample project without installing MT Agent.
1) Add MT sample App in eclipse.
2) Run sample app using emulator and real device.
3) Run MT IDE .
4) Create a new MT project.
5) Create a new test script.
6) Connect app with AVD or Real device , as soon as application starts running on device/emulator.
7) Record and Play back the steps.
STEPS::
Running Custom project after installing MT Agent.
1) Add existing custom project in eclipse ( you can use sample android application projects provided in eclipse) .
Configuring app with MT
2) Rt.click the project and select ( Configure>>Convert to aspect project).
3) Create ‘libs’ folder on the root and copy “monkeytalk-agent-1.0.30.jar” file from (\monkeytalk\agents\android\ folder).
4) Rt.click the project and select (properties>>AspectJBuild) and choose “Aspect path” tab , add jar file from libs folder
5) Rt.click the project and select (properties>>JavabuildPath) and choose ‘Order and export’ tab, and check mark the option ‘AspectJ runtime library’.
6) Add following code in the manifest.xml file placed in the project root folder
' < uses-permission android:name="android.permission.INTERNET" \>
< uses-permission android:name="android.permission.GET_TASKS" \> '
7) Run app using emulator and real device.
8) Run MT IDE .
9) Create a new MT project.
10) Create a new test script.
11) Connect app with AVD or Real device , as soon as application starts running on device/emulator.
12) Record and Play back the steps.

E-mail me when people leave their comments –

You need to be a member of Mobile QA Zone to add comments!

Join Mobile QA Zone

Comments

This reply was deleted.
Welcome to Mobile QA Zone, a Next Generation Software Testing Community.Invite your friends to join this community.Write to us to become a featured member.