Winrunner : Write a program to count the number of items in a list box?

Questions by manojreddi

Showing Answers 1 - 5 of 5 Answers

Lakshmi

  • Apr 18th, 2006
 

Using list_get_item_count function we can count the items

  Was this answer useful?  Yes

mani

  • May 11th, 2006
 

Hi,

 To count no. of items in the list box ,use this function

list_get_info("Listboxname","Count",variable);

printf(variable);

  Was this answer useful?  Yes

surya

  • Sep 9th, 2006
 

hi

list_get_row_count() can return no of items in list 

  Was this answer useful?  Yes

subhra ranjan

  • Sep 15th, 2006
 

Using list_get_info and 'count' function we can able to get the number of items in a list

  Was this answer useful?  Yes

scott.dachishen

  • Dec 6th, 2006
 

folks you may want to fall in love with obj_get_info. Instead of managing all the class specifi get infor ( edit_get_info, list_get_info.....)

write a routine that accepts the element name and the property you wish to query. this will save you tons of mainenance and i am pretty confident that 80-90% of your class properties can be handled by obj_get_info....

winrunner has over 450 api/function chances are 70-80 percent of your core testing can be accomplished using 10-15

test automation is expensive enough look to make it cheaper not more costly....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions