Forum Discussion

Tejaswi's avatar
Tejaswi
Occasional Contributor
5 years ago
Solved

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.

  • 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.  

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    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.  

    • Tejaswi's avatar
      Tejaswi
      Occasional Contributor

      Thanks for the response.

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

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

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