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

Types of properties that Quick Test learns while recording?

1 Answers   Crea,


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


What type of VB script u had done in expert view?

1 Answers  


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

0 Answers  


if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND

8 Answers   ADP,


i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?

3 Answers   CTS,


What is qtpro?

0 Answers  


how to change the properties of object during run time . plz give the code using flight reservation

2 Answers  


Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2

2 Answers   Siemens,


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

0 Answers  


what is keyword driven testing in qtp?n how is it useful?

0 Answers  


Categories