ash10
11 years agoOccasional Contributor
Object Name changes dynamically
I have listview whose object name changes dynamically.
This is because during development they dynamically add listview and this will generate the name for the object I guess.
So some times I get the object name with WinFormsObject and some times with out this.
Aliases["mainapp"]["MainForm"]["DockContainer2"]["WinFormsObject"]("MyTree")["WinFormsObject"]("MyTree")["WinFormsObject"]("panel1")["WinFormsObject"]("MyTree")["WinFormsObject"]("_treeTableView")["WinFormsObject"]("ListView", "")
Aliases["mainapp"]["MainForm"]["DockContainer"][" MyTree "]["MyTree "]["panel1"][" MyTree "]["ztreeTableView"]["ListView"]
I guess I cannot edit this value in namemapping as the complete value changes.
Can you please suggest a solution for this.