How to write step definition of Calabash Android

2019-07-15 02:31发布

I am new to calabash android. I wrote testcases for 'Twitter' android app for learning purpose. But I feel starting trouble. Can any one help me? How do I write step definition? In the feature file I wrote:

Feature: Login feature

Scenario: As a valid user I can log into my app
   And I press "Sign In"
   Then I see 'Sign In' page
   Then I enter 'abc@domain.com' in username
   Then I enter 'abc.123' in password
   And I press 'Sign In'
   Then I should see my home page

How can I write step definitions for the above scenario?

1条回答
登录 后发表回答