Ask a Question

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

SOLVED
nedbacan
Frequent Contributor

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.

 

nedbacan_0-1607576270916.png

 

 

nedbacan_2-1607576314845.png

nedbacan_3-1607576359531.png

 

2 REPLIES 2
ChrisA
Contributor

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.

nedbacan
Frequent Contributor

Thank you very much for your support.  The problem got resolved with your suggestion.

cancel
Showing results for 
Search instead for 
Did you mean: