I need to execute a function 2 times for a test case.The test case is executed depending upon the test case name kept in an excel file...now i need to use 2 different sets of data for the same test case name...how will i do that???
Thanks in advance.
Use the data driven workflow to submit different sets of data to the same test case, alternatively you can use test plans to pass different data to the same test case.
As for configuring different tests to run depending on the testcase name defined in your spreadsheet, the following will work:-
testcase DD_tests ()
if testcasename = "test1"
if testcasename = "test2"
and so on
The shortest distance between two points is under construction.
Thanks a lot