We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
When you get to the second function, you need to use something like eval() to tell it that what you passed isn't just a string. There's an example in here:
https://support.smartbear.com/testcomplete/docs/scripting/calling-routines/declared-in-another-unit/jscript.html
Hi,
The sceleton of your code looks correct.
Most probably, as the text of the error says, object is not assignrd to the Obj variable and thus the code in the Validate() function cannot access object's properties.