Posts

Showing posts from 2014

Mac terminal cursor commands

Image
·          Meta-d to delete a word starting from the current cursor position ·          Ctrl-a  to jump to start of the line ·          Ctrl-e  to jump to end of the line ·          Ctrl-k  to kill the line starting from the cursor position ·          Ctrl-y  to paste text from the kill buffer ·          Ctrl-r  to reverse search for commands you typed in the past from your history ·          Ctrl-s  to forward search (works in zsh for me but not bash) ·          Ctrl-f  to move forward by a char ·          Ctrl-b  to move backward by a char

Automation Testing of Android app on device using Appium

Image
1)       Run the setup using the below provided location using the URL as : http://developer.android.com/sdk/index.html#Other and click on installer_r24.0.1-windows.exe for windows. 2)       Agree to the terms of service and licence from google and download the installer. 3)       Download the Appium for windows latest version from http://appium.io/ . 4)       Download java-client version for the same latest from location http://appium.io/downloads.html 5)       Set ANDROID_HOME as environment variable providing the path for the SDK till the SDK path 6)       Set the path for platform tools and tools folder specifically like below : D:\Mobiletesting\MobileSDK\sdk\platform-tools;D:\Mobiletesting\MobileSDK\sdk\tools; 7)       Once the path for tools and platform-tools is set che...

Calabash iOS installation steps

1.   calabash 1.1             Software Requirement 1.        Xcode 6.1 (Mandatory for iOS 8.1) 2.        RVM 3.        Ruby  2.1 > version 2.0 4.        Homebrew 5.        Java 6.        Maven 7.        Ant 8.        Cocoapods 1.2             Install Xcode 1.        Download the latest Xcode from apple developer site https://developer.apple.com/xcode/downloads/ 1.3               Install RVM 1. Open the terminal window on mac  $ \curl -sSL https://get.rvm.io | bash -s stable     ...

Calabash-iOS commands

irb(main):021:0> query("label all",:text) [     [ 0] "Home" ,     [ 1] "Pull down to refresh" ,     [ 2] "FTSE" ,     [ 3] "6739.27*" ,     [ 4] "+0.14%" ,     [ 5] "+9.48" ,     [ 6] "DAX" , ] irb(main):023:0>  query("button index:0").first.keys [     [0] "selected" ,     [1] "enabled" ,     [2] "rect" ,     [3] "id" ,     [4] "description" ,     [5] "label" ,     [6] "alpha" ,     [7] "class" ,     [8] "frame" ] irb(main):024:0>  query("button index:0").first.values [     [0] false ,     [1] true ,     [2] {         "center_x" => 25 ,                "y" => 26 ,            "width" => 20 ,        ...