//*[@id='post-9505']/h3/a/time
//*[@id='post-9466']/h3/a/time
//*[@id='post-9517']/h3/a/time
In this id number is changing continuously, so how can i write dynamic XPath?
please help me to write XPath for this !
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this community//*[@id='post-9505']/h3/a/time
//*[@id='post-9466']/h3/a/time
//*[@id='post-9517']/h3/a/time
In this id number is changing continuously, so how can i write dynamic XPath?
please help me to write XPath for this !
Same like posted here.
//*[starts-with(@id,'post-')]/h3/a/time
OR
//*[contains(@id,'post-')]/h3/a/time
try with other attributes which are not changing continuously.