I am not able to locate an element with Id locator

I am not able to locate an element with Id in the locator but I can locate the same element without id in the locator, Can anyone tell me why?


It’s possible the id is dynamic. This means the the id changes every time the application launches.

Test it out. Start the application again and see if the id for the email input is exactly the same as you have above.

Edit: it’s also possible that you have too many attributes selected to identify the email input besides just the id and any one of those are not the same as when you first selected the input into the OR. If you have more than just the tag and id selected for your identification of this element, then unselect all others except the two.

2 Likes