Web Selector with dynamic ID

Hi, I’m struggling with a web based app where the fields that I need to enter data into seem to have dynamic IDs. During my first few tests, it seemed that only the 3rd digit of the four digit number varied, so I replaced it with a wildcard. As testing continued however, I found the number varied more significantly than I had originally thought. This is what I was using originally:

“webctrl id=‘ember42?9’ tag=‘INPUT’”

But I’ve found out the number varies too much. Using ??? or * does not help as (I think) it is picking up other items on the page and getting confused (technical term!).
Does anyone have any suggestions to get around this?

Many thanks,

1 Like

Try to find out different attribute in the selector using UiExplorer.

I am facing similar problem

Can you share a sample?

Hi Prankurjoshi,

i have recently posted a similar question @

How to handle selectors with dynamically changing web IDs?

please let me know if you cant see it. i will share you a sample here.

You should not be using ID attributes generally, use UiExplorer and try to get some reliable attributes. Try to use some relative elector activties

okay, i will try with that. thank you:)

Hi, when I posted originally, I didn’t really understand the UIExplorer. I’ve gone through the training again since and got much more reliable attributes.