write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?



write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. ..

Answer / sandhya

Browser().page().weblist().getroproperty("items count")
here we use items count property to find the count in a drop
down list

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?

1 Answers  


Hi Friends, Can you please answer these questions of QTP Certification? 1.) What are bitmap checkpoints sensitive to? A. Image size and object type B. Object type and image type C. Screen resolution and object type D. Screen resolution and image size 2.)What are the phases in the QuickTest workflow? A. Plan, Record, Enhance, Run B. Prepare, Record, Verify, Run C. Plan, Create, Verify & Enhance D. Prepare, Create, Verify & Enhance, Integrate 3.) What are the two most commonly used ADO objects? A. Fields B. Execute C. Connection, RecordSet D. Open, ConnectionString 4.)What options are available to filter objects in the Target Object Repository pane when merging object repositories? A. Show all objects or Show only objects with conflicting object types B. Show all objects or Show only objects with conflicting descriptions C. Show only objects with conflicting logical names or Show only objects with conflicting object types D. Show only objects with conflicting logical names or Show only objects with conflicting descriptions 5.)Which of the following is an example of a missing resource? A. An object B. Run Results C. A Regular Action D. An External Action 6.)What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value 7.)In VB Script functions, which one is false among the following a. Variables must be declared before use b. Variables may not be declared before use c. Variables may be declared without data types None

2 Answers  


What is Step generator in qtp? wt is the use? can u any body explain me? plz

1 Answers  


How to Test Dynamic links ?

4 Answers   Wipro,


What is the meaning Work bench?

0 Answers  






How will u integrate oracel with QTP?

2 Answers   Microsoft,


Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???

1 Answers  


Tell me Three major differences between QTP & Winrunner?

2 Answers  


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

0 Answers  


I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  


How to pass parameters into an action.Please explain me with examples

5 Answers  


w is descriptive programming

2 Answers   TCS,


Categories