what is the tsl statement for selecting the position of
item in list box in winrunner?
Answers were Sorted based on User's Feedback
Answer / sriharsha
list_select_item i think this is it...
if m wrong plz correct me
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
Can anyone tell me the real usage of compiled modules and user defined functions stating real time example
what is the basic knowledge required to work in BFSI domain ?
7 Answers HCL, Nucleus Software, Standard Chartered,
Is it Winrunner supports All web based applications?If supports how extention?
What is the use of Merge option provided in WR
What is the use of test director testing tool?
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); >
If the data is stored in Excel sheet(2nd and 3rd), how to access it for Data Driven test; Ex: table = "c:\demo.xls" How to access 2nd or 3rd sheet data id demo.xls flie.
What are the synchronization points?
Where exactly testing comes in to picture in S.D.L.C?
What information is contained in the checklist file and in which file expected results are stored?
what is qtp licence
Hi,please help me out with my ques:in winrunner the object will be reconzined in the form of label or class.