write a qtp code to display all the items in the fly from
combo box or list box
Answer Posted / prakash
msgbox window("flight reservation").WinComboBox("Fly
From:").getroproperty("allitems")
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
How are actions and functions different in QTP?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
What is data driver in qtp?
what the difference between shared repository and per action repository?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
How many ways we can parameterize data in quicktest professional (qtp)?
What is a recovery scenario?
What are the benefits of quick test pro(qtp)?
Please guide me release notes of Automation once scripts are completed
How do you create new test sets in td?
What is difference in global and action sheet in qtp?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
Is it possible to call from one action to another action in qtp?
How to check feasibility of the appliction?in automation testing?