Forum Discussion
Hi Alison,
The problem is caused by the fact that the Hybrid tree model is used in your project, and as a result, the NativeWebObject.Find method returns an object from the DOM branch of the objects tree. The Hybrid model is actually used for compatibility purposes so projects created in earlier versions of TestComplete can run smoothly. I recommend that you just make your projects use the Tree model - this will solve the problem. Moreover, the Tree model is faster than the Hybrid model. Please see the "Web Tree Models" help topic ( http://www.automatedqa.com/support/viewarticle.aspx?aid=12439 ) for more information.
Besides that, there is one more problem in your test: the "id" property used for object identification in the FindChild method must be replaced with the "idStr" property:
PropArray = new Array("ObjectType", "idStr");
ValuesArray = new Array("Link", "muppet");
Related Content
- 4 years agomehdisinger
- 11 years agokirk_bottomley
- 2 years agoPossum
Recent Discussions
- 13 hours agotramuntana
- 3 days agoSlickRick