Skip to content

TypeScript code snippet – How to parameterize test cases?

Cucumber:
- By using regular expression in feature file
      ==> when user enters "myusername" and "my password"
- Configuration.properties file

TestNG:
- By using 'parameter' key word in pom.xml 
file and using it in my @Test annotation to
call the value of this parameters.
- Configuration.properties file
See also  Python code snippet - How to make a time limit using renpy?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.