Sunday, April 14, 2013

Calabash Android - Testing start of an activity

Normally the first test you might write in calabash is to test the start of an activity.
For example consider that your app has a button(with text "Test"), and is configured to call 'launchTestActivity' onClick.

Android code to start the activity :

Now to test this, you need to write the below Calabash feature :

2 comments:

  1. Is it possible to start a Service this way?

    ReplyDelete
  2. Is it possible to start a Service this way?

    ReplyDelete