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

Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)

1 Answers   TCS, Wipro,


what is input pramater out output pramater ?i want the decrepation..?how to use in QTP?

3 Answers   Infinite Computer Solutions,


What is Environment Variable and when we apply this in QTP?

3 Answers   TCS,


I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?

2 Answers  






How to verify the Cursor focus of a certain field?

1 Answers  


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

0 Answers  


How to connect to data base?

2 Answers  


I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?

3 Answers  


How to import a test case present in ".xls" file to TD under a Test set?

0 Answers  


how to capture tool tip in QTP and which check point is needed

2 Answers   Syntel,


Hi, I am learning QTP. can someone please tell me a site from where i can learn QTP scripting Thanks in advance

0 Answers  


Categories