Web control id

Hi,
I am trying to automate a web page. The selectors show “web control parentid” with a combination of letters and numbers. For example, <webctrl parentid=‘abc123…’ . Is this okay to replace this parentid = ‘‘. In general I tend to replace idx=‘2’ etc with idx=’’. Does web control parent id work the same way?

Many Thanks,

Hi @cury

I don’t recommend to use * in that instead you can use a variable there , but i haven’t used variable in the parentid

Can you tell why are to trying to use parentid and a wildcard in it instead you can use other attributes in it like class, innertext,etc something like this

Regards
Sudharsan