Geeks Talk

Prepare for your Next Interview




Start up scripts in winrunner without Rec or Playback

This is a discussion on Start up scripts in winrunner without Rec or Playback within the WinRunner forums, part of the Software Testing category; 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. ...


Go Back   Geeks Talk > Software Testing > WinRunner

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-12-2006
Moderator
 
Join Date: Oct 2005
Posts: 711
Thanks: 1
Thanked 98 Times in 74 Posts
Lokesh M is on a distinguished road
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]
Reply With Quote
The Following User Says Thank You to Lokesh M For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 12-20-2006
Junior Member
 
Join Date: Oct 2006
Location: bangalore
Posts: 17
Thanks: 0
Thanked 3 Times in 3 Posts
nandeesh.keelara is on a distinguished road
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
Reply With Quote
  #3 (permalink)  
Old 12-20-2006
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 520
Thanks: 1
Thanked 53 Times in 45 Posts
sutnarcha is on a distinguished road
Re: Start up scripts in winrunner without Rec or Playback

Hi,

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

Quote:
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-
Reply With Quote
  #4 (permalink)  
Old 12-20-2006
Junior Member
 
Join Date: Oct 2006
Location: bangalore
Posts: 17
Thanks: 0
Thanked 3 Times in 3 Posts
nandeesh.keelara is on a distinguished road
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.
Reply With Quote
  #5 (permalink)  
Old 12-23-2006
Junior Member
 
Join Date: Dec 2006
Location: Hyderabad
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
gandra.2006 is on a distinguished road
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
Reply With Quote
  #6 (permalink)  
Old 12-23-2006
Junior Member
 
Join Date: Dec 2006
Location: Hyderabad
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
gandra.2006 is on a distinguished road
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
Reply With Quote
  #7 (permalink)  
Old 12-25-2006
Junior Member
 
Join Date: Oct 2006
Location: bangalore
Posts: 17
Thanks: 0
Thanked 3 Times in 3 Posts
nandeesh.keelara is on a distinguished road
Re: Start up scripts in winrunner without Rec or Playback

yes both are correct
Reply With Quote
The Following User Says Thank You to nandeesh.keelara For This Useful Post:
Reply

  Geeks Talk > Software Testing > WinRunner


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Redg Winrunner scripts rajuireland WinRunner 3 06-14-2007 04:41 AM
Steps to start testing Lokesh M Testing Issues 4 12-14-2006 01:32 AM
start an application before testing harsha_trp Testing Issues 1 11-26-2006 01:57 PM
What are Test scripts mermathon Testing Issues 1 10-05-2006 02:58 AM


All times are GMT -4. The time now is 06:29 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved