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

What is an environment variable?

1 Answers  


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

0 Answers  


What is object state in trigger events,in recovery scenario.write a script to handle this.

0 Answers  


what is the framework followed by ur company in qtp

5 Answers  


wt is the use of multiple questions in QTP

0 Answers   DigiTech,






Extract a word from a sentenece?

5 Answers   IBM,


how do u import the test cases written in excel sheet to qtp? and how do u generate the script in qtp for the testcase in excel sheet? plzzzz do answer this question thanks in advance

4 Answers  


What is throw object?

0 Answers  


Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?

2 Answers  


What is the use of Regular expression?

5 Answers  


Is QTP supports Unix. If yes, then how the test automation is done?

0 Answers   iFlex,


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,


Categories