Example:
Scenario: Scenario to login successfully
As
an end user,
Given
the access to the website
When
I enter correct credentials
Then
I should be able to login successfully
Scenario: Scenario to check for the error messages
As
an end user,
Given
the access to the website
When
I enter wrong credentials
Then
I should see an error message
And
I should not be logged into the website
The cucumber
format can clearly convey the requirement to the entire stake holders, as they
are very understandable.
Cucumber
format removes the gap between the "Functional Specifiction",
"Business Requirement Document", "Acceptance
Specifications", etc.

No comments:
Post a Comment