First
need to configure the Monkey Talk:
Monkey Talk
can be downloaded from the following URL :
Pre-essential
for installing Monkey Talk Android Agent:
Installing the Monkey Talk Android Agent, first we require converting Android project into AspectJ.
For this, you
require to configure AJDT in Eclipse.
For Installing the Eclipse setup and configuration the Android SDK, Cleck here..
Following are the Steps to Install AJDT in Eclipse:
For Installing the Eclipse setup and configuration the Android SDK, Cleck here..
Following are the Steps to Install AJDT in Eclipse:
Go to: Eclipse>
Help> Install New Software > Click on Add…
In ‘Add
Repository’ popup:
Name:
AJDT
Click Ok. These
steps will install the AJDT with Eclipse.
Configuring the Monkey Talk with Android Agent:
Simply visit on your Android Project
in Eclipse and follow the following instructions.
1. First
Convert the Android app to AspectJ.
Android project to Aspectj |
2. MonkeyTalk-agent.jar ‘monkeytalk-agent-1.0.8.beta4c’ will
available in the "agents" folder in Monkey Talk pack up which you
have downloaded earlier. The proper naming of the jar file will be depending on
the version, but Name should always pre-fix with "Monkey Talk-agent".
3. Now create a "libs" folder
in the Android project, if you haven’t one.
4. Now
Copy the .jar file (monkeytalk-agent-1.0.8.beta4c) and Paste into the
libs folder.
5. Now Right click
on MonkeyTalk-agent.jar > AspectJ Tools > Add to Aspectpath.
AspectPath |
6. We need to update our
AndroidManifest.xml to include following permissions:
a) android.permission.INTERNET
b) android.permission.GET_TASKS
Android Permission |
7. Now update
the assignment properties
(right-click on the project >
Properties > Java Build Path), Choose the ‘Order and Export’ tab,
and Now tick the checkbox next to the AspectJ Runtime Library to export this:
Aspectj Runtime Library |
Note: In case if testing only the ‘AspectJ
Runtime Library’ does not function properly then we need to tick all the uncheck checkboxes to check.
MonkeyTalk Script strategy:
MonkeyTalk works like Record and Play theory and it required simple JavaScript knowledge for automation. Guidelines are given below:
Examples of Script:
1. Data driven script
MonkeyTalk Script strategy:
MonkeyTalk works like Record and Play theory and it required simple JavaScript knowledge for automation. Guidelines are given below:
Examples of Script:
1. Data driven script
2. Simple
Login script
3. Conditional statement script
4. Passing variable script
3. Conditional statement script
4. Passing variable script
Steps to Install Monkey Talk Android Agent, real world practical knowledge on the configuration of the android agents in monkeytalk, Pre-requisite for installing Monkey Talk Agent, Monkeytalk scrip guidelines
API and API Testing Types of Mobile Application Testing iPhone App Test Cases Windows Phone Test Cases Test Website Cookies Root Cause Analysis
Install Android SDK Eclipse Severity and Priority in Software Testing
Monkey Talk Installation With Android Developer vs Tester a fake competition
No comments:
Post a Comment