write a qtp code to display all the items in the fly from
combo box or list box




Answers were Sorted based on User's Feedback



write a qtp code to display all the items in the fly from combo box or list box..

Answer / mudaseer

msgbox window("flight reservation").WinComboBox("Fly
From:").GetContent

Is This Answer Correct ?    4 Yes 2 No

write a qtp code to display all the items in the fly from combo box or list box..

Answer / prakash

msgbox window("flight reservation").WinComboBox("Fly
From:").getroproperty("allitems")

Is This Answer Correct ?    3 Yes 2 No

write a qtp code to display all the items in the fly from combo box or list box..

Answer / pramija

n= window("flight reservation").WinComboBox("Fly
From:").GetContent
print (n)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer



More QTP Interview Questions

how to merge object repositories in qtp for n different applications

1 Answers  


What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


how to calculate no. of repeating characters in a a string..please give me the code

14 Answers   CTS, Hexaware,


Which is the best testing institute for QTP training in Hyderabad.

25 Answers   Wipro,


There are 4 webpages in an application, in third page there is one cancel button i want to click that cancel button only, how can I click that cancel buttton ?

4 Answers   Wipro,






how can we call an external library file in QTP apart from using the Executefile statement..?? is there any other way we can call the external library file in QTP..??

1 Answers   DST Global Solutions,


Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP

1 Answers   HP,


How to fetch web elements count from Google Page which contains letter "e"

4 Answers  


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

1 Answers   IBM, INCA,


how do we add a new sheet to data table in QTP?

7 Answers   TCS, Wipro,


Is there a function to find the number of occurrences of sub strings within a string?

1 Answers  


Difference between object identification and smart identification

2 Answers   Wipro,






Categories