<?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: Understanding the Description Object (Description.Create)</title>
	<atom:link href="http://relevantcodes.com/qtp-all-about-the-description-object-description-create/feed/" rel="self" type="application/rss+xml" />
	<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/</link>
	<description>A Resource for Test Automation Development</description>
	<lastBuildDate>Fri, 18 May 2012 07:21:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Eshwar</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-59981</link>
		<dc:creator>Eshwar</dc:creator>
		<pubDate>Wed, 25 Apr 2012 07:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-59981</guid>
		<description>take Exist(20) for positive results....</description>
		<content:encoded><![CDATA[<p>take Exist(20) for positive results&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-59063</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Wed, 04 Apr 2012 19:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-59063</guid>
		<description>Mohan, that is surely one way to handle description objects for reuse..</description>
		<content:encoded><![CDATA[<p>Mohan, that is surely one way to handle description objects for reuse..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohan</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58956</link>
		<dc:creator>Mohan</dc:creator>
		<pubDate>Tue, 03 Apr 2012 11:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58956</guid>
		<description>Thanku Anshoo,

I Need to create a Global Function for all Web Edits in my Application.

Here i don&#039;t want to create object for Web Edit Every time.I can create a Global function and i call that function where-ever i Need.

Example:- 
Function WebEdit_Handle()
Set WebEdit_All = Description.create()
WebEdit_All(&quot;micclass&quot;).value = &quot;WebEdit&quot;
return set WebEdit_Handle =   WebEdit_All
EndFunction


WebEdit=WebEdit_Handle();

Set childObjects = Browser(&quot;&quot;).Page(&quot;&quot;).ChildObjects(WebEdit)

For ix = 0 To childObjects.Count - 1
    childObjects(ix).Set &quot;value&quot;
Next




Is this way i can Handle Web Elements Globally? Correct..</description>
		<content:encoded><![CDATA[<p>Thanku Anshoo,</p>
<p>I Need to create a Global Function for all Web Edits in my Application.</p>
<p>Here i don&#8217;t want to create object for Web Edit Every time.I can create a Global function and i call that function where-ever i Need.</p>
<p>Example:-<br />
Function WebEdit_Handle()<br />
Set WebEdit_All = Description.create()<br />
WebEdit_All(&#8220;micclass&#8221;).value = &#8220;WebEdit&#8221;<br />
return set WebEdit_Handle =   WebEdit_All<br />
EndFunction</p>
<p>WebEdit=WebEdit_Handle();</p>
<p>Set childObjects = Browser(&#8220;&#8221;).Page(&#8220;&#8221;).ChildObjects(WebEdit)</p>
<p>For ix = 0 To childObjects.Count &#8211; 1<br />
    childObjects(ix).Set &#8220;value&#8221;<br />
Next</p>
<p>Is this way i can Handle Web Elements Globally? Correct..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aravind</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58942</link>
		<dc:creator>Aravind</dc:creator>
		<pubDate>Tue, 03 Apr 2012 09:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58942</guid>
		<description>I used Exist(0). I Have the same problem.
Please suggest me some other solution.

Thanks</description>
		<content:encoded><![CDATA[<p>I used Exist(0). I Have the same problem.<br />
Please suggest me some other solution.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58928</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Tue, 03 Apr 2012 07:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58928</guid>
		<description>Aravind, you can use .Exist(0) instead of .Exist(). This should resolve the performance issue.</description>
		<content:encoded><![CDATA[<p>Aravind, you can use .Exist(0) instead of .Exist(). This should resolve the performance issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58927</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Tue, 03 Apr 2012 07:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58927</guid>
		<description>Mohan, a quick example to work with all WebEdits:

&lt;pre&gt;
Dim desc, childObjects, ix

Set desc = Description.Create
desc(&quot;micclass&quot;).Value = &quot;WebEdit&quot;

Set childObjects = Browser(&quot;&quot;).Page(&quot;&quot;).ChildObjects(desc)

For ix = 0 To childObjects.Count - 1
    childObjects(ix).Set &quot;value&quot;
Next
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Mohan, a quick example to work with all WebEdits:</p>
<pre>
Dim desc, childObjects, ix

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

Set childObjects = Browser("").Page("").ChildObjects(desc)

For ix = 0 To childObjects.Count - 1
    childObjects(ix).Set "value"
Next
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aravind</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58842</link>
		<dc:creator>Aravind</dc:creator>
		<pubDate>Mon, 02 Apr 2012 12:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58842</guid>
		<description>Hi Anshoo,

I am a beginner with QTP . Just started automating my Application. Here i have a problem.

In my script i am handling an error message through below line of statement.
If Browser(&quot;&quot;)page(&quot;&quot;).WebElement(&quot;&quot;).exist then 

 do the required steps
 else

 go for positive case

Here my problem is, for positive case also QT P is searching for that Web Element whether it is existed in the page or not. Because of this The performance was decreased badly

I need to execute this as part of parametrization which has to run for 20,000 records.
How i can make the execution fast..

Please give me your suggestions. 


Thanks</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,</p>
<p>I am a beginner with QTP . Just started automating my Application. Here i have a problem.</p>
<p>In my script i am handling an error message through below line of statement.<br />
If Browser(&#8220;&#8221;)page(&#8220;&#8221;).WebElement(&#8220;&#8221;).exist then </p>
<p> do the required steps<br />
 else</p>
<p> go for positive case</p>
<p>Here my problem is, for positive case also QT P is searching for that Web Element whether it is existed in the page or not. Because of this The performance was decreased badly</p>
<p>I need to execute this as part of parametrization which has to run for 20,000 records.<br />
How i can make the execution fast..</p>
<p>Please give me your suggestions. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohan</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58839</link>
		<dc:creator>Mohan</dc:creator>
		<pubDate>Mon, 02 Apr 2012 12:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58839</guid>
		<description>Hi,

How to handle multiple Web Edit boxes in a page  using single Description Object.
Here my main point is With Single Web Edit Object ,how can i access multiple WebEdit boxes</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How to handle multiple Web Edit boxes in a page  using single Description Object.<br />
Here my main point is With Single Web Edit Object ,how can i access multiple WebEdit boxes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58436</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Wed, 28 Mar 2012 14:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58436</guid>
		<description>Piyush, you will have to use a variable for the Set event. The variable can receive value from an array, dictionary, DataTable or any external source like Text, XLS, XML etc.</description>
		<content:encoded><![CDATA[<p>Piyush, you will have to use a variable for the Set event. The variable can receive value from an array, dictionary, DataTable or any external source like Text, XLS, XML etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyush</title>
		<link>http://relevantcodes.com/qtp-all-about-the-description-object-description-create/#comment-58411</link>
		<dc:creator>Piyush</dc:creator>
		<pubDate>Wed, 28 Mar 2012 05:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=865#comment-58411</guid>
		<description>Hi Anshoo,
How can I enter/set different values in all webedits on a page using childobjects,the same value can be set as below
Set objDesc = Description.Create
objDesc(&quot;micclass&quot;).Value = &quot;WebEdit&quot;

Set Child = Browser(&quot;Google&quot;).Page(&quot;Yahoo! Mail: The best&quot;).ChildObjects(objDesc)

For iCount = 0 to Child.count -1
Child(iCount).Highlight
Child(iCount).Set &quot;Divya Rakesh&quot;
Next

But how I set different values in different webedits?

Please suggest.</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
How can I enter/set different values in all webedits on a page using childobjects,the same value can be set as below<br />
Set objDesc = Description.Create<br />
objDesc(&#8220;micclass&#8221;).Value = &#8220;WebEdit&#8221;</p>
<p>Set Child = Browser(&#8220;Google&#8221;).Page(&#8220;Yahoo! Mail: The best&#8221;).ChildObjects(objDesc)</p>
<p>For iCount = 0 to Child.count -1<br />
Child(iCount).Highlight<br />
Child(iCount).Set &#8220;Divya Rakesh&#8221;<br />
Next</p>
<p>But how I set different values in different webedits?</p>
<p>Please suggest.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 10/14 queries in 0.003 seconds using disk: basic
Object Caching 379/379 objects using disk: basic
Content Delivery Network via N/A

Served from: relevantcodes.com @ 2012-05-19 11:16:24 -->
