Same scenario for android and ios

42 views
Skip to first unread message

Mohammad Alotol

unread,
Jun 23, 2016, 7:19:09 AM6/23/16
to calabash-android
Hi everybody
I have android and ios app, both are built natively. 
And I'm new on Calabash and I don't build different scenarios for each one.
Can I build one scenario and apply it for both android and ios apps.

John Engelhart

unread,
Jun 28, 2016, 8:51:09 AM6/28/16
to calabash-android
You can write one cucumber scenario and then apply android specific steps or ios specific steps. Depending on which tag you run.

Susan van de Ven

unread,
Jun 29, 2016, 3:43:04 AM6/29/16
to calabash-android
You can also share the step definitions and I would recommend that as an approach.  I think Calabash has a cross platform example https://github.com/calabash/x-platform-example

I do it the same way, we use ios or android profiles which load in different page object folders depending on the profile specified when the tests run.
Reply all
Reply to author
Forward
0 new messages