Forum Discussion

Louis's avatar
Louis
Contributor
14 years ago

Type mismatch when using dat adriven testing.

I am using a data driven keyword script to label peaks on a graph. I am having problems when the values within a column of my driving data switches from a numerical value to a letter value or vice versa. For example test complete will label (using the wtext command) a peak as 12 on the first loop then 13 on second loop but when it attempts to label the peak as R the script stops and the log shows a type mismatch error.  have tried using the data in csv format and excel format when using the excel data to drive the test i formatted all cells in the work sheet as text and that didn't help. Seems like testcomplete is judging what sort of data should be entered for each peak (integer or letter) then refuses to change. I thought it would just blindly enter the data I provided it with.

13 Replies