Monkey Talk Setup, Setup Process for
Eclipse and Monkey Talk, Setup for Android SDK with Eclipse and
MonkeyTalk
Following is the explained process
of setup for Eclipse and Monkey Talk:-
When you are going to start the mobile
apps testing, Some already available pre-requisite like some software
or packages which are required to install or unzip on the system for
setting up for the process of Eclipse.
Following are the Pre-requisites:
- Eclipse Setup
- Android SDK Setup
- ADT Plug-in for Eclipse
- MonkeyTalk tool (Testing tool for mobile app test cases)
- AJDT (for AspectJ Conversion)
Eclipse Installation:
First download the Eclipse from the
following URL :- http://www.eclipse.org/downloads/
Version: Eclipse Classic 3.7.2 (Windows
32 bit)
We don't require for special steps for
installation the Eclipse, Just we require to unzip the downloaded
folder anywhere on local drive. Here we will get the exe
(eclipse.exe) which can open and run the Eclipse framework.
When Eclipse framework will open,
Location will be asked by it of workspace folder (Actually Workspace
is the location where complete project of Eclipse will be stored). So
for it create a folder with the name workspace on the work system and
provide the location physical path.
That's all, Eclipse is configured
successfully now. Now Eclipse can be open and start writing any
program and save it on workspace folder.
Setup for Android SDK: Android
need to configured or setup with the eclipse. Actually this process
for the process of development but in the case of if you require to
check how is the app behave where we can look on such type of app in
eclipse.
So first download the Android SDK
windows from the url give below:
android-sdk_r18-windows
Same process as like to Eclipse, We
need not require to install the setup just need to unzip the required
downloaded form anywhere on local drive. Here you will get the SDK
Manager.exe.and 'AVD Manager.exe', Thus which will open the AVD
Manager).
a. SDK Manager: Its the unit for
installing the packages for Android
- Just execute the 'SDK Manager.exe' , it can found in the above mentioned folder.
- Android SDK manager will give the installable package list.
- Install available package i.e. Android 4.0.3 (API 15)
b. AVD Manager: Generally it is
used to generating the Virtual Device (emulator)
- Just execute the 'AVD Manager.exe' (it can be found in the 'android-sdk-windows' folder)
- Android Virtual Device Manager Window will open.
- Click on New → and follow the step as displayed in the screen.
Name: Virtual Device name (or
emulator)
Target: Android emulator Version
which being used
CPU / ABI: for Android, USE ARM
SD Card Size: It could be 1 GB
or 512 MB
Snapshot: Tested (best practice)
[It will keep the track if any activity will be killed or crashed
process, if it is activated then we can save the session]
Skin 'Built-in': HVGA (or
Android)
click on 'Create AVD', It will
generate the AVD which can be seen in the 'Android Virtual Device
Manager' under 'AVD Name' Section.
Choose the name of AVD and then click
on 'Start'. 'Launch Option' pop up will be displayed. Then need to
click on the 'Launch'. It will open the emulator of Android.
ADT Plug-in for Eclipse:
ADT plug-in increase the capabilities
for the Eclipse to let us quickly setting up the new projects of
Android, build an apps UI, debug the apps, and export the signed apps
package for distribution.
To install the ADT Plug-in:
- Start the Eclipse → Help → Install the New Software ….
- Click on ADD, from the top right corner
- From the Add Repository dialogue that will appear, enter 'ADT Plug in” for Name and following url of the locations below:
- https://dl-ssl.google.com/android/eclipse/ and now click on OK
Restart the Eclipse now. It can ask for
the Android SDK (Which is already install as above mentioned step) so
just provide the Location for Android SDK path.
Now while looking the Eclipse, Two
newly added icon will be displayed.
Following two icons are for the 'AVD
Manager' and 'Android SDK Manager'.
That's all – Eclipse with Android SDK
has been configured now properly
MonkeyTalk Configuration:
First Download the Monkeytalk from the
following url:
Pr-requisite for MonkeyTalk Agent
installation:
First convert the Android project into
AspectJ for installation of MonkeyTalk Android Agent.
For Doing so, you require to configured
the AJDT in the Eclipse by the steps given below:
Eclipse → Help → Install New
Software → Click on Add …..
From 'Add Repository' Pop Up:
Name: AJDT
Now just Click on OK. It will
configured the AJDT with the Eclipse
No comments:
Post a Comment