Help related to identifying web link or any object
I am new to TestComplete, i am trying to learn few things about testcomplete, whenever i try to record clicking on the link it gives me something like this "w1.Panel(0).Panel(1).Link(0).Click"
Could you please tell me what do you mean by Panel(0). Panel(1) and how did test complete manage to identify the link as above.
Also i would be grate ful if any one could let me know about the four models viz, DOM, Hybrid etc.
Re: Help related to identifying web link or any object
Basically the DOM (Document Object Model) is an object tree with all your XML objects, such as a webpage. It's a way of traversing the tree to get to the element you want. Those numbers are index numbers. So Panel(0) is the first panel under the window "w1". Other properties/attributes could be used to identify objects, but index is usually the one generated when recording.
There is also Tag model, which insteads of organizing the objects by their document structure, it organizes them by tags. The advantages of Tag is it is a lot faster than DOM given the object tree is flatter. But it becomes harder to reference the item you want since each item is no longer organized under their parent objects.
The other model available is basically a combination/compromise between the 2. Allowing the ability to reference using either to some degree.