background image
<< Selects a range of cells | Creating a Java Vuser Script >>
<< Selects a range of cells | Creating a Java Vuser Script >>

Resizes a window

Java Vuser Scripts · Creating Java Vuser Scripts
Creating Vuser Scripts
Chapter 25, page 423
Window Object Functions
set_window
Specifies the window that receives subsequent
input.
win_close
Closes a window.
win_exists
Checks whether a window is displayed.
win_max
Maximizes a window to fill the entire screen.
win_min
Minimizes a window to an icon.
win_move
Moves a window to a new absolute location.
win_mouse_click
Clicks within a window.
win_mouse_dbl_click
Double-clicks within a window.
win_mouse_drag
Drags the mouse within a window.
win_resize Resizes
a
window.
win_restore
Restores a window from an iconized or
maximized state to its previous size.
You can further enhance your script with general LoadRunner functions such as
lr_output_message and lr_rendezvous. For information on using these
functions, see
Understanding Java Vuser Scripts
on page 426.