Skip to content
Aliaksandr Ikhelis edited this page Nov 20, 2014 · 13 revisions

Find good Calabash tutorial

The best tutorial / cookbook we know is located at xamarin developer portal

Google groups for calabash-android and calabash-ios is a good entry point into the calabash open source community. You can join, look for questions and topics, or ask your own question.

Other resources:

Run calabash-android tests in RubyMine

See this answered at Stackoverflow

Try out a page object, or explore AUT UI

A great way to play with and debug Page objects is by using calabash-console, an irb with pre-loaded calabash code. We extended it with a custom irbrc file so that it also loads our support modules and page models. You can enter the console mode by running calabash:console rake task

$ rake calabash:console
Starting calabash-android console...
Loading /Users/aliaksandr/dev/test/android-test/irbrc
Running irb...
Loading blinkbox Books support code...

irb(main):001:0> include PageObjectModel
Object < BasicObject

irb(main):002:0> anonymous_library_page.displayed?
true

irb(main):003:0> anonymous_library_page.open_
anonymous_library_page.open_drawer_menu      anonymous_library_page.open_first_book       anonymous_library_page.open_menu_and_signin  anonymous_library_page.open_timeout
anonymous_library_page.open_entry            anonymous_library_page.open_menu             anonymous_library_page.open_option_button    anonymous_library_page.open_timeout=

irb(main):003:0> anonymous_library_page.open_menu
D, [2014-10-12T22:42:00.868439 #12083] DEBUG -- : Delegating method call #tap_when_element_exists({:timeout=>5}) for selector "* id:'togglebutton_home'" to calabash

Explorer AUT UI with a visual inspector

The best inspector we have found is Appium UI inspector. Although we're not using appium for automation, we can install it locally and use its UI inspector to explore our android and ios apps.

See appium.io for more details.

Step 2

Step 3