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

Answer Posted / sri satya

Hi
You can use this:
Count =Browser("title:abc").Page("title:abc").WebList
("name:=xyz").GetROProperty("items count")
msgbox Count

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to customize checkpoints with parameters?

3011


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1496


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

974


in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

6304


In qtp, how you can remove the spaces from string?

536






How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

1835


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

1815


Is qtp supports uni-code?

600


is there any addin for remedy user application

1731


What is the quicktest professional (qtp) testing process?

559


Output values? i want a practical example

1300


Explain different type of event trigger option.

528


i can done the project with QTP in that time i can say how many members in my team size?

1355


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2414


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1577