Forum Discussion
Hi tuanvinh1008
I am not sure if using DDT is best if you want to call conditional values.
Have you looked at using a table variable work here?
https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/table.html
I think this would be easier when creating your conditions as you can call values from that table variable.
let me know how this goes
KR
Vincent
- tuanvinh10084 years agoContributor
Hi vinniew , It means i will read all data and convert it to table for retrieve data? Do you have any else solution if I don't use DDT.CSVDriver?
- vinniew4 years agoStaff
Hi tuanvinh1008
Yes TC will store the table variable in TC.
My response was based on the information shared, there could be other work arounds, TC is quite flexible after all.
Can you provide more context and details on what you are doing.
This will help me and other members to fully understand what could looked at in terms other options
KR
Vinnie
- tuanvinh10084 years agoContributor
My context is, I have the test data file (csv) like above and I want to read it from my script with conditions as I mentioned. I want to know Test Complete has any build-in command to read the file with that conditions or we need our own code to handle it.
Thanks
Related Content
- 11 months ago
- 9 years ago
- 5 years ago