parameterization code example
Example 1: parameterization
Parameterization is being able to pass
test data directly into feature files.
We just avoid hard coding test data into our step definitions
Data driven testing: running the same test against different data sets.
Scenario: Login with correct credentials
Given User is on the login page
When User enters correct username "truckdriver412"
And User enters correct password "UserUser123"
Then User should see title is something
Example 2: parameterization
- Parameterization is being able to pass different test data from FEATURE FILES.
- We are able to not to "hard-code" some of the test data,
so that we can change it from our feature files.