尝试为下面的字符串创建XPath
(字符串位于.properties文件中,并由框架选取以进一步识别。):
If you would like to change your answers or finish a section that doesn’t have a checkmark, click on “Change”.
在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','”','.'))]
不知道究竟是什么错误。