Steps to install and run the MonkeyTalk scripts
1. Download Monkey Talk IDE and AspectJ
from given link:
https://www.cloudmonkeymobile.com/monkeytalk
Download Eclipse 4.3.1 or 4.3.2 (for Windows) from given link and copy in your C Drive.
https://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2
https://www.cloudmonkeymobile.com/monkeytalk
Download Eclipse 4.3.1 or 4.3.2 (for Windows) from given link and copy in your C Drive.
https://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2
2. Launch Eclipse and install AspectJ for respective eclipse version.
aspectj
-
3. Now get the app source code from your developer which you want to test and import it in eclipse.
4. Right Click on your project >> Configure >> Convert to AspectJ project.
5. Check you have "libs" folder or not.If you have then OK or else create a new "libs" folder.
6. Now open Monkey Talk\monkeytalk\agents\android\ monkeytalk-agent-2.0.5.jar folder that we downloaded in step 1. Drag & copy the agent.jar file in libs folder.
7. Now Right Click on newly copied "monkeytalk-agent-1.0.62.jar" file >> Aspect Tools >> Add to Aspect Path.
8. Now we have "AspectJ Runtime Library" in our eclipse.
9. Now to update "res" >> "Android Manifest .xml", double click on "Android Manifest .xml" >> AndroidManifest.xml
10. Copy both lines below to </application>:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
11. Next go back to the project and right click there >> Properties>> Go to Java build path >> and make sure that "Aspect J runtime library " is checked.
12. Now to play project >> Right click on project >> Run as Android aplication.
13. Now to open MT IDE: Go to desktop and launch MonkeyTalkIDEProfessional.exe IDE from MT Folder.
14. Now set the SDK path Go to Preferences >>JavaScript >> Monkey Talk Preferences >> Browse>> C:\android-sdk-windows
http://download.eclipse.org/tools/ajdt/37/update
3. Now get the app source code from your developer which you want to test and import it in eclipse.
4. Right Click on your project >> Configure >> Convert to AspectJ project.
5. Check you have "libs" folder or not.If you have then OK or else create a new "libs" folder.
6. Now open Monkey Talk\monkeytalk\agents\android\ monkeytalk-agent-2.0.5.jar folder that we downloaded in step 1. Drag & copy the agent.jar file in libs folder.
7. Now Right Click on newly copied "monkeytalk-agent-1.0.62.jar" file >> Aspect Tools >> Add to Aspect Path.
8. Now we have "AspectJ Runtime Library" in our eclipse.
9. Now to update "res" >> "Android Manifest .xml", double click on "Android Manifest .xml" >> AndroidManifest.xml
10. Copy both lines below to </application>:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
11. Next go back to the project and right click there >> Properties>> Go to Java build path >> and make sure that "Aspect J runtime library " is checked.
12. Now to play project >> Right click on project >> Run as Android aplication.
13. Now to open MT IDE: Go to desktop and launch MonkeyTalkIDEProfessional.exe IDE from MT Folder.
14. Now set the SDK path Go to Preferences >>JavaScript >> Monkey Talk Preferences >> Browse>> C:\android-sdk-windows
15. Click on New Project>> Monkey Talk Project>> Click Next >> Select app os>> select the android apk file (instrumented) you want to test>>Check ‘Start app manager check box and select Instrument project as needed’>> Click Next>>Provide project name>>Finish.
16. Install your app and launch it in connected device through MonkeyTalkPro IDE. Recording button will be enabled after launching an app in your device. Tap on record button and start record the events.
Note:-
1. Check for Android Target name in Eclipse -
Project Properties – Android.
2. Check for JDK configuration in Eclipse - Project
Properties – Java – Install JRE. You cannot instrument your apk file if JDK path
is not properly configured in eclipse.
Comments
Post a Comment