How can i count the list box elements in QTP ?using script
plz explain me (Chandana)

Answer Posted / minni

u can use GETITEMCOUNT to count the items in a list
box.For an example see the below script.

msgbox Window("flightreservation").Wincombobox
("flyfrom:").getitemcount

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

your coming from electrical backgroung..but y ur coming to software side?

1558


Tell me about your project? please help me how to tell about insurance project

1769


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1440


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1846


Suggest and Define a solution for an application whose objects are not recognized by UFT?

867


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1695


What is smart identification in QTP?

825


How can you identify the browser and its information using QTP script?

760


What is expert view and keyword view?

848


In Remote acess server how u run a test?

1455


Why we load add-ins in qtp?

834


Does quicktest professional (qtp) is unicode compatible?

749


Can we run multiple QTP scripts one after the other without manual intervention? How?

781


How will you report the bug and explain the defect tracking sheet you handled?

2785


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1735