0

I have HTML which looks like this:

<input type="text" name="USERNAME.DUMMY.DUMMY.1" value="" id="USERNAME.DUMMY.DUMMY" class="username" size="25" autocomplete="Off"> 

I am trying to insert text to this input element after loading it. Her is my Robot script:

Open Browser ${url} ${browser} Sleep ${wait} Input Text id=USERNAME.DUMMY.DUMMY ${text} 

But it is never able to find the ID. I have tried the same with class and name attributes but none of them work. This element is not under an iFrame.

Any help would be appreciated !

1
  • Check if the username field is inside a shadow element.
    – Pekka
    CommentedOct 20, 2021 at 13:07

1 Answer 1

0

Can you try

input text //*[@id="USERNAME.DUMMY.DUMMY"] 
1

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.