Specifies which verification function should be executed during replay.
WebAPI.bdh
WebSetVerificationEx( in nFlagVerify : number, in bOn :boolean, in nDifference :number optional );
Parameter | Description |
---|---|
nFlagVerify |
Specifies any combination of following flags:
|
bOn | If this parameter is set to TRUE, all specified verifications (by the nFlagVerify parameter) are enabled. If this parameter is set to FALSE, all specified verifications are disabled. |
nDifference | If the WEB_VERIFY_FLAG_DataDigest or WEB_VERIFY_FLAG_HtmlDigest flags are specified, this parameter defines the maximum number of digest entries that may differ to still match the verification (optional). |
const sDigest := "\h35e2fa05"; dcltrans transaction TMain begin WebSetVerificationEx (WEB_VERIFY_FLAG_Html | WEB_VERIFY_FLAG_Xml, true); WebSetVerificationEx(WEB_VERIFY_FLAG_Title, false); WebSetVerificationEx(WEB_VERIFY_FLAG_DataDigest, true, 10); WebVerifyHtml("Silk Performer"); WebVerifyTitle("Silk Performer - Home"); //not executed WebVerifyResponseData(sDigest, sizeof(sDigest)); WebUrl("http://www.MyCompany.com"); end TMain;