Forum Discussion
vish_borade
13 years agoOccasional Contributor
Thanks Phil for the reply.
Yes, I had gone thro' all possible means to access TreeView node of my application,
including trying to access tree by it's class name and other properties. Or even accessing it as a child of it's parent using 'FindChild' . I get an object in above cases but when I try to invoke TreeView methods on it it says "property not supported".
I didn't give it a shot to 'Name Mapping' though as anyway i wasn't trying to access TreeView using object chaining in one single statement. I am retrieving every single WinFormsObject in a separate call. And 'name mapping', i thought, is simply a way to assign a short and simple name to longer object chains or names.
Also I want my javascripts to run on various TestComplete environments without having to perform 'name mapping' in each case, 'name mapping' won't work in any case being aside.
As said before i am being able to access object chain, using individual calls, till i reach parent object of TreeView. But accessing Treeview simply fails.
-Thanks
Yes, I had gone thro' all possible means to access TreeView node of my application,
including trying to access tree by it's class name and other properties. Or even accessing it as a child of it's parent using 'FindChild' . I get an object in above cases but when I try to invoke TreeView methods on it it says "property not supported".
I didn't give it a shot to 'Name Mapping' though as anyway i wasn't trying to access TreeView using object chaining in one single statement. I am retrieving every single WinFormsObject in a separate call. And 'name mapping', i thought, is simply a way to assign a short and simple name to longer object chains or names.
Also I want my javascripts to run on various TestComplete environments without having to perform 'name mapping' in each case, 'name mapping' won't work in any case being aside.
As said before i am being able to access object chain, using individual calls, till i reach parent object of TreeView. But accessing Treeview simply fails.
-Thanks