Trying to create XPath
for below string (string is in .properties file and picked up by framework for further identification.):
If you would like to change your answers or finish a section that doesn’t have a checkmark, click on “Change”.
Tried below XPath
:
CHANGE_ANSWER = xpath://ul/li[contains(.,concat('If you would like to change your answers or finish a section that doesn',"’", 't have a checkmark',",", ' click on ','“','Change','”','.'))]
Don't know what's exactly wrong.