testng parameter with cucumber code example
Example: how to parameterize test cases cucumber
- 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.
Cucumber:
- By using regular expression in feature file
==> when user enters "myusername" and "my password"
- Configuration.properties file