I have recorded a test on a page. However, on execution noticed that a step failed due to an element not being located . This might be because of randomly generated element ID’s. Is there any way to rectify this issue?
This can indeed be caused by randomly generated site element ID’s, for cases such as this, I can recommend creating general locators such as XPATH that will be able to locate the element regardless of the changing ID, you can view an example here:
Thank You, It works.