background image
<< Understanding Baan Vuser Scripts | Customizing Baan Vuser Scripts >>
<< Understanding Baan Vuser Scripts | Customizing Baan Vuser Scripts >>

performing an iteration on the entire script

Creating Vuser Scripts
Chapter 24, page 408
Baan Vuser Scripts · Creating Baan Vuser Scripts
In
You can add control flow logic to create loops within your script, instead of
performing an iteration on the entire script.
Note that you may need to parameterize statements, in order to avoid duplicating
data to a database. For more information, see Chapter 5,
Defining Parameters
.
for (loop = 0 ; loop < READLOOP; loop++)
{
set_window ("tccom1501m000 : Display Customers [550]", 30);
menu_select_item ("Edit;Find... Ctrl+F");
set_window ("Display Customers - Find", 300);
type ("100004");
lr_start_transaction("rses_find");
button_press0 ("F1_OK");
set_window ("tccom1501m000 : Display Customers [550]", 30);
obj_wait_info("Form 1","focused","1",100);
lr_end_transaction("rses_find", LR_PASS);
. . . .