Forum Discussion
4 Replies
- WambooCommunity Hero
Hi,
In my opinion, there's only one NameMapping file for the entire project.
What You can do is to switch te configuration for Your NameMapping repo.
- handanuContributor
I couldn't understand. I could reach objects in name mapping screen from keyword tests using rightclick (show object in Name Mapping editor) but also I want to reach keyword tests from name mapping screen.
Because sometimes my controls in the application could change.
For example "New" button, I use it in many keyword test. (We use WPF control automation ids.) And it takes place in name mapping area as "Button1" and with automation id "New_Button". Sometimes my tests fail because the Button property has changed. When I remap the button, it takes place in name mapping area as "Button2" and with automation id "NewColor_Button". I couldn't edit old one(because the warning "this object doesn't exist" so i couldn't update). I have to change old object in all these keyword tests with new object. At this stage I have to remember which keyword tests.
- tristaanogreEsteemed Contributor
Here's the thing... you don't need to remap the button every time, you can simply edit the properties of Button1 to match the new parameters. That would solve your problem across the board.
Related Content
- 2 years agoemexpium
- 5 months agoAvinash12
- 2 years agolia
- 2 years agoKrzysztofLach
Recent Discussions
- 47 minutes agojstaehlin
- 19 hours agoAivanitskiy
- 22 hours agonastester