alevans4
13 years agoContributor
Create TestComplete Object from DOM Object
Is there any way in JScript to instantiate a TestComplete object wrapper around a DOM object?
Typically we search for DOM elements on a webpage using TestComplete's Find family of functions. What's actually returned from the Find function is some sort of TestComplete object wrapper around the actual object. What I want is a means to instantiate that wrapper object, passing it an existing DOM object that I've found using other means.
Possible?
Typically we search for DOM elements on a webpage using TestComplete's Find family of functions. What's actually returned from the Find function is some sort of TestComplete object wrapper around the actual object. What I want is a means to instantiate that wrapper object, passing it an existing DOM object that I've found using other means.
Possible?
- Bert,
I understand your idea, but the answer is no, there is no way to do this.