background image
<< Controller executes a Vuser script | This enables the Vuser host to access the script >>
<< Controller executes a Vuser script | This enables the Vuser host to access the script >>

Using Relative Paths for Vuser Scripts

Creating a Scenario Creating a Script List
LoadRunner Controller User's Guide (Windows)
Chapter 6, page 114
In
Using Relative Paths for Vuser Scripts
When you specify the location of a Vuser script, you can specify a relative location.
The location can be relative to the current scenario directory, or the LoadRunner
installation directory.
You can specify a path relative to the current scenario directory by typing either of
the following notations at the start of the script path:
.\
indicates that the path is relative to the location of the
scenario directory.
..\
indicates that the path is relative to the location of the
parent directory of the scenario directory.
For example, if the current scenario is located at F:\scenarios, to specify a script
located at F:\scenarios\scripts\user.usr, you could type:
You can specify a path relative to the LoadRunner installation directory by typing a
percent sign (%) at the beginning of the script path. For example, if the
LoadRunner installation directory is located at F:\LoadRunner, to specify a script
located at F:\LoadRunner\scripts\user1.usr, you could type:
.\scripts\user1.usr
%\scripts\user1.usr