Forum Discussion
Thank you for your hint! I found the cause of the problem. The variable I created was DB Table, using CSV file and it's not compatible with the above code. Silly me :) The sample code from this page works as expected:
https://support.smartbear.com/testcomplete/docs/reference/program-objects/dbtablevar
It's good to see someone using the Watch List and trying to diagnose the issue 🤖
To diagnose an issue, try to work backwards, from where you think the issue is occurring (line 43), and you will have more of a chance in solving the problem.
- pkudrys11 months agoContributor
The Watch is definitely a useful tool and I can't imagine debugging problems without it. But this time, I would most probably not realize the cause of the problem myself. I'm still too inexperienced with the TC and what it actually shows in the watch.
BTW, I just used the proper DB Table code and after loading DB Table to the variable, it shows just ColumnCount in the Watch and nothing else. But this time, Reset worked as expected and I was able to extract all available data :)
In fact, the original code works with the DB Table as well. It just required removing the Iterator Property and that was it. I think it would be good to unify the Table and DB Table properties and methods.
Related Content
- 8 years ago
- 8 years ago
Recent Discussions
- 4 hours ago
- 7 hours ago