<?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: GetROProperties (Custom)</title>
	<atom:link href="http://relevantcodes.com/getroproperties-custom/feed/" rel="self" type="application/rss+xml" />
	<link>http://relevantcodes.com/getroproperties-custom/</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: Always</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-47696</link>
		<dc:creator>Always</dc:creator>
		<pubDate>Tue, 22 Nov 2011 12:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-47696</guid>
		<description>Yes..Browser &amp; WebEdit ..these are QTP supported objects not vbscript objects.

i think not possible thru vbscript to get all the properties of an object...but i hope will get attributes

&#039;ll try and let you know</description>
		<content:encoded><![CDATA[<p>Yes..Browser &amp; WebEdit ..these are QTP supported objects not vbscript objects.</p>
<p>i think not possible thru vbscript to get all the properties of an object&#8230;but i hope will get attributes</p>
<p>&#8216;ll try and let you know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naunihal singh</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-47482</link>
		<dc:creator>naunihal singh</dc:creator>
		<pubDate>Mon, 21 Nov 2011 18:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-47482</guid>
		<description>I have been assigned a task in which I need to create an external excel sheet which will have the properties and values of the objects used in object repository. Then I need to call them into my test and create a description of objects in a dynamic way. 

Please help/advise how should I do it as its required on urgent basis.  
SystemUtil.Run(&quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&quot;)
Dim Pr
Dim Vl
Dim intcount
Dim globalrows
Datatable.AddSheet (&quot;Properties&quot;)
Datatable.ImportSheet &quot;C:\Properties.xls&quot;,&quot;Sheet1&quot;,&quot;Properties&quot;
globalrows= Datatable.GetSheet(&quot;Properties&quot;).GetRowCount
For intcount=1 to globalrows-1
datatable.SetCurrentRow(intcount)
Pr=datatable.value(&quot;Properties&quot;,&quot;Properties&quot;)
Print (Pr)
Vl=datatable.value(&quot;Values&quot;,&quot;Properties&quot;)
Print (Vl)
Next

Till  now I can only check whats coming from the database but cant go further from there. 

Your help will really help me.</description>
		<content:encoded><![CDATA[<p>I have been assigned a task in which I need to create an external excel sheet which will have the properties and values of the objects used in object repository. Then I need to call them into my test and create a description of objects in a dynamic way. </p>
<p>Please help/advise how should I do it as its required on urgent basis.<br />
SystemUtil.Run(&#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;)<br />
Dim Pr<br />
Dim Vl<br />
Dim intcount<br />
Dim globalrows<br />
Datatable.AddSheet (&#8220;Properties&#8221;)<br />
Datatable.ImportSheet &#8220;C:\Properties.xls&#8221;,&#8221;Sheet1&#8243;,&#8221;Properties&#8221;<br />
globalrows= Datatable.GetSheet(&#8220;Properties&#8221;).GetRowCount<br />
For intcount=1 to globalrows-1<br />
datatable.SetCurrentRow(intcount)<br />
Pr=datatable.value(&#8220;Properties&#8221;,&#8221;Properties&#8221;)<br />
Print (Pr)<br />
Vl=datatable.value(&#8220;Values&#8221;,&#8221;Properties&#8221;)<br />
Print (Vl)<br />
Next</p>
<p>Till  now I can only check whats coming from the database but cant go further from there. </p>
<p>Your help will really help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-39095</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Mon, 10 Oct 2011 12:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-39095</guid>
		<description>Hi anshoo,

can your please tell me how to compare the two values which have retrieved from two text boxes using getroproperty.</description>
		<content:encoded><![CDATA[<p>Hi anshoo,</p>
<p>can your please tell me how to compare the two values which have retrieved from two text boxes using getroproperty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-24879</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 25 Jun 2011 03:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-24879</guid>
		<description>Hi Anshoo,

Set TextBox = Browser(&quot;&quot;).WebEdit(&quot;&quot;)..............will it support without QTP tool to set an object here.

Browser &amp; WebEdit ..these are QTP supported objects not vbscript right?

am expecting code without using QTP... running all script just by giving double click on vbs file</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,</p>
<p>Set TextBox = Browser(&#8220;&#8221;).WebEdit(&#8220;&#8221;)&#8230;&#8230;&#8230;&#8230;..will it support without QTP tool to set an object here.</p>
<p>Browser &amp; WebEdit ..these are QTP supported objects not vbscript right?</p>
<p>am expecting code without using QTP&#8230; running all script just by giving double click on vbs file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-24802</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Fri, 24 Jun 2011 15:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-24802</guid>
		<description>@always:  It will be like this:

&lt;pre&gt;
Set TextBox = Browser(&quot;&quot;).WebEdit(&quot;&quot;)
Set attributes = TextBox.Object.attributes

For Each attribute in attributes
	Print attribute.Name &amp; &quot; -&gt; &quot; &amp; Print attribute.Value
Next
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@always:  It will be like this:</p>
<pre>
Set TextBox = Browser("").WebEdit("")
Set attributes = TextBox.Object.attributes

For Each attribute in attributes
	Print attribute.Name &amp; " -&gt; " &amp; Print attribute.Value
Next
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Always</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-20959</link>
		<dc:creator>Always</dc:creator>
		<pubDate>Fri, 20 May 2011 05:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-20959</guid>
		<description>Hi,

Can i expect the code for it how can i retrieve all the properties of an object using vbscript(here am not using any toll...like QTP)just running by giving double click on .vbs file.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can i expect the code for it how can i retrieve all the properties of an object using vbscript(here am not using any toll&#8230;like QTP)just running by giving double click on .vbs file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-20942</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Fri, 20 May 2011 00:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-20942</guid>
		<description>@always:  The only way you can retrieve these properties is by using the &#039;.Object&#039; or the &#039;attribute/propertyName&#039; extensions.  You can retrieve these properties via DP or OR.  These properties will be only available for Web objects and you will need to spy at the Native Properties to access them.</description>
		<content:encoded><![CDATA[<p>@always:  The only way you can retrieve these properties is by using the &#8216;.Object&#8217; or the &#8216;attribute/propertyName&#8217; extensions.  You can retrieve these properties via DP or OR.  These properties will be only available for Web objects and you will need to spy at the Native Properties to access them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: always</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-20051</link>
		<dc:creator>always</dc:creator>
		<pubDate>Wed, 11 May 2011 18:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-20051</guid>
		<description>Hi,

Good to see the article and hearty congrats for your R &amp;D,
here am putting some concerns/queries on it,which is the part Anand&#039;s question.

shall we use programmatically to get all the properties and their values using DOM?
if it is how can i spy it? is there any way to do it? 

how the qtp able to spy the object and getting the properties?

any specific code for it?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Good to see the article and hearty congrats for your R &amp;D,<br />
here am putting some concerns/queries on it,which is the part Anand&#8217;s question.</p>
<p>shall we use programmatically to get all the properties and their values using DOM?<br />
if it is how can i spy it? is there any way to do it? </p>
<p>how the qtp able to spy the object and getting the properties?</p>
<p>any specific code for it?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-12259</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Mon, 06 Dec 2010 02:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-12259</guid>
		<description>Anand,

I&#039;m not sure if we can get ALL TO properties or mimic what the Object Spy shows.  GetROProperties can accomplish that once all the relevant properties are added to the registry, or to an XML file.  Without knowing which property a Test Object holds, its not possible as its a custom mechanism.  Also, if your AUT is only Web, you can write your own workaround by using arrays/xmls to hold all properties of all Web Test Objects and using those instead.</description>
		<content:encoded><![CDATA[<p>Anand,</p>
<p>I&#8217;m not sure if we can get ALL TO properties or mimic what the Object Spy shows.  GetROProperties can accomplish that once all the relevant properties are added to the registry, or to an XML file.  Without knowing which property a Test Object holds, its not possible as its a custom mechanism.  Also, if your AUT is only Web, you can write your own workaround by using arrays/xmls to hold all properties of all Web Test Objects and using those instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand Tambey</title>
		<link>http://relevantcodes.com/getroproperties-custom/#comment-12111</link>
		<dc:creator>Anand Tambey</dc:creator>
		<pubDate>Thu, 25 Nov 2010 13:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=2272#comment-12111</guid>
		<description>Hi Anshoo,

Pl. correct me if I am wrong.

1.GetTOProperties returns &quot;Description Properties&quot; from QTP OR.
2.GetROProperties - excellent function - First of all Thanks!!! - This returns run-time properties(useful ones).

However my question is:-
Can we get the properties and values programmatically while mimicking Object Spy completely? (means all properties and values)
Is there something already being done on that front may be using DOM for Web Apps?</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,</p>
<p>Pl. correct me if I am wrong.</p>
<p>1.GetTOProperties returns &#8220;Description Properties&#8221; from QTP OR.<br />
2.GetROProperties &#8211; excellent function &#8211; First of all Thanks!!! &#8211; This returns run-time properties(useful ones).</p>
<p>However my question is:-<br />
Can we get the properties and values programmatically while mimicking Object Spy completely? (means all properties and values)<br />
Is there something already being done on that front may be using DOM for Web Apps?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

