Failed to select the web input element by Name attribute

selector
selection

#1

For a particular web page , there is no id attribute for input box. Thus the UI path selector is not able to find the input box. I don’t have control over the webpage to put the Id attribute for each web control. Is there any way to select the input box with name attribute.
I tried following thing :

"webctrl name=‘txtUserName’ tag=‘INPUT’ "

but this one also failed to select the input box.


#2

Hi @alhad_alsi,

Try this

<html title='*' />
<webctrl name='txtUserName' tag='INPUT' />

Regards,
Arivu


#3

Not working for me.


#4

Hi @alhad_alsi,

Which website are you trying.

use UiExplorer to get the exact selector.

Regards,
Arivu