Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 951 by palani.s...@gmail.com: Data driven test case results
http://code.google.com/p/robotframework/issues/detail?id=951
At present, the results are not prepared each test entry as a testcase for
test template.
User Guide:
http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html#data-driven-style
There is no significant difference between test case and test template. In
test template, no need to give the User Keyword. Just data is enough.
I feel that each row is one test in data driven tests and it should reflect
on results.
Below I've given the sample test, result and expected result. Please
evaluate and do the needful.
For example,
***** Test case ************
Invalid Password [Template] Invalid Login should fail
invalid ${VALID PASSWORD}
${VALID USER} invalid
invalid whatever
${EMPTY} ${VALID PASSWORD}
${VALID USER} ${EMPTY}
${EMPTY} ${EMPTY}
***** Result ******
Test Suite - MySuite
--- TEST CASE: Invalid Password
--- --- KEYWORD: Test1. Invalid Login should fail Invalid, wrongPwd,
--- --- KEYWORD: Test1. Invalid Login should fail Invalid, invc,
--- --- KEYWORD: Test1. Invalid Login should fail empty, wrongPwd,
***** Expected Result ******
Test Suite - MySuite
--- TEST CASE: Invalid Password Invalid, wrongPwd,
--- TEST CASE: Invalid Password Invalid, invc,
--- TEST CASE: Invalid Password empty, wrongPwd,
Thanks & Regards,
Palani.