Forum Discussion
"Table Data" is for TestComplete built-in tables.
http://support.smartbear.com/viewarticle/55435/
Are you still expecting to read your data from Excel? If so, then you want "DB Table"
Well, This is the window that pops up. It shows all the options available to me in the Keyword test view.(DB Table is MIA)
And, when I select Table data, I get this:
showing that it IS evaluating the excel table and loading the variables correctly...
- joseph_michaud10 years agoModerator
I think the issue is that your Excel spreadsheet contains two columns of text. The CheckProperty() method wants an Object as its first parameter. You may read the text description of the object from the "Control" column, but it is not an Object (or at least not the object you are expecting) and there is no automatic type conversion that happens under the covers.
The eval() converts that text description into the desired object in the context of your test run.
- Everseeker10 years agoContributor
joseph_michaud wrote:"...You may read the text description of the object from the "Control" column, but it is not an Object (or at least not the object you are expecting) and there is no automatic type conversion that happens under the covers..."
Since the only reason you would be selecting something at this point is because I DO want to be pointing to an object (Following along, there is no other reason to be at this step)
It might be a really good idea(Product Improvement) to conduct some of that automatic type conversion under the covers
(Or, to block the user's ability to select an excel table in the first place [Product Nerf])
Just Say'n :)
Related Content
- 2 years ago
- 4 years ago
- 10 years ago
Recent Discussions
- 17 hours ago