NSeibert
15 years agoContributor
[Resolved] Case sensitive xpath result
Not sure what the approach here should be for my assertion
XPath Expression =
//html[1]/body[1]/div[2]/div[4]/div[1]/div[1]/form[1]/div[1]/div[2]/div[1]/table[1]/tbody[1]/tr[1]/td[2]/a[1]/text()
returns
00:00:00:00:01:B1
Expected Result =
${#Project#mac-addr} which evaluates to 00:00:00:00:01:b1
There are no options in the particular 'XPath Match Configuration' assertion to do a case insensitive compare. (IE The 'contains' assertion has this option.)
How might I make this comparison case insensitive?
Thank you for your help
XPath Expression =
//html[1]/body[1]/div[2]/div[4]/div[1]/div[1]/form[1]/div[1]/div[2]/div[1]/table[1]/tbody[1]/tr[1]/td[2]/a[1]/text()
returns
00:00:00:00:01:B1
Expected Result =
${#Project#mac-addr} which evaluates to 00:00:00:00:01:b1
There are no options in the particular 'XPath Match Configuration' assertion to do a case insensitive compare. (IE The 'contains' assertion has this option.)
How might I make this comparison case insensitive?
Thank you for your help