Forum Discussion

nedbacan's avatar
nedbacan
Frequent Contributor
4 years ago
Solved

End of my data driven test > Ending with an Exception "Type Mismatch"

Created a small data-driven test, but it returns an exception after the loop is completed.        
  • ChrisA's avatar
    4 years ago

    Hi,

     

    The only thing I can think of here is that Test Complete 'thinks' that it should process row 5.  If your source data is in CSV format, open it in Notepad and check for a <cr> at the end of the last line.

     

    Another thing worth trying... In your DataDrivenLoop step, does it allow you to see the data?  Might be worth seeing how rows the app thinks it needs to process.