Applies
to:
Web object
Description:
Navigates to a local path or online URL (Unified Resource Locator) and
opens the corresponding web page.
Parameter: URL or absolute or relative
path to a file.
Parameter format:
URL: any
URL path information
Example
URL: www.browserbob.com
Relative
file path: path to the file, seen from the working directory of
your BrowserBob application (where the application.exe is executed).
Example
parameter: <_currentdir_>\Additional\startpage.html
Explanation: <_currentdir_>
(the placeholder for the app's working directory)
\Additional\startpage.html (path
to the file)
This
parameter will open startpage.html in the web window. This applies to
files that have been added to your project under View->Additional
files. Relative file paths will also work without adding the files
to your project, given that you know the exact path to the respective
file seen from the working directory of the application.
Absolute file path (local or network path):
full path to the file.
Example parameter: C:\infopage.html
(local filepath)
\\SERVERNAME\C\infopage.html (network
path)
Important note: if you want to enter
paths to files which will be delivered with your application as additional
files (packed into your program package), you should add these files to
your project first as additional files, and then select relative paths
to these files from the parameter selection button.
This will enable you to test your relative
paths in testmode, as all files added under additional files will be copied
into a temp folder when you test your project.
|