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 are the check points can be inserted without recording?

598


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3013


How you can write contexts to text file in qtp?

592


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6307


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3494






What is synchronization? What are the ways you can synchronize?

653


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

1738


Will down time for server and content maintenance/upgrades be allowed? how much?

617


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1505


Give me some real time point of way where exactly we can conduct audits?

1501


Is the qtp course will help to create a virtual object?

1516


What is the synchronization point in qtp?

563


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2450


Explain the concept of object repository and how qtp recognises objects?

528


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1736