📜  在框架中参数化 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:15.528000             🧑  作者: Mango

代码示例1
HOW DO YOU PARAMETERIZE YOUR TEST CASES IN YOUR FRAMEWORK?

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