Forum Discussion
recordToObject sounds like something that I wrote as a utility and shared on here (can't find the original post).
Perhaps you saw my example and assumed this was a built in utility to Test Complete?
- tristaanogre8 years agoEsteemed Contributor
Yup, here it is.
https://community.smartbear.com/t5/TestComplete-General-Discussions/how-to-get-DB-table-into-a-2D-array/m-p/146828#M27191So, if you have recordToObject in one script unit and are trying to use it in a different one, you need to make sure you tell the script Engine of TestComplete where to find the script. Reference https://support.smartbear.com/testcomplete/docs/scripting/calling-routines/declared-in-another-unit/javascript.html
- Adagio8 years agoFrequent Contributor
cunderw..you are right. but that had been working well for a while now, because that's part of the main routine which I call from other scripts and return a table array. Only today, I've encountered this kind of problem. I'm not able to understand what's different this time. I'll dig more to figure it out.
Thank you
Abhi