Forum Discussion

mazhar555's avatar
mazhar555
Contributor
15 years ago

Web Testing - Object Model

Hi,



I just want an expert opinion, which Object Model is best to use and faster when you are not using Name Mapping, identifying objects on runtime? Right now i am using Tree Model, but for my own knowledge \ experience i want to try some other Models as well. ( i have read the object model help topic but i just want an experienced opinion)



Regards,

  • Hi,





    Actually, there's no "perfect" model. Each of them has both advantages and disadvantages. Which model to use depends on your needs and, probably, on the way your page works. For example, if your page has an unstable object hierarchy, you can use the DOM model where there're no parent-child relations (all objects are direct children of the frame where they reside). So, it is difficult to say which model is better.





    There's an explanation of each model in the "Web Tree Models" help topic.