<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Document Object Model(DOM) and QTP &#8211; A complete guide.</title> <atom:link href="http://www.learnqtp.com/document-object-model-qtp-guide/feed/" rel="self" type="application/rss+xml" /><link>http://www.learnqtp.com/document-object-model-qtp-guide/</link> <description></description> <lastBuildDate>Tue, 31 Jan 2012 08:17:01 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: Mahesh NP</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-23012</link> <dc:creator>Mahesh NP</dc:creator> <pubDate>Thu, 05 Jan 2012 06:38:46 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-23012</guid> <description>Hi
I have one query .
How to find the no of links in Webpage.
There is two approach for this
1. browser(&quot;Google&quot;).Page(&quot;Google&quot;).Object.links.length
2. To Create the DOM object
Set oDesc = Description.Create()
oDesc(&quot;micclass&quot;).Value = &quot;Link&quot;
Set Links = Browser(&quot;Browser&quot;).Page(&quot;Google&quot;).ChildObjects(oDesc)
NumberOfLinks = Links.Count()
Msgbox NumberOfLinks
From the above 2 code .Im getting different answer after execution.Please let me know what is difference between  link.lenght and link.count.
Thanks in advances</description> <content:encoded><![CDATA[<p>Hi</p><p>I have one query .</p><p>How to find the no of links in Webpage.</p><p>There is two approach for this<br
/> 1. browser(&#8220;Google&#8221;).Page(&#8220;Google&#8221;).Object.links.length</p><p>2. To Create the DOM object</p><p>Set oDesc = Description.Create()<br
/> oDesc(&#8220;micclass&#8221;).Value = &#8220;Link&#8221;<br
/> Set Links = Browser(&#8220;Browser&#8221;).Page(&#8220;Google&#8221;).ChildObjects(oDesc)<br
/> NumberOfLinks = Links.Count()<br
/> Msgbox NumberOfLinks</p><p>From the above 2 code .Im getting different answer after execution.Please let me know what is difference between  link.lenght and link.count.</p><p>Thanks in advances</p> ]]></content:encoded> </item> <item><title>By: Ramya</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-22729</link> <dc:creator>Ramya</dc:creator> <pubDate>Mon, 19 Dec 2011 11:23:22 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-22729</guid> <description>I want to check a text in source code of a web page.How to do that?</description> <content:encoded><![CDATA[<p>I want to check a text in source code of a web page.How to do that?</p> ]]></content:encoded> </item> <item><title>By: prajesh</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-22304</link> <dc:creator>prajesh</dc:creator> <pubDate>Mon, 05 Dec 2011 14:16:28 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-22304</guid> <description>how to use DOM in a windows based applications(like Delphi, SAP, etc) or we cant use DOM in Windows ased applications</description> <content:encoded><![CDATA[<p>how to use DOM in a windows based applications(like Delphi, SAP, etc) or we cant use DOM in Windows ased applications</p> ]]></content:encoded> </item> <item><title>By: Fahim Aslam</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-19052</link> <dc:creator>Fahim Aslam</dc:creator> <pubDate>Fri, 23 Sep 2011 11:14:19 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-19052</guid> <description>can we add objects to object repository at run time in qtp?
thnx in Advance</description> <content:encoded><![CDATA[<p>can we add objects to object repository at run time in qtp?</p><p>thnx in Advance</p> ]]></content:encoded> </item> <item><title>By: Fahim Aslam</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-19051</link> <dc:creator>Fahim Aslam</dc:creator> <pubDate>Fri, 23 Sep 2011 10:39:16 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-19051</guid> <description>how to get the innerText of a div(html tag) using VBScript?</description> <content:encoded><![CDATA[<p>how to get the innerText of a div(html tag) using VBScript?</p> ]]></content:encoded> </item> <item><title>By: Pranitha</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-18500</link> <dc:creator>Pranitha</dc:creator> <pubDate>Wed, 24 Aug 2011 09:48:08 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-18500</guid> <description>Hi.. Can any one tell me how to test the Maps (ex:google earth)</description> <content:encoded><![CDATA[<p>Hi.. Can any one tell me how to test the Maps (ex:google earth)</p> ]]></content:encoded> </item> <item><title>By: sujatha</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-14658</link> <dc:creator>sujatha</dc:creator> <pubDate>Mon, 14 Mar 2011 20:48:12 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-14658</guid> <description>How to verify whether a webelement is enabled or not using view source?</description> <content:encoded><![CDATA[<p>How to verify whether a webelement is enabled or not using view source?</p> ]]></content:encoded> </item> <item><title>By: Ritu</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-13550</link> <dc:creator>Ritu</dc:creator> <pubDate>Wed, 02 Feb 2011 11:16:34 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-13550</guid> <description>Hi....can somebody help in GIS application automation using QTP.This is a web application and uses Google map. QTP is not identifying any objects in on the MAP and we have to details with various map events like Zoom in, Zoom out, selecting an area on the map etc like we do in Google map.</description> <content:encoded><![CDATA[<p>Hi&#8230;.can somebody help in GIS application automation using QTP.This is a web application and uses Google map. QTP is not identifying any objects in on the MAP and we have to details with various map events like Zoom in, Zoom out, selecting an area on the map etc like we do in Google map.</p> ]]></content:encoded> </item> <item><title>By: guru</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-13236</link> <dc:creator>guru</dc:creator> <pubDate>Wed, 19 Jan 2011 06:21:06 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-13236</guid> <description>its working fine</description> <content:encoded><![CDATA[<p>its working fine</p> ]]></content:encoded> </item> <item><title>By: ana</title><link>http://www.learnqtp.com/document-object-model-qtp-guide/comment-page-1/#comment-11938</link> <dc:creator>ana</dc:creator> <pubDate>Fri, 29 Oct 2010 09:06:09 +0000</pubDate> <guid
isPermaLink="false">http://www.learnqtp.com/document-object-model-qtp-guide/#comment-11938</guid> <description>Hi, when im run the below query, Im getting the output as “[object]“, Pls help me how to get the ‘style’ value in &quot;img&quot; tag in html.
set font = Browser(“Browser”).Page(“Page”).WebTable(“Happy”).Object.all.tags(“img”)
For i=0 to font.length-1
set a = font(i).style
msgbox a
Next</description> <content:encoded><![CDATA[<p>Hi, when im run the below query, Im getting the output as “[object]“, Pls help me how to get the ‘style’ value in &#8220;img&#8221; tag in html.<br
/> set font = Browser(“Browser”).Page(“Page”).WebTable(“Happy”).Object.all.tags(“img”)<br
/> For i=0 to font.length-1<br
/> set a = font(i).style<br
/> msgbox a<br
/> Next</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 5/22 queries in 0.072 seconds using disk: basic

Served from: www.learnqtp.com @ 2012-02-05 00:27:59 -->
