Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I changed xml path like below. But it gives invalid xml path type of error

verifyAttribute //meta[@name='description'] and @content 'Rent Vacation Rentals direc'

enter image description here

share|improve this question
up vote 1 down vote accepted

Now it's working by this code

verifyElementPresent //meta[@name='description' and @content='Content']

share|improve this answer
Accept your answer yourself please, to make it answered. Thanks! – Dmitry Cheremushkin Jun 28 '14 at 12:22

Try the following solution:

<td>'Rent Vacation Rentals more than 250,000 vacation properties.'</td>
share|improve this answer
Why? And the original poster has the AND within the [ ], think your "instead of" is wrong :) – Niels van Reijmersdal Jun 25 '14 at 16:32
You're right, thanks. I've corrected the answer. – Dmitry Cheremushkin Jun 25 '14 at 17:58

Your Answer


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

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