Showing posts with label android emulator. Show all posts
Showing posts with label android emulator. Show all posts

Oct 24, 2017

Android Emulator Creation

To create Android Emulator on your system, first install Android Studio into your system. 

Follow the below steps to create an android emulator using Android Studio.

1. Download Android Studio and install it ( Follow the link if it is not installed in your system Android Studio Installation)

2. Open Android Studio and start a new Android Studio project




























3. Once created project successfully, open the AVD manager from intelliJ toolbar



















4. Create a new virtual device from the AVD manager



















5. Select device category from the category list and choose the model whatever you want





























6. Download the packages for whatever version you want and select it and then click on Next





























7. Give Android Emulator name in the AVD Name tab and Finish it. It will create a new emulator with the given info and add to AVD manager.



















8. Click on 'Play' button to launch the emulator.

Note : If you are not able to launch the emulator when you click on 'Play' button, close the avd manager and restart the studio and try again. If it it is still not able to launch, Update the Ram Size to 700 MB in the "Show Advanced Settings" (6th Step) and try to launch again.

Oct 17, 2017

Appium installation with command line on Windows by using node.js

Appium is a server written in Node.js. It can be built and installed directly from NPM. You can able to start and stop the server without GUI help and able to see the logs in the same command prompt for every action what you perform.

To install it, First install the node.js then install the appium server from npm.

Follow the below steps to install appium on your Winodws.


1. Download latest node.js MSI from node.js website and install it. This will also installs node’s npm tool (node package manager) which we will use to install Appium Server. Once install, it will automatically set the path in environment variables.















2. After node.js installation, run the below commands step by step in command prompt to install the appium on back end in your system
    • npm install -g appium
    • npm install wd

Check appium is installed in your machine by following the below step


    • Open command prompt
    • Type 'appium' and press enter
    • You can see the below one if appium is installed successfully on your machine













Oct 10, 2017

Mobile Browser Automation with Appium on Android Emulator

Overview :-


Appium is an open source test automation tool for mobile applications. It allows you to test all the three types of mobile applications: native, hybrid and mobile web.It also allows you to run the automated tests on actual devices, emulators and simulators.

If you want to start mobile automation on Android device/emulator, first you must need to setup the Android SDK on your machine and set the paths in environment variables.Then you can create your own emulator and run the test scripts on it.

Pre-requisites :-


1. JDK installation

2. Android SDK installation and Emulator Creation

3. Appium installation

Prerequisted Jars:

  • java-client.jar - For Appium
  • selenium-server-standalone.jar - For webdriver capabilities
  • commons-validator.jar - if want to run appium server programatically

Mobile App Automation with Appium on Android Emulator/Device

Overview :- Appium  is an open source test automation tool for mobile applications. It allows you to test all the three types of mobile...