Title Verification

Title verification offers a simple, automatic means of checking to see if applications return correct Web pages. When retrieving HTML documents, the Recorder can automatically generate title verification functions for each page-level Web API call or low-level Web API call.

Note: Title verification does not work when HTML page titles (contents of the <TITLE HTML> tags) are not set, or when they share common names.

Title Verification

transaction TMain
begin
  ...
  WebVerifyHtmlTitle("ShopIt - Greetings", WEB_FLAG_IGNORE_WHITE_SPACE | 
    WEB_FLAG_EQUAL | WEB_FLAG_CASE_SENSITIVE, 1,
    SEVERITY_ERROR, bVerifyTitleSuccess1);
  WebPageUrl("http://myHost/shopit");