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

hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1750


Can we run test with out adding object in object repository? How it is possible?

538


Hoe can we do retesting using functions please give the code for it using login page

1553


Which environments are supported by hp qtp?

594


If the objects hierarchy is changing from build to build, then how you will handle that condition?

611






Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1453


How many types of Automation frameworks are there in UFT? Describe them.

552


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1678


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1313


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1669


what type of automation is follwed in the project?

1478


Hybrid framework supports Descriptive programming. Is it true?

643


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1539


How many ways we can parameterize data in quicktest professional?

553


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1576