Share this page

# Example: web_global_verification_pause and web_global_verification_resume

In the following example, web_global_verification checks for "text1", "text2", and "text3". web_global_verification_pause and web_global_verification_resume suspend checks selectively for segments of the script.

    web_global_verification("Text/IC=text1", "Fail=NotFound",
        "ID=text_1_verify", LAST );

    web_global_verification("Text/IC=text2", "Fail=NotFound",
        "ID=text_2_verify", LAST );

    web_global_verification("Text/IC=text2", "Fail=NotFound",
        "ID=text_3_verify", LAST );

    /* For this call, the check will be performed for all the above global verifications. */

    web_url("Search for 1_2_3", "URL=...", LAST );

    ....

    web_global_verification_pause("ID=text_3_verify", "ID=text_1_verify", LAST);

    /* For this call, the check will be performed only for global verification text_2_verify. The others are suspended.*/

    web_url("Search for 2 only", "URL=...", LAST );

    web_global_verification_resume("ID=text_3_verify", LAST);

    /* For this call, the check will be performed for global verification text_2_verify and text_3_verify. text_1_verify is still suspended.*/

    web_url("Search for 2 and 3", "URL=...", LAST );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: