<?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: QTP: Retrieve The Count of Objects in a Browser Efficiently</title>
	<atom:link href="http://relevantcodes.com/qtp-quickly-retrieve-object-count/feed/" rel="self" type="application/rss+xml" />
	<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/</link>
	<description>A Test Development Resource for HP QuickTest Professional.</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:13:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-27812</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Sat, 16 Jul 2011 16:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-27812</guid>
		<description>PJ: You can also create the instance as a Public Function which will be visible in all Actions. I have seen ExecuteFile sort this issue, but unfortunately, you lose on all debugging capabilities.</description>
		<content:encoded><![CDATA[<p>PJ: You can also create the instance as a Public Function which will be visible in all Actions. I have seen ExecuteFile sort this issue, but unfortunately, you lose on all debugging capabilities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PJ</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-26853</link>
		<dc:creator>PJ</dc:creator>
		<pubDate>Fri, 08 Jul 2011 15:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-26853</guid>
		<description>I had similar problem when i have writen class defination in  .vbs  and tried to create the object  of  that class inside qtp action
 though i had associated function library   in test

But  when i write statement  ExecuteFile   &quot;filename.vbs&quot;   i  didnt   get that  object reqiured error</description>
		<content:encoded><![CDATA[<p>I had similar problem when i have writen class defination in  .vbs  and tried to create the object  of  that class inside qtp action<br />
 though i had associated function library   in test</p>
<p>But  when i write statement  ExecuteFile   &#8220;filename.vbs&#8221;   i  didnt   get that  object reqiured error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-24822</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Fri, 24 Jun 2011 16:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-24822</guid>
		<description>Sai:  &quot;ALL&quot; means the method is trying to retrieve the count for all objects as opposed to only the visible ones..</description>
		<content:encoded><![CDATA[<p>Sai:  &#8220;ALL&#8221; means the method is trying to retrieve the count for all objects as opposed to only the visible ones..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sai</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-24368</link>
		<dc:creator>Sai</dc:creator>
		<pubDate>Tue, 21 Jun 2011 11:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-24368</guid>
		<description>Hi Anshoo,
While I was going through your article, I got a doubt about what the following statements in the above code will check for?
1. If Not CountType = &quot;ALL&quot; Then____
2. refClassCount.CountType = &quot;ALL&quot; and refClassCount.CountType = &quot;&quot;
Please explain. Thank you.</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
While I was going through your article, I got a doubt about what the following statements in the above code will check for?<br />
1. If Not CountType = &#8220;ALL&#8221; Then____<br />
2. refClassCount.CountType = &#8220;ALL&#8221; and refClassCount.CountType = &#8220;&#8221;<br />
Please explain. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-13230</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Mon, 03 Jan 2011 00:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-13230</guid>
		<description>For images:

&lt;pre&gt;
&#039;This is where the objects are being searched for:
Set BaseObject = Browser( &quot;Browser&quot; ).Page( &quot;micclass:=Page&quot; )
 
&#039; Retrieve the total number of Image Objects
MsgBox GetObjectCount( BaseObject, &quot;Image&quot; )
 
&#039; Retrieve the total non-hidden number of Image Objects
MsgBox GetVisibleObjectCount( BaseObject, &quot;Image&quot; )
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>For images:</p>
<pre>
'This is where the objects are being searched for:
Set BaseObject = Browser( "Browser" ).Page( "micclass:=Page" )

' Retrieve the total number of Image Objects
MsgBox GetObjectCount( BaseObject, "Image" )

' Retrieve the total non-hidden number of Image Objects
MsgBox GetVisibleObjectCount( BaseObject, "Image" )
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-12954</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Tue, 28 Dec 2010 11:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-12954</guid>
		<description>But for images wat to do?</description>
		<content:encoded><![CDATA[<p>But for images wat to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-12788</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Thu, 23 Dec 2010 20:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-12788</guid>
		<description>Mahesh,

Please see below:

&lt;pre&gt;
Dim desc, colBrowser, ix

Set desc = Description.Create
desc(&quot;micclass&quot;).Value = &quot;Browser&quot;

Set colBrowser = Desktop.ChildObjects(desc)

For ix = 0 to colBrowser.Count - 1
	MsgBox colBrowser(ix).GetROProperty(&quot;title&quot;)
Next

Set desc = Nothing
Set colBrowser = Nothing
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Mahesh,</p>
<p>Please see below:</p>
<pre>
Dim desc, colBrowser, ix

Set desc = Description.Create
desc("micclass").Value = "Browser"

Set colBrowser = Desktop.ChildObjects(desc)

For ix = 0 to colBrowser.Count - 1
	MsgBox colBrowser(ix).GetROProperty("title")
Next

Set desc = Nothing
Set colBrowser = Nothing
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh Upadhyay</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-12664</link>
		<dc:creator>Mahesh Upadhyay</dc:creator>
		<pubDate>Mon, 20 Dec 2010 08:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-12664</guid>
		<description>Hi Anshoo,
Nice article.
Could you please let me know how we can get the browser Title with the same?
Regards
Mahesh</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
Nice article.<br />
Could you please let me know how we can get the browser Title with the same?<br />
Regards<br />
Mahesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-9953</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Thu, 05 Aug 2010 18:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-9953</guid>
		<description>San,

Since the images are inside a WebTable, you can loop through all the rows of that particular column and click on one of the images using the &lt;code&gt;ChildItem&lt;/code&gt; function.</description>
		<content:encoded><![CDATA[<p>San,</p>
<p>Since the images are inside a WebTable, you can loop through all the rows of that particular column and click on one of the images using the <code>ChildItem</code> function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: San</title>
		<link>http://relevantcodes.com/qtp-quickly-retrieve-object-count/#comment-9917</link>
		<dc:creator>San</dc:creator>
		<pubDate>Tue, 03 Aug 2010 09:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=83#comment-9917</guid>
		<description>If Browser name . Page name and image name is same for all the images in the 4th column of all row in a webtable. I need to click on any of the image dynamically to delete that row. Only the image&#039;s ROProperty - sourceindex ,abs_x, abs_y is different. How to click on the particular image ??</description>
		<content:encoded><![CDATA[<p>If Browser name . Page name and image name is same for all the images in the 4th column of all row in a webtable. I need to click on any of the image dynamically to delete that row. Only the image&#8217;s ROProperty &#8211; sourceindex ,abs_x, abs_y is different. How to click on the particular image ??</p>
]]></content:encoded>
	</item>
</channel>
</rss>

