Forum Discussion
joffre
14 years agoRegular Contributor
One thing I would recommend for TC 7.52 is that it is probably easier to construct your DDT Loop in Script code and then call your Keyword test from within that script code. Take a look at http://smartbear.com/support/viewarticle/13853/ for more about how to do DDT in script.
You can then use DDT.CurrentDriver within your keyword test to indicate to use values from within whatever the most recent DDT driver. That way you won't have to worry about creating and manipulating DDT drivers within keyword tests (not an impossibility, just I find it more difficult).
Hi Robert, how are you doing?
I'm using scripts to fully test my application. My intention is to get data from several columns on an excel sheet and populate my form with this data.
Doubt 1 - Where do I find this DDT.CurrentDriver? In my case, DDT.ExcelDriver (I guess).
Doubt 2 - The example of how to use DDT.ExcelDriver isn't very clear. It shows how to import the sheet, but how will I set values from Column 1 to one TextBox?