Verification Functions for XML Applications

XML verification functions verify the values of specified XML elements and attributes (which are identified by XPath queries) during test runs. XML verification functions are inserted by right-clicking within the Rendered page.

TrueLog Explorer offers the following XML verification functions:
  • WebXmlVerifyNodeValue - Checks a selected element’s value. This function is generated when Verify Element Value is selected from the XML tree-control context menu.
  • WebXmlVerifyNodeAttribute - Checks a selected attribute’s value. This function is generated when Verify Attribute Value is selected from the XML tree-control context menu.

Verification Checks During Replay

Verification functions can be enabled/disabled via Silk Performer profile settings. From within Silk Performer, choose Settings > Active Profile , then choose Replay > Web > Verification > HTML > XML .

The XML Verification check box enables/disables the functions WebXmlVerifyNodeValue and WebXmlVerifyNodeAttribute.

Profile settings in scripts can be overridden using the WebSetOption BDL function.