Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
It depends upon what kind of object you're trying to call it on. If you have a native JScript object, the hasOwnProperty method will work.
However, if you have a windows object or a page object or some other tested object as determined by TestComplete, those are not native JScript objects and, therefore, do not have that method associated with them.
Would you post a segment of the code where you're intending on using it? That would be helpful in knowing better how to help you debug.
However, if you have a windows object or a page object or some other tested object as determined by TestComplete, those are not native JScript objects and, therefore, do not have that method associated with them.
Would you post a segment of the code where you're intending on using it? That would be helpful in knowing better how to help you debug.
Related Content
- 3 years ago
- 11 years ago
- 6 years ago
- 10 years ago
- 12 years ago
Recent Discussions
- 9 hours ago
- 4 days ago