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 |
What is the purpose of set_window command?
What is the purpose of regexp_msw_class property?
why you are doing software testing, why testing necessary
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?
whats spiral testing. give example
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
Name the two modes of recording?
How to know the on which OS and version the application is running through script in winrunner?
What is the difference between a Defect & an Error?
How to have winrunner insert yesterdays date into a field in the application?
Which is the default Record Method for Static Text Object?