Marks the beginning of a page that is loaded by low-level web functions. It waits for all running threads (WebThreadWait) and starts a page timer. The next WebUrlBeginPage or WebUrlEndPage function call with a different timer name or without a timer name stops the timer.
This function is generated by the Recorder if the automatic page detection option is selected in the Recording tab of the Web category in the Profile Settings dialog.
WebAPI.bdh
WebUrlBeginPage(in sTimer: string optional): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sTimer | Name of the timer for page measurements (optional). If this parameter is omitted, no measurements are performed. |
dcltrans transaction TMain begin WebUrlBeginPage("ShopIt"); WebUrl("http://lab3/shopit/banner.gif"); WebFormPost("http://lab3/shopit/product.asp", SHOPIT_PRODUCT_ASP002); WebUrl("http://lab3/shopit/pic.gif"); WebUrlEndPage(); end TMain; dclform SHOPIT_PRODUCT_ASP002: "code" := "2";