Are Xpath attribute values case insensitive?
Posted: Thu Aug 11, 2011 4:17 pm
I was wondering if the attribute values are case insensitive, and if so can they be made sensitive?
For example, if I have an anchor with innertext "ABC" and I look for it as follows, will it find it?
Thanks,
Aracknid.
For example, if I have an anchor with innertext "ABC" and I look for it as follows, will it find it?
MyAnchor = ".//a[@innertext='abc']"And if it is case insensitive and the above works, how could I make it sensitive if I had 2 items, one with innertext "ABC" and one with innertext "abc", using the same code above, to find "abc" and not "ABC"?
Thanks,
Aracknid.