Micro Focus QTP (UFT) Forums
How to Add this Dot Net grid in the Repository - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: How to Add this Dot Net grid in the Repository (/Thread-How-to-Add-this-Dot-Net-grid-in-the-Repository)



How to Add this Dot Net grid in the Repository - nistalaramesh - 12-29-2009

I am using QTP 9.2 with Dot net Addin
In my application i have a Grid named Smart Property grid. I am unable to get the properties of the grid. This Grid is a Dot net grid control and a 3rd party control.
But if i spy the grid i am getting swf name path of the grid

I am getting the property as swf object only. Grid also displays list boxes for few of the rows
And QTP records script with mouse coordinates

Can anybody help me in this please.

Please look into the screen shot for this

Recorded Script Attaching below

Code:
SwfWindow("ITKK.NET").SwfTreeView("tvITKKTree").Select "TRAINING - DO NOT USE;India;Auto-Customer-03/12/2009 11:50"
SwfWindow("ITKK.NET").SwfToolbar("SwfToolbar").ShowDropdown "New"
SwfWindow("ITKK.NET").SwfToolbar("SwfToolbar").Select "File;New;Piston Compressor"
SwfWindow("ITKK.NET").SwfToolbar("MenuStrip1").Select "File;New;Piston Compressor"
SwfWindow("ITKK.NET").SwfEdit("SwfEdit").Set "Auto Compressor"
SwfWindow("ITKK.NET").SwfObject("SwfObject_2").Click 360,334
SwfWindow("ITKK.NET").SwfObject("Unknown").Click 254,9
SwfWindow("ITKK.NET").SwfObject("SwfObject_2").SwfWindow("SwfWindow").SwfList("SwfList").Select "LMF"
SwfWindow("ITKK.NET").SwfObject("SwfObject_2").SwfWindow("SwfWindow").SwfList("SwfList").Type  micReturn

The description should be like this: QTP unable to identify 3rd party .Net controls
How can i proceed with QTP for this problem. Or any other tool helps me in this