xpath question
Hi, I have multiple radio elements that are similar but some have one tag that is different (please see the tag in bold)...
<input id="yesNoRadio" class="yesNoRadio" type="radio" disabled="" data-radio-type="yes-no-radio" name="question-id-9477" data-question-id="4548" data-checklist-question-id="9477" data-comments-required="false" data-comment-on-answer="ALWAYS" value="NO">
<input id="yesNoRadio" class="yesNoRadio" type="radio" data-radio-type="yes-no-radio" name="question-id-7129" data-question-id="124" data-checklist-question-id="7129" data-comments-required="false" data-comment-on-answer="ALWAYS" value="NO">
.. relative xpath that I am using is as follows..
//input[@id='yesNoRadio' and @value= 'NO']
... and I do not want any radio element with the disabled="" tag, how can I have it excluded with the xpath? Thanks.
Please sign in to leave a comment.