Forum Discussion
OK... are you doing this editing in the Mapped Objects panel or the Aliases panel? It does make a difference.
Also, are you using the "Extended Find" option on any of these objects?
Basically, here's what I would do...
1) At this point in time, if there's no "problems" with mapping and extra panels, I wouldn't change anything in the Mapped Objects panel. That can be left exactly the way it is.
2) In the Aliases panel, drag the "Cell" object to be a child of the "Screen" object. You'll now have something that looks like
- Screen
- Cell
- Panel
- Table
-Table
3) Right click on "Panel" and select Delete.
4) There will be a prompt that will say something about "Do you want to delete this alias and it's child aliases?" Say Yes
5) There will be ANOTHER prompt that will ask if you want to delete the mapped items as well... say NO.
So... Mapped objects will still have the original hierarchy... but Aliases will now simply have
- Screen
- Child
And that's what you'll use in your test cases.
Just to explain... there are two layers to NameMapping... There's the Mapped Objects which is the actual configuration for finding and identifying objects (see my previous response to you describing how that works). Then there's Aliases. Aliases are a way of translating the Mapped Objects into something that is more usable. As you said, you don't care, really, about all the panels and tables. They can still be present for identification but you can adjust your Alias to be more meaningful to you.
Okay, i see my issue, i was saying yes yes. The other issue is that I want my mapped objects to be as clean as my aliases, but i suppose I can work with that. :) Thank you
- tristaanogre8 years agoEsteemed Contributor
To make the mapped objects look like your aliases, you'll need to do a bunch of rework of the Aliases... What I would do is, in the Aliases, delete EVERYTHING from Panel on down, including Cell, and make sure you select "No to all" on the second prompt. Then, in the Mapped panel, make sure you check the "Extended Find" checkbox beside the Cell item. Then, drag Cell to be a child of Screen in the Mapped panel. Then, in Mapped Objects, delete the Panel and all children. Now, drag the Cell from the Mapped Objects Panel down to the Screen item in the Aliases panel.
But, honestly, that's not necessary. The Mapped Objects panel can reflect 100% of all your objects in your application but then, as noted, you can use the Aliases panel to make things more meaningful and useful. Then, if necessary, add the "Extended Find" check mark if the developers change things.