Forum Discussion

aplaskovskiy's avatar
12 years ago

Problem with function Compare and floating variables.

Hello,sorry for my bad English.

I have a problem with function "Compare". It's happened after converting our project from TC8 to TC9.

When floating values in tables had been compared (using this code "Tables.table1.Compare()"), TC9 wrote this logmessage for all floating values, for example:

"column of row 0 contains a value (20333,7135585833) tha differs from the stored one (20333,7135585833)".

We can't fixed this problem for diffrent compare functions.



Thank you.

1 Reply


  • Hi Anatoliy,


     


    It looks like the issue occurs as too many numbers after the comma are compared. The number of symbols is set by Windows. So, TestComplete cannot affect this. I suggest that you update your checkpoints on the first execution in TestComplete 9 - this should help. You will need to check the Update Table elements option and run the test execution.