cancel
Showing results for 
Search instead for 
Did you mean: 

textbox's mapping name is changing to another textbox's mapping name

SOLVED
Occasional Contributor

textbox's mapping name is changing to another textbox's mapping name

Hi all,

One textbox's(TB1) mapping name is changing to another particular textbox's(TB2) mapping name and viceversa. Whanever the test runs TB1 takes what it supposed to take but on the next step whatever the value supposed to enter on TB2 is getting entered in TB1 by overriding the first value.

What went wrong?

Please help me on this.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: textbox's mapping name is changing to another textbox's mapping name

lt sounds like your mapping criteria is not specific enough.  You need to edit the mapping criteria for the two textboxes so that they have a unique combination that identifies that object alone.  


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
Vegas Thrill Rider
Extensions available

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: textbox's mapping name is changing to another textbox's mapping name

lt sounds like your mapping criteria is not specific enough.  You need to edit the mapping criteria for the two textboxes so that they have a unique combination that identifies that object alone.  


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
Vegas Thrill Rider
Extensions available

View solution in original post

Occasional Contributor

Re: textbox's mapping name is changing to another textbox's mapping name

Thanks for the response.

But what are the recommended properties that are mostly unique. Like objectIdentifier, ID, Name??

Community Hero

Re: textbox's mapping name is changing to another textbox's mapping name

The best defaults are ObjectType and ObjectIdentifier.  But if that's not unique enough, you'll have to go looking through the properties.


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
Vegas Thrill Rider
Extensions available