neither is valid i think that attributes must be inside [] and should look like eleme...@attr1 and @ATTR2]
On Dec 11, 12:16 pm, [email protected] wrote: > Would the following be valid (assume the xpath can be found)? > > 4) //descendant-or-self::d...@class="modContainer"]/descendant-or- > self::in...@disabled > 5) //descendant-or-self::d...@class="modContainer"]/descendant-or- > self::inp...@id="submitButton"]/@disabled > > Seems if we have multiple attributes, the @disabled cannot be append > to the xpath //descendant-or-self::d...@class="modContainer"]/ > descendant-or-self::inp...@id="submitButton"] > > Please let me know the results for the above two xpaths. > > Thanks, > > Jian > > On Dec 11, 9:41 am, Mikhail Koryak <[email protected]> wrote: > > > 1) not valid > > 2) valid > > 3) valid > > > On Dec 10, 9:23 pm, [email protected] wrote: > > > > Could you use XPather plugin to check which of the following xpaths > > > are valid? > > > > 1) //descendant-or-self::d...@class="modContainer"]/descendant-or- > > > self::inp...@id="submitButton"]...@disabled > > > 2) //descendant-or-self::d...@class="modContainer"]/descendant-or- > > > self::inp...@id="submitButton"] > > > 3) //descendant-or-self::d...@class="modContainer"]/descendant-or- > > > self::inp...@id="submitButton" and @disabled] > > > > Seems the xpath with the @disabled attribute is not valid in 1). > > > > Thanks, > > > > Jian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
