Showing posts with label Others. Show all posts
Showing posts with label Others. Show all posts

Road to find android application element details using UI Automator Viewer

In this post I will show you how to find element details of android application using Android “UI Automator Viewer”. Following are the steps:
1. Open android application on emulator or real device. Like I have opened below app on emulator.

How to install and setup Testlink on window machine?

Perquisite:
  1. Download and install xampp application into your machine from link: "http://www.apachefriends.org/en/xampp-windows.html" 
  2. Download testlink from link "http://sourceforge.net/projects/testlink/files/" and put into xampp's htdocs directory.
  3. Extract downloaded zip file into xampp's htdocs directory.
  4. Start Xampp application and start “Apache” and “MySql” Server, your window look like below screen:
Steps to setup:

1. Open browser and go to url “localhost/phpmyadmin”
2. Click on “DataBases” menu and create new data base like “testlink”
3. Your created data base listed in left side panel like as in below screen:

Open source automation tools for mobile automation.

Following are the some open source automation tools for the mobile application
  1. WebDriver(Selenium 2): Webdriver is most popular automation tool for  web application as well as mobile web app for android aand iOS application. Using Grid we can execute test scripts in multiple environments. For more details click here
  2. MonkeyTalk:  monkey talk automation tool support native, mobile, and hybrid iOS and Android apps - everything from simple "smoke tests" to sophisticated data-driven test suites.  It support record and playback, simulate real devices. For more details click here
  3. Frank:  Frank automation tool used for only iOS based application. It allows to write structured text test/acceptance tests/requirements (using Cucumber) and have them execute against your iOS application. Frank also includes a powerful “app inspector” (called Symbiote) that you can use to get detailed information on your running app. For more details click here
  4. Robotium: Robotium is an automation framework for android application. It is fully supported of Android native and hybrid applications. For more details click here
  5. Calabash: Calabash automation tool support for both iOS and Android based application. Like Frank automation tool it support s for BDD framework using cucumber.
  6. NativeDriver: NativeDriver is implemented by using webdriver API it supports ui of native application not web application for Android and iOS. For more details click here
  7. Zucchini: zucchini is automation framework for iOS based application. For more details click here
  8. KIF: KIF is automation testing framework for iOs based application. for more details click here
  9. Automating UI Using Xcode Instruments:  Today this most powerful to automat iOS based application.  It supports only for iOS based application, record and playback are support and java script language support for scripting. For more details click here
  10. VerifayaStudio: Verifaya studio is support Android based application and need to real device for automation. For more details click here
  11. Appium: Appium is open source mobile automation tool for android and ios application. For more details click here

I will keep posing more details on above automation tool. Please leave your comments if any open source automation tool you know for mobile application.

Road to create virtual android device( emulator ) in windows

Here are steps to create virtual device of android in window machine.

1. Download and install Android SDK from link “download android sdk
2. After installation click on “SDK Manager.exe” from your android installed directory.


3. Check android API as per your requirement and click on install button. It will talke some time for installation.
4. After installation successful. Click on Tool>>Manage ADVs”


5. Click on new button, Enter device name and select all options from open window, click on OK buton.
6. After creating device select created device and click on “Run” button. You android vertual device is open like below screen.


Road to create test script using Pywinauto

Pywinauto is python based GUI automation tool, using this we can automate windows application.

Set up:

To set up pywinauto you need to install some prerequisite in you machine as mentioned below.
 1. Python
 2. SendKeys (SendKeys-0.3.win32-py2.6.exe)
 3. setuptools-0.6c11.win32-py2.6.exe.

Download pywinauto from link http://sourceforge.net/projects/pywinauto/files/ and unzip in your machine.
Open command prompt and go to unzip folder “pywinauto” and run command

 python setup.py install

To check you have it installed correctly