pankajlalsare
16 years agoOccasional Contributor
Named mapping issue with dockable objects
Hello,
i am mapping the name of the object. The scenario is like this..
My object is MainBox, which has parent Topwindow, which has parent TopMostWindow.
I am mapping the name of MainBox. So it is mapped properly if i dont change the position of MainBox.
When i click certain menu on TopMostWindow, the MainBox is opened. But the position of this is not fixed. It is dockable.
So it depends on the docking , which parent it will have .
1. MainBox may have parent TopMostWindow
2. MainBox may have parent Topwindow, which has parent TopMostWindow
So i want to remove this dependency. I do not want the Parent attribute to be used while identifying the object thro named mapping.
Above case is sample case. In actual, there are many parent-child changes with my dialog boxes depending upon docking and the docking is not fixed.
I tried using the help given at "http://www.automatedqa.com/support/viewarticle.aspx?aid=12482" regarding Removing Identification Properties From Mapping ..But was not useful. I couldnt delete it. It deletes the tree node and not the property.
In short, is there a way to handle the dockable objects when the hierarchy changes depending upon the docked position?
Any video if available will be useful.
Thanks!
-Pankaj
i am mapping the name of the object. The scenario is like this..
My object is MainBox, which has parent Topwindow, which has parent TopMostWindow.
I am mapping the name of MainBox. So it is mapped properly if i dont change the position of MainBox.
When i click certain menu on TopMostWindow, the MainBox is opened. But the position of this is not fixed. It is dockable.
So it depends on the docking , which parent it will have .
1. MainBox may have parent TopMostWindow
2. MainBox may have parent Topwindow, which has parent TopMostWindow
So i want to remove this dependency. I do not want the Parent attribute to be used while identifying the object thro named mapping.
Above case is sample case. In actual, there are many parent-child changes with my dialog boxes depending upon docking and the docking is not fixed.
I tried using the help given at "http://www.automatedqa.com/support/viewarticle.aspx?aid=12482" regarding Removing Identification Properties From Mapping ..But was not useful. I couldnt delete it. It deletes the tree node and not the property.
In short, is there a way to handle the dockable objects when the hierarchy changes depending upon the docked position?
Any video if available will be useful.
Thanks!
-Pankaj