New UFT DataTable is messing up our tests

Category:
Question ID: 110080
2
0

We’ve been using the UFT data for a long time with no problems. Now, with UFT 15.x, the new DataTable format is messing up our existing tests.

For example,

Entering a large number the DataTable converts it to scientific notation vs treating it as a string:

123456789101234 becomes 1.234E+14

Dates are reformatted:
01/01/21 becomes 1/1/2021

We need our data to stay the way we enter them instead of being reformatted. We also do not want to put a ‘ in the field, as that would require extensive rework of our scripts. Is there any other way to accomplish this?

Marked as spam
Posted by (Questions: 364, Answers: 42)
Asked on April 15, 2021 6:12 pm
12 views
Answers (1)
2
Private answer

It is currently possible to revert to the old data table format. To do so, you need to update the registry.

Under HKEY_CURRENT_USERSOFTWAREMercury InteractiveQuickTest ProfessionalMicTestDataTable in the registry, set Type = 0 then restart UFT.

Marked as spam
Posted by (Questions: 16, Answers: 782)
Answered on April 15, 2021 6:13 pm
This really helps. Our scripts are now working properly again.
( at April 15, 2021 6:14 pm)