Any one help me how to write start up scripts, actually what does it contains, pls let me know briefly, to come up with true WinRunner coding, without Rec | playback.
Note : [This question was asked by Naveen, I am posting it in proper forum]
Any one help me how to write start up scripts, actually what does it contains, pls let me know briefly, to come up with true WinRunner coding, without Rec | playback.
Note : [This question was asked by Naveen, I am posting it in proper forum]
to start up script u start with script for browseing the application(open the applicaton u need to test) by using some script like open_window, set_window, set_browser
Hi,
I used the following script as startup script while learning WinRunner.
This will be very helpful.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);
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.
-sutnarcha-
up to getting login for sample application, u make that as compile module and use it as startup script.
yeah..you are right nandeesh. This compiled module is not executable programme..This is is the combination of user defined functions. Go like that sutnarcha..
prasad.Gandra
And also...there is another way ... than comiling module... just use invoke_application in startup script.... sure, you can have with this...
prasad.gandra
yes both are correct