what is the tsl statement for selecting the position of
item in list box in winrunner?

Answers were Sorted based on User's Feedback



what is the tsl statement for selecting the position of item in list box in winrunner?..

Answer / sriharsha

list_select_item i think this is it...
if m wrong plz correct me

Is This Answer Correct ?    0 Yes 0 No

what is the tsl statement for selecting the position of item in list box in winrunner?..

Answer / allin

Hi Sowmya,
List_get_item_num("","",number);
This function returns the numeric position in a list of an
item
arg1 is the list name
arg2 is the item string
arg3 is the returned item number.


Ratna Rao,
9833847339.

Is This Answer Correct ?    0 Yes 0 No

what is the tsl statement for selecting the position of item in list box in winrunner?..

Answer / rajesh

list_get_item_info();
contains 4 parameters.i.e.list,item,state,output value
it returns the state of a list box

Is This Answer Correct ?    0 Yes 0 No

what is the tsl statement for selecting the position of item in list box in winrunner?..

Answer / r. sugumar, 9751004657

list_select_item ( list, item [,button [, offset ] ]);
list - logical name
item - selected item
button, offset optional.
------------------------
list_get_item("list",0,lvalue); used to count the list box
values.
list - list's logical name.
0 - which value u want to get
lvalue - variable, to store value of 0th position
--------------------------------------------------
list_get_items_count("list",outval);
list - logical name of the list box
outval - variable used to store the output value
------------------------------------------------

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

what is the name given by WR to Microsoft excel file

2 Answers  


What is the difference between STATIC FUNCTION & STATIC?

2 Answers   Fidelity, Satyam,


what is add-in manager in WinRunner?

2 Answers  


what is the difference between bitmap checkpoint and image checkpoint

1 Answers   Ness Technologies,


What is test parameter

0 Answers   Infosys,






what is the automation framework?

1 Answers  


how to download jmeter from net,is it open source

1 Answers  


How to fetch a value which is in a particular cell in a html table?

1 Answers   BeBo Technologies,


My husband had stampped h1b visa and was valid for another 1year. problm is that he lost his pasport in travelling and we got new one in tatkal scheme. and so we applied for restamping and my dependent (h4)visa. As per immigration team petition will be the same only stamping has to b done.. what questions will they ask and what are the chances to get it aproved?? pl reply

1 Answers  


what is software metrics

1 Answers   IBM,


is 'tech' is a Reserved word in WinRunner or not?

1 Answers   FCG,


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  


Categories