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)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


How to connect to oracle(sqlserver) database to QTP

3 Answers   CTS,


waht is the difference between QTP 8.2 and 9.0 version

15 Answers   AppLabs, CTS, Polaris,


how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)?

1 Answers   Ordain Solutions,


WHAT IS OBJECT REPROSITORY?

4 Answers   BirlaSoft,






How to Display last item of a Combobox by using QTP?

10 Answers  


Explain measuring transaction.

0 Answers  


What is a data driven test in qtp?

0 Answers  


How to customize qtp?

0 Answers  


Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u

29 Answers   IBM,


How should I check my code( Before going to execute) without executing the script in QTP

1 Answers  


HOW TO DO THE BATCH TESTING USING QTP?

8 Answers   CTS,


Categories