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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between qtp and selenium?

558


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2811


When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1640


What are the key points to create a framework in QTP for oracle forms?

1821


what is command for executing files?

1521






How do you create regression test packs?

618


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

3787


How do you create new test sets in td?

543


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1699


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

541


They asked by using qtp recording writing scripting

2080


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1453


Explain the views in the QTP GUI?

627


Through array we can execute the testcase how ? give me example

1410


How to find Operating system information using QTP script?

580