How do I identify and send info to 2 different elements with the exact same info ?

1 element

<input type="text" autocomplete="off" value="" id="undefined-65738" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; position: relative; width: 100%; border: none; outline: none; background-color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0.870588); cursor: initial; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; height: 100%;">

2 element

<input type="text" id="undefined-21174" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; position: relative; width: 100%; border: none; outline: none; background-color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0.870588); cursor: initial; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; height: 100%; text-transform: uppercase;">

id is random

Comments

  • If I get it right you want to use a BuiltIn Keyword with the two elements, like Set Text. You can find them by their parents or ancestors, but at same level these two inputs have to be distiguished, for example, to distinguish them by their container you can use a xpath like '//input[ancestor::div[@id="input-1"]'
Sign In or Register to comment.