SlideShare a Scribd company logo
1 of 11
Precise Testing Solution
http://precisetestingsolution.com/
+91-9555814488 /+1-7183128801

Specification Documentation
on

MonkeyTalk Android & iOS Test Tool

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
Table of Contents:
1. Introduction (Monkey Talk)
1.1 Features
2. Set up process for eclipse and monkeytalk
2.1

Pre-requisites:

2.2

Downloaded URL

3. Android SDK setup
3.1

Download URL

3.2

SDK Manager

3.3 AVD Manager
3.4 ADT Plugin for eclipse and its URL
4. Monkey Talk setup
4.1 Download URL
4.2 Conversion to AspectJ
4.3 Configration of AJDT

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
1 ) Introduction :
MonkeyTalk is a free, open source, simple-to-use tool with incredible power, MonkeyTalk
automates real, functional interactive tests for native, mobile, and hybrid iOS and Android apps .
It makes the proven benefits of automated functional testing easily available for every project.

Feautures :
•
•
•
•
•
•

Native, Mobile Web, and Hybrid iOS and Android Apps
Simulators or Real Devices - no Jailbreaking required
Robust cross-platform Recording/Playback that actually works!
Use the simple MonkeyTalk command language or powerful JavaScript API
Run your tests interactively or from continuous integration environments
Free and Open Source!

2) Setup Process for Eclipse and Monkey Talk :
Pre-requisites:
•
•
•
•
•

Eclipse sdk
Android SDK setup
ADT Plug-in for Eclipse
Monkey Talk Tool (Testing tool for Mobile Apps Testing)
AJDT (for AspectJ conversion)

Download URL:
Eclipse sdk from URL: http://archive.eclipse.org/eclipse/downloads/drops/R-3.7.2201202080800/winPlatform.php#EclipseSDK
No need to install the Eclipse, just unzip the downloaded folder anywhere in local drive.
That will provide the ‘eclipse.exe’ which will open the Eclipse framework. On opening the
Eclipse framework, it will ask for the location of ‘workspace’ folder (‘Workspace’ is the
location where the entire Eclipse project will be saved). Make any workspace folder
anywhere in your machine and give the location.
Now Eclipse has successfully configured. Now we can open Eclipse, write any program and
can save program to workspace folder.

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
3) Android SDK setup:
We need to setup and configure Android with Eclipse. Basically it is for development process
but in case if we need to check how’s the application behave we can have a look on such the
application in eclipse.

Download URL :
Android sdk from the following URL :
http://dl.google.com/android/android-sdk_r22.2.1-windows.zip
No need to install the Android, just unzip the downloaded folder (android-sdk_r18windows) anywhere in local drive. That will provide the ‘SDK Manager.exe’ (which will
open the Android SDK Manager) and ‘AVD Manager.exe’ (which will open the AVD
Manager).

a ) SDK Manager:
•
•
•

used for installing the Android packages
Run the ‘SDK Manager.exe’ (can be found in the ‘android-sdk-windows’ folder)
Android SDK manager will provide the list of package to install
Install any of the package you want to install by checking corresponding checkbox:

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
Connect Android SDK with Eclipse IDE:
1. Click on the “Eclipse” menu (next to the apple logo for OSX) and choose “Preferences”
2. Click on “Android” heading in the menu-tree to open our Android Eclipse preferences
3. Click the “Browse…” button to the right of the ”SDK Location” box
4. Enter the location of your Android SDK (the $ANDROID path from Step #1)

b) AVD Manager: used for creating the Virtual Device (emulator)
• Run the ‘AVD Manager.exe’ (can be found in the ‘android-sdk-windows’ folder)
• Android Virtual Device Manager’ window will be open.
• Click on New> and follow the steps as shown in below screenshot:

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
Name : name of Virtual device (or emulator
Target : version of Android emulator which you are going to use
CPU/ABI : for Android, use ARM
SD Card ‘Size’ : it could be 1024 MB
Skin ‘Built-in’ : HVGA (for Android)
Click on ‘CreateAVD’. It will create the AVD which will be seen in ‘Android Virtual Device
Manager’ under ‘AVD Name’ section.
Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
Select the AVD name and click on ‘Start’. ‘Launch Option’ pop-up will be open. Then click on
‘Launch’. It will open the Android emulator.
If you are getting failed to launch the emulator or getting the error:
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information
Then try to reduce the ram size and can use resolution of:
1) Resolution 1280x800,Ram-1024mb and Heap size-48
2) Ram-512mb and Heap size-32
3) Resolution 720 X 1280 ,Ram-128mb and Heap size-16

