Wednesday, 24 August 2011

How to ensure that Android set-up in EclipseIDE is correct?

KeySteps:
  • Open the Eclipse IDE and validate if Android setup is installed.
  • Click on Window menu.
  • Check if Android SDK and AVD Manager as menu option is displayed.
  • Click on Android SDK and AVD Manager menu option.
  • Click on Installed packages option.
  • All installed packages are displayed.
  • Click on File menu.
  • Click on New->project icon.
  • Android option is displayed.

How to install Android-server-xxx.apk file into Android Virtual Device?

Key Steps:
  • Open the URL http://code.google.com/p/selenium/downloads/list
  • Download the Android-server.x.x.x.apk file here x.x.x denotes any version.
  • Put the downloaded Android-server-x.x.x.apk file into platform-tool directory of installed Android SDK (C:\Documents and Settings\Administrator\android-sdks\platform-tools).
  • Open the Eclipse IDE.
  • Create and launch a new Android Virtual Device(AVD).
  • Open the command-prompt and select the platform-tool directory.
  • Execute the command ‘adb install android-server-xxx.apk’.
  • Re-launch AVD to make the created changes.
  • Android-Server is successfully installed into AVD.

How to add Selenium 2 API jar into Eclipse Projects library?

Key Steps:
  • Unzip the downloaded file.
  • Open the Eclipse IDE.
  • Select any Project.
  • Right-click on selected project.
  • Go into Properties of Project.
  • Select Libraries.
  • Add all jars of Selenium2 API using Add External Jar.
  • Click on OK button.

Tuesday, 23 August 2011

How to setup Android environment on the Ecplise IDE?

Aim
This entry will demonstrate how to set-up the Android Environment on top of Eclipse IDE.

What you will learn?

  • Eclipse IDE
  • Andrioid Enviornment setup


Pre-requisites:
  1. Eclipse IDE installed correctly
  2. The Android Environmen

Difficulty Level:  Hard
Tips
more details coming soon
Steps
more details coming soon
Related Entries
more details coming soon
Helpful Video


Example - Selenium2 working with Android environment

Aim:
To execute a Selenium2 script against a web browser on the Andrioid emulator

Difficulty Level: Hard

What you will learn?
  • Create a working Android emulator setup.
  • Integration of the environment with Selenium2 APIs
Tips:
  1. Some knowledge of creating/running selenium test scripts would be advantage in working on this Exercise.
  2. For more details on working with Android: Useful Link