Test fails with Type Mismatch exception in data driven test selecting data from start to end
Hi, I have created a simple data driven test. For the data selection, I have selected the from start to end record option (instead of giving the number of records).
However when the test reaches the end of the file, instead of exciting hte data loop, it still goes to the first field of the data record, and then since there are no more data, test failed with 'Type Mismatch' exception.
Note screenshot attached.
Please let me know how to correct this error.
Re: Test fails with Type Mismatch exception in data driven test selecting data from start to end
Please show the piece of code, from where you got exception.