-
Notifications
You must be signed in to change notification settings - Fork 10
How To
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:
See this answered at Stackoverflow
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
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.