I need to read part of a textfile and automatically (through test complete script) load the data on the application. Please see attached
That format you have in your doc file looks kinda of like CSV. Not sure if it's properly formatted CSV file, if it is, then you can use the CSV DDT driver TestComplete has to work with it easily.
If not, then probably you'll just want to open the file using some sort of text stream of which ever scripting language you're using.
SDET / Consultant LinkedIn profile
I would second dlai's comment on using the CSV DDT driver in TestComplete. If you'd rather, you can create an ADODB connection to your CSV file using the ADODB.RecordSet object...
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure