cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Highlighted
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
[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

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
[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

View solution in original post

Highlighted
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??

Highlighted
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
[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
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors