Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Could you repost your modified code so we can take a look?
Also, reviewing your initial post, you have your data in your excel sheet organized by columns. The DDT Drivers are designed that each case of data is a row with the first row being the column titles. That way you use your single data routine (Client1) and loop through all the records in the spreadsheet without needing to create a Test1 or Test2 for each case.
I think that might be the key, really, to your problem in that you're assigning values from your spreadsheet to project variables and then attempting to use those to drive your test... the DDT drivers (in script) and the data Driven loop (in keyword test) doesn't need that, it just needs a link to your data file.
Also, reviewing your initial post, you have your data in your excel sheet organized by columns. The DDT Drivers are designed that each case of data is a row with the first row being the column titles. That way you use your single data routine (Client1) and loop through all the records in the spreadsheet without needing to create a Test1 or Test2 for each case.
I think that might be the key, really, to your problem in that you're assigning values from your spreadsheet to project variables and then attempting to use those to drive your test... the DDT drivers (in script) and the data Driven loop (in keyword test) doesn't need that, it just needs a link to your data file.