Forum Discussion
3 Replies
- YMinaev
Staff
Hi,
There're two ways to do this:
1. Change the recorded names in the Name Mapping editor (see the "Name Mapping Editor" help topic) and modify your script.
2. Map your objects manually before recording (see the "Name Mapping - Overview" help topic). - testcompleteOccasional ContributorHi,
I want to replace the full description with a single custom name. Is that possible? if possible how?
Eg:
Object description
Aliases.Printgroove_POD_Ready.HwndSource_CPGRMainWnd.CPGRMainWnd.grManinWindowGrid.sbEuropaStatusBar.StatusBarItem1.btnStatusPage.VisibleOnScreen
I want to replace
"Aliases.Printgroove_POD_Ready.HwndSource_CPGRMainWnd.CPGRMainWnd.grManinWindowGrid.sbEuropaStatusBar.StatusBarItem1.btnStatusPage" to "EuropaStatusBar" (single name) using name mapping
then code becomes:
EuropaStatusBar.VisibleOnScreen - YMinaev
Staff
Hi,
You can drag aliases in the Name Mapping editor to any hierarchy level you need. See the "Changing the Mapped Objects' Hierarchy" and "Name Mapping Editor" help topics.