Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

How do you create a startup script in winrunner and what is
consists generally?

Answer Posted / bhuvan

start up script is creating in
c:\Program files\Mercury interactive\ Winrunner\data\my init

In this file we have to place what we require to keep the
statements.

There will be
Invoke_applcation() statement
loading gui map file GUI_load()
Gui map configuation statements
load statements for compile modules.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the three modes of running the scripts?

218


by useing qtp where the maximum people feeling difficult

987


Why don’t we normally load the gui maps through start up scripts?

249


Welcome link is dynamic. How do you handle? What is your approach and write script.plz send answer

1223


What is the usage of Test case Design Techniques,in Integration/System Testing?

1581






How to have winrunner insert yesterdays date into a field in the application?

191


When it is appropriate to change physical description?

246


Where do you found that you can't use winrunner for automation?

1231


i get error "winrruner cannot identify object" and gives details like the physical description of object "windowsFor....378734a_11" has changed descritpion in GUI map new discription Description { { class:object class:object Msw_id:264896 Msw_id:918548 } } Below is a script of functionality where amount is transfered from users account ,first contact summary of user is opened then transfer button is available on which we click .on clicking transfer form opens and various details are entered like amount to be transfer,transfer type .line where i m getting error is obj_mouse_click ("WindowsForms10.Window.8.app have marked it with red in script .0.378734a", 164, 10, i would be very thankful if anyone can give help related to this problem. *SCRIPT IS BELOW:-* > # Shell_TrayWnd > set_window ("Shell_TrayWnd", 1); > toolbar_button_press ("ToolbarWindow32_1", "Contact summary - > Scheme: > SCHEME CARD PROGRAM (admin - Local - V.1.8.2.0000)"); # Button Number > 3; > > # Contact summary - Scheme: SCHEME CARD PROGRAM (admin - Local - > V.1.8.2.0000) > set_window ("Contact summary - Scheme: SCHEME CARD PROGRAM (admin - > Local - V.1.8.2.0000)", 1); > obj_mouse_click ("CommandBar1", 437, 15, LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 1); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a", 164, 10, > LEFT); > > # #32769 > set_window ("#32769", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_0", 138, 9, > LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_1", 166, > 13, LEFT); >

1209


When would you use 'set_window' and when would you use 'win_activate'?

301


Write test scripts on a scenario where you have to transfer data from one table to another.

1194


Where did you learn winrunner and testdirector?

267


What is the difference between writing a function and writing a script?

277


How do you make the configuration and mappings permanent?

201


Are there any suitable free tools to conduct performance test on a php web application?Manual or automation which is preferable for such kind of application? please answer ASAP

1327