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 purpose of set_window command?

0 Answers  


What is the purpose of regexp_msw_class property?

0 Answers  


why you are doing software testing, why testing necessary

2 Answers  


Where do we use Regular Expression? And what exactly Regular Expression means?

6 Answers   College School Exams Tests, JVS,


How will u find Automation Test cases and how to find regression test cases?

4 Answers   TCS,






whats spiral testing. give example

1 Answers  


plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?

0 Answers  


Name the two modes of recording?

0 Answers  


How to know the on which OS and version the application is running through script in winrunner?

1 Answers   Accenture,


What is the difference between a Defect & an Error?

3 Answers  


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

0 Answers  


Which is the default Record Method for Static Text Object?

8 Answers   Accenture,


Categories