Data driven testing

Sander's sent me some ideas off-line, but I am enountering a few problems.

This is my spike set up:

Test Plan

 User Defined Variables
 name=datafile  value=C:\all_data.csv

 User Parameters
 name=execute   user1=${_CSVRead(${datafile},0)}
 name=testcase  user1=${_CSVRead(${datafile},1)}
 name=testdescription   user1=${_CSVRead(${datafile},2)}

 If controller
 condition=${execute} == 'Y'

 BeanShell PreProcessor
 print(${testcase});
 print(${testdescription});



The data file contents are these

Execute,        testcase,       testdescription
Y,              a_test,         a_description


The problems I am encountering are that:

1) The BeanShell PreProcessor is not printing out the testcase and the
testdescription.
2) The test execution seems to hang

Thanks

Aidy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to