How to handle Dynamic ID on which every login the ID is changing

How to handle Dynamic ID on which every login the ID is changing

Hi in the above attachment the marked one is changing every time they login.

Default Asked on November 18, 2015 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    use class instead, or try this .//a[contains(@id,’subJClass’)] for handling dynamic xpath’s.

    Default Answered on November 19, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.