Share this page

# Example: web.find

This example shows the user of find to confirm that the phrase "You may now add" is in the retrieved web page.

try

{

web.url("localhost",

"URL=http://localhost/",

new String[]{

"Resource=0",

"RecContentType=text/html",

"Mode=HTML",

"LAST"

});

web.find("Find String",

new String [] {

"expect=found",

"matchcase=yes",

"onfailure=abort",

"report=failure",

"repeat=no",

"what=You may now add"},

new String [] {"LAST"}

);

}

catch (Exception e) {}

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: