Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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
 
PREVIOUS NEXT
Tagged: #parameterize #test #cases
ADD COMMENT
Topic
Name
8+3 =