<?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: Descriptive Programming (DP) &#8211; 4 (Creating a Test Script)</title>
	<atom:link href="http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/</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: lakshmi</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-55464</link>
		<dc:creator>lakshmi</dc:creator>
		<pubDate>Thu, 09 Feb 2012 12:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-55464</guid>
		<description>hi,your work is really appreciable.It helps new learners a lot.............
I am new learner to qtp.Can u plz tell me the usage of below line u had used in above program.

Browser( &quot;title:=.*Mercury.*&quot; ).Sync

KINDLY HELP ME
THANKS.</description>
		<content:encoded><![CDATA[<p>hi,your work is really appreciable.It helps new learners a lot&#8230;&#8230;&#8230;&#8230;.<br />
I am new learner to qtp.Can u plz tell me the usage of below line u had used in above program.</p>
<p>Browser( &#8220;title:=.*Mercury.*&#8221; ).Sync</p>
<p>KINDLY HELP ME<br />
THANKS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyush</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-55146</link>
		<dc:creator>Piyush</dc:creator>
		<pubDate>Fri, 03 Feb 2012 09:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-55146</guid>
		<description>Hi anshoo,
while adding ordinal identifier to the browser we used above like :
If Browser( &quot;title:=Welcome: Mercury Tours&quot;, &quot;index:=0&quot; ).Exist( 15 ) Then
how wud I kno that index wud be equal to 0?
or if I wanted to use &quot;creation time&quot; then hw will I use it here?
please suggest.</description>
		<content:encoded><![CDATA[<p>Hi anshoo,<br />
while adding ordinal identifier to the browser we used above like :<br />
If Browser( &#8220;title:=Welcome: Mercury Tours&#8221;, &#8220;index:=0&#8243; ).Exist( 15 ) Then<br />
how wud I kno that index wud be equal to 0?<br />
or if I wanted to use &#8220;creation time&#8221; then hw will I use it here?<br />
please suggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyush</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-55145</link>
		<dc:creator>Piyush</dc:creator>
		<pubDate>Fri, 03 Feb 2012 09:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-55145</guid>
		<description>Hi Anshoo,
In step2 we uses following code:
If Browser( &quot;title:=Welcome: Mercury Tours&quot; ).Exist( 15 ) Then
   Reporter.ReportEvent micPass, &quot;Step 1- Launch&quot;, &quot;Correct browser was launched.&quot;
Else
   Reporter.ReportEvent micFail, &quot;Step 1- Launch&quot;, &quot;Browser failed to launch.&quot;
   ExitTest
End If
My question is what the use of &quot;ExitTest&quot; statement here as without using it we&#039;ll get the test terminated itself bcoz there is no browser object open to perform next step.Please suggest.</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
In step2 we uses following code:<br />
If Browser( &#8220;title:=Welcome: Mercury Tours&#8221; ).Exist( 15 ) Then<br />
   Reporter.ReportEvent micPass, &#8220;Step 1- Launch&#8221;, &#8220;Correct browser was launched.&#8221;<br />
Else<br />
   Reporter.ReportEvent micFail, &#8220;Step 1- Launch&#8221;, &#8220;Browser failed to launch.&#8221;<br />
   ExitTest<br />
End If<br />
My question is what the use of &#8220;ExitTest&#8221; statement here as without using it we&#8217;ll get the test terminated itself bcoz there is no browser object open to perform next step.Please suggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaideep Patel</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-54484</link>
		<dc:creator>Jaideep Patel</dc:creator>
		<pubDate>Thu, 19 Jan 2012 05:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-54484</guid>
		<description>Hi anshoo,

I have tried writing a DP script for a link with all the properties available when spied on, it does not work.
But if i add that object to the repository and then write the script, it works fine.
Why does this happen. Even if i use the same properties as used in OR, i&#039;m still not able to write a DP script for it.

Thanks,

Jaideep Patel</description>
		<content:encoded><![CDATA[<p>Hi anshoo,</p>
<p>I have tried writing a DP script for a link with all the properties available when spied on, it does not work.<br />
But if i add that object to the repository and then write the script, it works fine.<br />
Why does this happen. Even if i use the same properties as used in OR, i&#8217;m still not able to write a DP script for it.</p>
<p>Thanks,</p>
<p>Jaideep Patel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-54017</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Thu, 12 Jan 2012 16:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-54017</guid>
		<description>Jaideep: Can you please provide an example page where I can test this?</description>
		<content:encoded><![CDATA[<p>Jaideep: Can you please provide an example page where I can test this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaideep Patel</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-53201</link>
		<dc:creator>Jaideep Patel</dc:creator>
		<pubDate>Thu, 29 Dec 2011 03:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-53201</guid>
		<description>Hi anshoo, i tried ur sloution. If i press the CTRL button i can see the object but i cannot spy it.. i can just perform the action but couldnt get the properties of the object.</description>
		<content:encoded><![CDATA[<p>Hi anshoo, i tried ur sloution. If i press the CTRL button i can see the object but i cannot spy it.. i can just perform the action but couldnt get the properties of the object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaideep Patel</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-53198</link>
		<dc:creator>Jaideep Patel</dc:creator>
		<pubDate>Thu, 29 Dec 2011 03:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-53198</guid>
		<description>Thanks a lot anshoo... But i have another problem.

i have a webelement which has an innertext as &quot;cilck to inster text&quot;. when i click on it the webelement chaneges to web edit. how do i automate this...

Thanks, 

Jaideep Patel</description>
		<content:encoded><![CDATA[<p>Thanks a lot anshoo&#8230; But i have another problem.</p>
<p>i have a webelement which has an innertext as &#8220;cilck to inster text&#8221;. when i click on it the webelement chaneges to web edit. how do i automate this&#8230;</p>
<p>Thanks, </p>
<p>Jaideep Patel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-53007</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Tue, 27 Dec 2011 11:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-53007</guid>
		<description>Jaideep: You can use the CTRL key to hover the object then release CTRL to spy it..</description>
		<content:encoded><![CDATA[<p>Jaideep: You can use the CTRL key to hover the object then release CTRL to spy it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaideep Patel</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-51508</link>
		<dc:creator>Jaideep Patel</dc:creator>
		<pubDate>Tue, 06 Dec 2011 06:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-51508</guid>
		<description>Hi anshoo,

I&#039;m facing a problem to automate a web object which only becomes visible when we hover over it. i cannot use object spy to get the properties of that hidden object. How do i go about automating this.

Thank You

Jaideep Patel</description>
		<content:encoded><![CDATA[<p>Hi anshoo,</p>
<p>I&#8217;m facing a problem to automate a web object which only becomes visible when we hover over it. i cannot use object spy to get the properties of that hidden object. How do i go about automating this.</p>
<p>Thank You</p>
<p>Jaideep Patel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saumya</title>
		<link>http://relevantcodes.com/descriptive-programming-dp-4-creating-a-test-script/#comment-48601</link>
		<dc:creator>Saumya</dc:creator>
		<pubDate>Fri, 25 Nov 2011 23:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=222#comment-48601</guid>
		<description>Apologies for using wrong spelling of your name Anshoo.</description>
		<content:encoded><![CDATA[<p>Apologies for using wrong spelling of your name Anshoo.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

