How could we see which tests the controls in name mapping take part in?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How could we see which tests the controls in name mapping take part in?
Hi,
Is there a way to show which tests the controls in name mapping take part in?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could update some changes for example intelligent fix recommend which properties need to update, but some of them i couldn't update. Propety page open but nothing in it. Even so I will try again editing properties when i encounter this problem.
I will let you know. Thank you.
