Results 1 to 7 of 7

Thread: Start up scripts in winrunner without Rec or Playback

  1. #1
    Moderator
    Join Date
    Oct 2005
    Answers
    305

    Start up scripts in winrunner without Rec or Playback

    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]


  2. #2

    Re: Start up scripts in winrunner without Rec or Playback

    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


  3. #3
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Start up scripts in winrunner without Rec or Playback

    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.

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  4. #4

    Re: Start up scripts in winrunner without Rec or Playback

    up to getting login for sample application, u make that as compile module and use it as startup script.


  5. #5
    Junior Member
    Join Date
    Dec 2006
    Answers
    10

    Re: Start up scripts in winrunner without Rec or Playback

    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


  6. #6
    Junior Member
    Join Date
    Dec 2006
    Answers
    10

    Re: Start up scripts in winrunner without Rec or Playback

    And also...there is another way ... than comiling module... just use invoke_application in startup script.... sure, you can have with this...

    prasad.gandra


  7. #7

    Re: Start up scripts in winrunner without Rec or Playback

    yes both are correct


  8.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact