| || |
Treeview controls not recognized correctly.
When I record by TC the tree view nodes are not recognized
by name instead it is recording like item(number).
For example when I click on the tree view nodes which has node names like CA,NV etc. TC is
but I am expecting the following
even the OK button on tree view control is recorded as
Please let me know what the issue is here.
Thanks in Advance.
Re: Treeview controls not recognized correctly.
The cause of the problem is that objects on your web page do not have values of the 'id' attribute. If an object does not have a value of this attribute, TestComplete names this object Item(<objectIndex>. Since web pages have a lot of objects, these indexes can be quite unreliable.
However, in most cases, it is possible to create a custom script routine that will work with the tree control. Could you please tell me what ASP.NET control is used in your application as a tree?