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

How to handle Dynamically changing Objects in QTP?

4 Answers  


i'm using QTP 8.2. A person using QTP 9.0 sends me a QTP TestScript, same when i try to open , an error comes "unexpected file format". Why?? and how to resolve the problem??

2 Answers  


hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable

4 Answers   Livetek,


What is difference between version 6.5 and 8.2 in QTP?

0 Answers  


What is the extention of Virtualobject

1 Answers   Accenture,






Which scripting language used by quicktest professional (qtp)?

0 Answers  


can any one tell me the script to click on a button in the wintoolbar.

1 Answers  


Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")

2 Answers  


in qtp how we work with out put values and what is the process?

4 Answers  


How to replay a script in qtp?

0 Answers  


how do pass parameters from one action to another action

2 Answers  


Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT

1 Answers  


Categories