unable to get item from the combobox using descriptive
programing. can any one give me the peice of code to
schedule the booking from one place to another using
DESCRIPTIVE PROGRAMING.



unable to get item from the combobox using descriptive programing. can any one give me the peice o..

Answer / amarendra kothuru

Use GetROProperty to retreive the selected item from
Combobox

E.g.
val = Broswer().Page().WebList().GetROProperty("value")

If it is WinComboBox, use the below code
val = Window().WinComboBox().GetROProperty("text")

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

in qtp how can we do test when the build is not ready

3 Answers   Mindlance,


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

2 Answers  


we have 10 automation scripts. how to call them from one main script.

2 Answers  


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

0 Answers   Value Labs,






Whenever we r keeping mouse pointer under the image we r getting image name. In qtp how can we do this thing.weather that name is coming or not?

5 Answers  


How to call a function in QTP?

4 Answers  


can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...

1 Answers   FSS,


How to find local host name using QTP?

6 Answers  


how can i prepare for QTP(8.2) to face interview ? give over view details?

52 Answers  


what is the difference between window command and dialog command

1 Answers  


What is Associate Repository in QTP 9.2 ?

0 Answers  


Categories