Forum Discussion

sam_kvale's avatar
sam_kvale
Occasional Contributor
12 years ago

Iterate Through a Data Loop with Multiple Files

My Data Loop can run through one text file fine, but how do I set up the test to iterate through multiple files?

2 Replies

  • Well very generally speaking, you would set up an outer loop that iterates through files (if they are in a single folder it can be the folder's '.Files' item collection),

    and an inner loop that iterates from within that file (ie your "data" loop).
  • sam_kvale's avatar
    sam_kvale
    Occasional Contributor
    Yeah I follow the general idea of that.  I would like to apply it in test complete's keyword syntax.