ADT plug-in for Eclipse:
ADT plug-in extends the capabilities of Eclipse to let you quickly set up new Android
projects, build an app UI, debug your app, and export signed (or unsigned) app packages
(APKs) for distribution.
To install ADT plug-in:
• Start Eclipse> Help > Install New Software….
• Click Add, in the top-right corner.
• In the Add Repository dialog that appears, enter “ADT Plug-in” for the Name and the
following URL for the Location: https://dl-ssl.google.com/android/eclipse/
• Click Ok
Restart the Eclipse , it will ask for the Android SDK which we have already installed on our pc
So just give the location of the Android SDK path

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
4) Monkey Talk :
Download Url:
Monkey Talk can be downloading from the below address:
http://www.gorillalogic.com/testing-tools/monkeytalk/download

Pre-requisit : AJDT Plugin
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 by following steps:
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. )
Adding the MonkeyTalk Android Agent
Open your Android project in Eclipse : (Convert your Android project to AspectJ)
1. Right click on your project
2. Click on Configure and select convert to AspectJ Project

Add the monkeytalk-agent.jar to your Android project.
The agent 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 (for example, monkeytalk-agent-1.0.30.jar).
Precise Testing Solution Private Limited
P.N. India +91-9555814488 USA +1 7183128801
•

http://precisetestingsolution.com/
•

Create a libs/ folder in your Android project (if you don't already have one), and copy the
agent jar into it.

Include the monkeytalk-agent.jar in the AspectJ build path (right-click on monkeyTalkagent.jar > AspectJ Tools > Add to Aspectpath).

Update your AndroidManifest.xml to include the following two permissions:
•
•

android.permission.INTERNET
android.permission.GET_TASKS

Select your AndroidManifest.xml file, copy these two permissions from any of the existing
android app’s manifest.xml and paste it in your AndroidManifest.xml as shown below:

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
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:

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/
You should also export the monkeytalk-agent.jar file you added to the project. (Note: in some
older versions of the Android Development Tools, this export may create a "Dexification
Error" - if you get this problem just uncheck this).
Deploy your application to an Android device or emulator.sss

Precise Testing Solution Private Limited

P.N. India +91-9555814488 USA +1 7183128801

http://precisetestingsolution.com/

More Related Content

Recently uploaded

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Recently uploaded (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

MonkeyTalk Android User Manual

  • 1. Precise Testing Solution http://precisetestingsolution.com/ +91-9555814488 /+1-7183128801 Specification Documentation on MonkeyTalk Android & iOS Test Tool Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 2. Table of Contents: 1. Introduction (Monkey Talk) 1.1 Features 2. Set up process for eclipse and monkeytalk 2.1 Pre-requisites: 2.2 Downloaded URL 3. Android SDK setup 3.1 Download URL 3.2 SDK Manager 3.3 AVD Manager 3.4 ADT Plugin for eclipse and its URL 4. Monkey Talk setup 4.1 Download URL 4.2 Conversion to AspectJ 4.3 Configration of AJDT Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 3. 1 ) Introduction : MonkeyTalk is a free, open source, simple-to-use tool with incredible power, MonkeyTalk automates real, functional interactive tests for native, mobile, and hybrid iOS and Android apps . It makes the proven benefits of automated functional testing easily available for every project. Feautures : • • • • • • Native, Mobile Web, and Hybrid iOS and Android Apps Simulators or Real Devices - no Jailbreaking required Robust cross-platform Recording/Playback that actually works! Use the simple MonkeyTalk command language or powerful JavaScript API Run your tests interactively or from continuous integration environments Free and Open Source! 2) Setup Process for Eclipse and Monkey Talk : Pre-requisites: • • • • • Eclipse sdk Android SDK setup ADT Plug-in for Eclipse Monkey Talk Tool (Testing tool for Mobile Apps Testing) AJDT (for AspectJ conversion) Download URL: Eclipse sdk from URL: http://archive.eclipse.org/eclipse/downloads/drops/R-3.7.2201202080800/winPlatform.php#EclipseSDK No need to install the Eclipse, just unzip the downloaded folder anywhere in local drive. That will provide the ‘eclipse.exe’ which will open the Eclipse framework. On opening the Eclipse framework, it will ask for the location of ‘workspace’ folder (‘Workspace’ is the location where the entire Eclipse project will be saved). Make any workspace folder anywhere in your machine and give the location. Now Eclipse has successfully configured. Now we can open Eclipse, write any program and can save program to workspace folder. Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 4. 3) Android SDK setup: We need to setup and configure Android with Eclipse. Basically it is for development process but in case if we need to check how’s the application behave we can have a look on such the application in eclipse. Download URL : Android sdk from the following URL : http://dl.google.com/android/android-sdk_r22.2.1-windows.zip No need to install the Android, just unzip the downloaded folder (android-sdk_r18windows) anywhere in local drive. That will provide the ‘SDK Manager.exe’ (which will open the Android SDK Manager) and ‘AVD Manager.exe’ (which will open the AVD Manager). a ) SDK Manager: • • • used for installing the Android packages Run the ‘SDK Manager.exe’ (can be found in the ‘android-sdk-windows’ folder) Android SDK manager will provide the list of package to install Install any of the package you want to install by checking corresponding checkbox: Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 5. Connect Android SDK with Eclipse IDE: 1. Click on the “Eclipse” menu (next to the apple logo for OSX) and choose “Preferences” 2. Click on “Android” heading in the menu-tree to open our Android Eclipse preferences 3. Click the “Browse…” button to the right of the ”SDK Location” box 4. Enter the location of your Android SDK (the $ANDROID path from Step #1) b) AVD Manager: used for creating the Virtual Device (emulator) • Run the ‘AVD Manager.exe’ (can be found in the ‘android-sdk-windows’ folder) • Android Virtual Device Manager’ window will be open. • Click on New> and follow the steps as shown in below screenshot: Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 6. Name : name of Virtual device (or emulator Target : version of Android emulator which you are going to use CPU/ABI : for Android, use ARM SD Card ‘Size’ : it could be 1024 MB Skin ‘Built-in’ : HVGA (for Android) Click on ‘CreateAVD’. It will create the AVD which will be seen in ‘Android Virtual Device Manager’ under ‘AVD Name’ section. Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 7. Select the AVD name and click on ‘Start’. ‘Launch Option’ pop-up will be open. Then click on ‘Launch’. It will open the Android emulator. If you are getting failed to launch the emulator or getting the error: Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information Then try to reduce the ram size and can use resolution of: 1) Resolution 1280x800,Ram-1024mb and Heap size-48 2) Ram-512mb and Heap size-32 3) Resolution 720 X 1280 ,Ram-128mb and Heap size-16 ADT plug-in for Eclipse: ADT plug-in extends the capabilities of Eclipse to let you quickly set up new Android projects, build an app UI, debug your app, and export signed (or unsigned) app packages (APKs) for distribution. To install ADT plug-in: • Start Eclipse> Help > Install New Software…. • Click Add, in the top-right corner. • In the Add Repository dialog that appears, enter “ADT Plug-in” for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/ • Click Ok Restart the Eclipse , it will ask for the Android SDK which we have already installed on our pc So just give the location of the Android SDK path Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 8. 4) Monkey Talk : Download Url: Monkey Talk can be downloading from the below address: http://www.gorillalogic.com/testing-tools/monkeytalk/download Pre-requisit : AJDT Plugin 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 by following steps: 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. ) Adding the MonkeyTalk Android Agent Open your Android project in Eclipse : (Convert your Android project to AspectJ) 1. Right click on your project 2. Click on Configure and select convert to AspectJ Project Add the monkeytalk-agent.jar to your Android project. The agent 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 (for example, monkeytalk-agent-1.0.30.jar). Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 • http://precisetestingsolution.com/
  • 9. • Create a libs/ folder in your Android project (if you don't already have one), and copy the agent jar into it. Include the monkeytalk-agent.jar in the AspectJ build path (right-click on monkeyTalkagent.jar > AspectJ Tools > Add to Aspectpath). Update your AndroidManifest.xml to include the following two permissions: • • android.permission.INTERNET android.permission.GET_TASKS Select your AndroidManifest.xml file, copy these two permissions from any of the existing android app’s manifest.xml and paste it in your AndroidManifest.xml as shown below: Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 10. 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: Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/
  • 11. You should also export the monkeytalk-agent.jar file you added to the project. (Note: in some older versions of the Android Development Tools, this export may create a "Dexification Error" - if you get this problem just uncheck this). Deploy your application to an Android device or emulator.sss Precise Testing Solution Private Limited P.N. India +91-9555814488 USA +1 7183128801 http://precisetestingsolution.com/