Posts

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 ,        ...