background image
<< Enhance your script with synchronization points | Replaying Java Vuser Scripts >>
<< Enhance your script with synchronization points | Replaying Java Vuser Scripts >>

Understanding Java Vuser Scripts

Creating Vuser Scripts
Chapter 25, page 426
Java Vuser Scripts · Creating Java Vuser Scripts
In
Understanding Java Vuser Scripts
When you create a Java Vuser script, VuGen records all of the context sensitive
actions you performed in your script. The recorded functions reflect the actions you
performed on your applet or application's objects.
In the following example, the user focused on the
periodic.html
window, set several
buttons, selected an item from a list, and dragged a scrollbar.
You can modify the functions in your script, or add additional functions to enhance
the script. For a list of the available functions, see the LoadRunner
Online
Function Reference
.
Actions()
{
set_window("periodic.html", 3);
button_set("Charge", ON);
lr_think_time(1);
button_set("Economy", ON);
lr_think_time(2);
list_select_item("Fly To:", "Barneveld");
scroll_drag("Seat", 65);
. . .