How to set a value in to a data table from the script in
winrunner?



How to set a value in to a data table from the script in winrunner?..

Answer / suresh

use ddt_set_val function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

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); >

0 Answers  


Explain the difference between gui map and gui map files?

0 Answers  


Suppose there is a global variable called Counter.And there is a user defined function called my_function.which does not take in any parameters. How can a test engineer utilize Counter inside my_function body?

1 Answers   FCG,


What is the definition of function?

1 Answers  


What are the functions generate when u use GUI Check point?give me some of ones?

4 Answers   Second Foundation,






What is Data Driven TEsting?

16 Answers   ADP, Sonata,


What is the purpose of set_window command?

0 Answers  


Name the different modes of recording?

0 Answers  


which is the latest version in Winrunner

6 Answers  


list out the some of the exceptions list usually occur while recording and playing the script.

1 Answers  


If the object does not have a name then what will be the logical name?

1 Answers  


what is the file extension for object in AUT captured by WR

1 Answers  


Categories