andrew_1
12 years agoOccasional Contributor
Can't get Testcomplete to read some Excel cells
Hi Team
I have a problem with TC (version 9) not reading certain entries in an Excel (2010) spread sheet used for data driven tests. The problem happens when there is mixed text and numbers in a column. For example, I have a column that has mostly numbers and occasionally numbers with a text prefix i.e. 654321, 987654, tst321, 456789 . . . The entries with only numbers will be used when tests are run, but entries with both numbers and text will cause an error. When using View Sheet under Select Worksheet in the Data Driven Loop dialog to view the sheet, TC shows the cells with mixed numbers and text as empty.
The bizarre thing is, this wasn’t happening when I had the 64 bit version of Excel installed. I uninstalled the 64 bit version because TC couldn’t read from a spread sheet unless it was open.
Any help resolving this will be much appreciated.
I have a problem with TC (version 9) not reading certain entries in an Excel (2010) spread sheet used for data driven tests. The problem happens when there is mixed text and numbers in a column. For example, I have a column that has mostly numbers and occasionally numbers with a text prefix i.e. 654321, 987654, tst321, 456789 . . . The entries with only numbers will be used when tests are run, but entries with both numbers and text will cause an error. When using View Sheet under Select Worksheet in the Data Driven Loop dialog to view the sheet, TC shows the cells with mixed numbers and text as empty.
The bizarre thing is, this wasn’t happening when I had the 64 bit version of Excel installed. I uninstalled the 64 bit version because TC couldn’t read from a spread sheet unless it was open.
Any help resolving this will be much appreciated.