In this id number is changing continuously, so how can i write dynamic XPath?

please help me to write XPath for this !

  • 1
    Please do some search before asking.
    – Alexey R.
    Commented Feb 9, 2018 at 11:03

1 Answer 1


Same like posted here.




try with other attributes which are not changing continuously.

  • 1
    This is only my humble opinion but answering obvious duplicates encourages people not to put effort to the questions quality which in turn decreases the overall quality of our community.
    – Alexey R.
    Commented Feb 9, 2018 at 12:03
  • It is better to adhere the rules posted here: sqa.stackexchange.com/help/how-to-answer.
    – Alexey R.
    Commented Feb 9, 2018 at 12:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.