Hey Frankensteins,
Long overdue, but now available is the Frank-Calabash plugin. This plugin allows Frank users to take advantage of the features of Calabash in their Frank test suites. This can be done on a case-by-case basis, e.g. for specific tests or globally. Most notably those features are:
- The Calabash query engine. This supports a super-set of the Shelly query engine which Frank uses by default. The Calabash query engine most supports things like queries into web views, queries by NSPredicates ("CONTAINS","BEGINSWITH"..), table view queries "tableViewCell indexPath:row,sec" and an extended visibility filtering mechanism "all/visible". Query language docs:
http://developer.xamarin.com/guides/testcloud/calabash/calabash-query-syntax/
- Full UIAutomation access, things like deactivateAppForDuration (sending the app to the background and back) and rich gestures (e.g. pinching or panning) or dismissing the "Access to Current Location" dialog.
- Web-view support, query for dom elements in a web view using CSS or XPATH. Perform touch events or text entry on those elements.
The important requirement to take advantage of the plugin is to let Calabash launch the app (since Calabash requires launching using instruments rather than sim launcher), and to install the plugin. This will require change to your test suite launch procedure for the Test cases where you want to use Frank-Calabash.
Note we still consider this an "Alpha" feature so feedback is welcome!
Cheers
- Karl