Forum Discussion
14 Replies
- tandrewsOccasional ContributorGreat Dailog!
Colin I love your approach of simplifying the alias. However, how can I do that on a mass scale. I have over a hundred objects under ".tableModalformwrapper.". The name editor does not seem to let me move all of these objects at one time under ".pageMymome.".
Is there a way to move multiple objects at once? - Colin_McCraeCommunity HeroYou may have a point there.
It doesn't seem to let you drag down multiple objects. You select multiples, but when you then try and drag them down to the Alias area, it only take one.
I tend to map out an area of the application very carefully before I start working on it. I create the name maps initially, modify the identification properties and names so they are easy to identify and robust and then move the key parts into the Alias area.
So I tend never to be in a position where I'm copying huge lumps of name map in one go.
One thing I've learned after years of using GUI maps is to be VERY through in creating it in the first place. Make names meaningful (I seldom use the automatic ones) and ID properties robust. And in TC's case, make the Aliases as simple to work with as possible.
Maybe something to raise as an enhancement with SmartBear?
But for the moment, it looks like you'd have to do them one at a time. :( - Colin_McCraeCommunity HeroFurther thought ....
Maybe you can move the parent object to the alias file, and take all it's child items at the same time.
Then you can try:
1. Delete the parent. I think it may move all the child objects up the tree if you say not to delete those in the popup that comes up?
2. Move all the child objects to the same level as the parent in the Alias map, then delete the parent?
I don't want to play about with my own name map/aliases too much to test the above! - tandrewsOccasional ContributorStill struggling with re-mapping all the items inmy project. Deleting the parent only notified me that it would delete all of the children. It did not give me the option to delete parent only. To review I have had core layout changed that has effected all aspects of my automated regression/ testing. Example:
Aliases.browser.pageMymome.panelUiDialogUiWidgetUiWidgetCon.formForm0.tableModalformwrapper.selectDdlmissionarytype
Aliases.browser.pageMymome.panelUiDialogUiWidgetUiWidgetCon2.formForm0.selectDdlmissionarytype
No more "tableMotableModalformwrapper."
Change from panelUiDialogUiWidgetUiWidgetCon to panelUiDialogUiWidgetUiWidgetCon2.
I need to move multiple elements out of "tableMotableModalformwrapper"
I need to rename panelUiDialogUiWidgetUiWidgetCon.
How can I safely do this? I tried ctrl H and performing a search and replace but it did not seem to do anything.