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 compare two excell sheets by using vbscript??

2 Answers  


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

0 Answers  


explain keyword driven framework?

2 Answers   Mindlance,


How to handle Run-time errors?

1 Answers   Crea,


what is the process to follow between writing the test cases & then atomating it?

1 Answers  






Can anybody give the script to addsheet, add column,add values under that column in the rows??

5 Answers   AZTEC,


When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

2 Answers  


What is Cross browser testing? Does UFT support it?

0 Answers  


please tellme ordernal identifiers in QTP?

2 Answers  


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1 Answers   scintel,


If the object property is changing very frequently, what was your approach?

2 Answers  


how to test background color and dynamic images during runtime

4 Answers   CTS,


Categories