2011软件水平考试软件测评师测试技术辅导(6)5
"d:Program FilesNModelbinotg.exe" /r:TrainMode.dll /f:scenario.txt TrainMode.WebSiteModel.CreateLoginModel
下面是生成的测试用例:
TestSuite(
TestCase(
Initialize(),
Login_Start(User("Authenticated"), Password("Correct")),
Login_Start(User("Administrator"), Password("Incorrect")),
Logout(User("Authenticated"))
),
TestCase(
Initialize(),
Login_Start(User("Administrator"), Password("Correct")),
Login_Start(User("Authenticated"), Password("Correct")),
Logout(User("Administrator")),
Logout(User("Authenticated"))
),
TestCase(
Initialize(),
Login_Start(User("Administrator"), Password("Incorrect")),
Login_Start(User("Authenticated"), Password("Incorrect"))
),
TestCase(
Initialize(),
Login_Start(User("Authenticated"), Password("Incorrect")),
Login_Start(User("Administrator"), Password("Correct")),
Logout(User("Administrator"))
),
TestCase(
Initialize(),
Login_Start(User("Administrator"), Password("Incorrect")),
Login_Start(User("Authenticated"), Password("Correct"))
),
TestCase(
Initialize(),
Login_Start(User("Administrator"), Password("Correct")),
Login_Start(User("Authenticated"), Password("Incorrect"))
),
TestCase(
Initialize(),
Login_Start(User("Administrator"), Password("Correct")),
Logout(User("Administrator")),
Login_Start(User("Authenticated"), Password("Correct"))
),
TestCase(
Initialize(),
Login_Start(User("Authenticated"), Password("Correct")),
Logout(User("Authenticated")),
Login_Start(User("Administrator"), Password("Correct"))
),
TestCase(
Initialize(),
Login_Start(User("Administrator"), Password("Correct")),
Logout(User("Administrator")),
Login_Start(User("Authenticated"), Password("Incorrect"))
),
TestCase(
Initialize(),
Login_Start(User("Authenticated"), Password("Correct")),
Login_Start(User("Administrator"), Password("Correct")),
Logout(User("Authenticated")),
Logout(User("Administrator"))
),
TestCase(
Initialize(),
Login_Start(User("Authenticated"), Password("Incorrect")),
Login_Start(User("Administrator"), Password("Incorrect"))
),
TestCase(
Initialize(),
Login_Start(User("Authenticated"), Password("Correct")),
Logout(User("Authenticated")),
Login_Start(User("Administrator"), Password("Incorrect"))
)
)
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>