Navigates to a specified URL.
BrowserAPI.bdh
BrowserNavigate( sUrl : in string,
sTimer : in string optional ): boolean;
| Parameter | Description |
|---|---|
| sUrl | The destination URL. |
| sTimer | Optional: Name of the timer used for page measurements. If this parameter is omitted, no measurements are performed. |
true if successful
false otherwise
benchmark SilkPerformerRecorder
use "Kernel.bdh"
use "BrowserAPI.bdh"
dcluser
user
VUser
transactions
TInit : begin;
TMain : 1;
var
dclrand
dcltrans
transaction TInit
begin
end TInit;
transaction TMain
begin
BrowserStart(BROWSER_MODE_DISPLAY_VISIBLE, 800, 600);
BrowserNavigate("http://demo.borland.com/"); // navigate to demo.borland.com
end TMain;