Forum Discussion
You can build a string that is the whole path of the required child, starting with the parent page, then adding in the id, then adding the desired object name on the end. Then use eval(MyString) as the object to search for. That will give you the specific object on the specific page.
Marsha,
We appreciate the suggestions how to rememdy via a script. The orginal question was if we could do it via name mapping.
Can we do it via mapping or do we have to script? If via mapping, how is that done?
- Marsha_R6 years agoChampion Level 3
You can't "require" anything in a name mapping. It's a tree construct that shows how your objects relate to each other.
If you have objects that have similar names in the mapping, then you can use the Alias feature as I mentioned before to give them unique names and use those names in your test instead of the mapped names.
If you don't want to use Aliases, then you can construct the specific name each time as I suggested and then you will access exactly that object and not a similar one on another page.
Related Content
Recent Discussions
- 3 days agovladd1