cancel
Showing results for 
Search instead for 
Did you mean: 

How could we see which tests the controls in name mapping take part in?

SOLVED
Occasional Contributor

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: How could we see which tests the controls in name mapping take part in?

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
[Community Expert Group]
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
Extensions available

View solution in original post

4 REPLIES 4
Community Leader

Re: How could we see which tests the controls in name mapping take part in?

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.

Occasional Contributor

Re: How could we see which tests the controls in name mapping take part in?

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.

 

Highlighted
Community Hero

Re: How could we see which tests the controls in name mapping take part in?

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
[Community Expert Group]
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
Extensions available

View solution in original post

Occasional Contributor

Re: How could we see which tests the controls in name mapping take part in?

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.