Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

...

这个工具通常是从 XML 消息的创建/更新回归控制对话框中添加的(通过选择创建值断言选项)。有关以这种形式添加 XML 断言器的详情,请参阅对单个响应元素的值进行验证Validating the Value of an Individual Response Element。 
 




它还可通过添加输出向导添加,如添加测试输出Adding Test Outputs中所述。

 

配置 XML 断言器

XML 断言器主要包含三个选项卡:

...

namespace-uri(.)=""][child::node()[local-name(.)="title" and text()="${XPath Key}"]]

Scroll pdf ignore

视频教程

在本视频中,您将学习如何在 XML 响应中为值添加目标断言。

vimeo
Widget Connector
width
600
URLurlhttps://playerwww.vimeoyoutube.com/video/124438742watch?v=T2pqiwb59qs
height400

相关教程

以下教程演示如何使用此工具: