Hi,

I used the following script as startup script while learning WinRunner.

set_window ("Shell_TrayWnd", 1);
button_press ("start");
set_window ("Start Menu", 1);
obj_mouse_click ("All Programs", 102, 16, LEFT);
set_window ("BaseBar", 3);
toolbar_select_item ("ToolbarWindow32", "WinRunner;Sample Applications;Flight 1A");
set_window ("Login", 7);
edit_set ("Agent Name:", "abcd");
password_edit_set("Password:", "kzptnyoslzjsaz");
button_press ("OK");
win_wait_info("Flight Reservation","active",1,20);
win_move ("Flight Reservation", 588, 162);
This will be very helpful.