Micro Focus QTP (UFT) Forums
Identifying DIV & SPAN HTML objects - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Identifying DIV & SPAN HTML objects (/Thread-Identifying-DIV-SPAN-HTML-objects)



Identifying DIV & SPAN HTML objects - Rahull - 02-14-2012

Hi
1) Type of AUT (application under test): Web
2) Technology: .NET Framework 4.0, ASP.NET C#, MVC 3, HTML 5, CSS 3, JQuery, WCF,
Browser –XML, XSLT, AJAX, JSON, SquishIt – combining all css/js to single css/js file
3) QTP version – 11.0
4) Browser: - IE8
5) QTP Add-Ins used (.NET, Web, ActiveX.)
6) Problem: QTP is unable of identifying objects using recording. Objects are identified by object spy as WebElement only. As per the developers they have not used classical controls like WebButton, WebList, Link, WebEdit, in place they have used the HTML controls SPAN and DIV.
7) Additional info: Please refer the attached screenshot. For Link & Dropdown.
Thanks
Rahul



RE: Identifying DIV & SPAN HTML objects - basanth27 - 02-15-2012

Nothing Unusual. Those web objects which QTP cannot identify would be listed as webelement. However, even with a webelement you can skirmish several properties.
What do you intend to achieve?


RE: Identifying DIV & SPAN HTML objects - surya_7mar - 02-19-2012

send us the innerhtl of the object.. that you see in the spy