<?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: Recovery Scenario Test Run Error: Item in list or menu not found</title>
	<atom:link href="http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/feed/" rel="self" type="application/rss+xml" />
	<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/</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: Roselin</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-60987</link>
		<dc:creator>Roselin</dc:creator>
		<pubDate>Thu, 17 May 2012 17:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-60987</guid>
		<description>Hi,

I am getting an pop-up window while executing the test. Script has to close that window to proceed to next step.
Please help me with it.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting an pop-up window while executing the test. Script has to close that window to proceed to next step.<br />
Please help me with it.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: s singh</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-60898</link>
		<dc:creator>s singh</dc:creator>
		<pubDate>Wed, 16 May 2012 10:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-60898</guid>
		<description>Hi Anshoo,

I am running QTP scipts in night without monitoring it. So whenever my application goes down, QTP continues running and gives wrong results. What I need now is that a recovery scenario be created for this so that whenever application goes down due to any reason (which is not under my control), QTP should get stopped.

Please suggest.</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,</p>
<p>I am running QTP scipts in night without monitoring it. So whenever my application goes down, QTP continues running and gives wrong results. What I need now is that a recovery scenario be created for this so that whenever application goes down due to any reason (which is not under my control), QTP should get stopped.</p>
<p>Please suggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-60335</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Wed, 02 May 2012 19:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-60335</guid>
		<description>S Singh, the recovery scenario you design for this can just have ExitTest in it. If the RS runs, it will simply exit the test. If it goes down because of issues that you can control, I would recommend Conditional logic or On Error Resume Next instead.</description>
		<content:encoded><![CDATA[<p>S Singh, the recovery scenario you design for this can just have ExitTest in it. If the RS runs, it will simply exit the test. If it goes down because of issues that you can control, I would recommend Conditional logic or On Error Resume Next instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: s singh</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-59985</link>
		<dc:creator>s singh</dc:creator>
		<pubDate>Wed, 25 Apr 2012 11:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-59985</guid>
		<description>Hi Anshoo,

Can u pls tell me how to create recovery scenario to stop QTP script execution when application on which we are running the script goes down.</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,</p>
<p>Can u pls tell me how to create recovery scenario to stop QTP script execution when application on which we are running the script goes down.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-57547</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Thu, 15 Mar 2012 13:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-57547</guid>
		<description>Piyush, you will see the function in the list if it meets the criteria for it to be a RS function - that is, it must have the required args. Example:

&lt;pre&gt;
Function SomeFunc(Object)
    &#039;code
End Function
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Piyush, you will see the function in the list if it meets the criteria for it to be a RS function &#8211; that is, it must have the required args. Example:</p>
<pre>
Function SomeFunc(Object)
    'code
End Function
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyush</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-56290</link>
		<dc:creator>Piyush</dc:creator>
		<pubDate>Thu, 23 Feb 2012 11:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-56290</guid>
		<description>Hi Anshoo,
my problem is when I am calling recovery function in wizard which already exist in library,after selecting &quot;select function&quot; radio button I dont see any function in list from that function library(here I m not using &quot;define new function&quot; radio button).

Please suggest.</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
my problem is when I am calling recovery function in wizard which already exist in library,after selecting &#8220;select function&#8221; radio button I dont see any function in list from that function library(here I m not using &#8220;define new function&#8221; radio button).</p>
<p>Please suggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-54478</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 19 Jan 2012 05:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-54478</guid>
		<description>can you please give some more example for recovery scenario because i tried for pop up window and object state. . .  so please give some simple example for objects present in the application. . .</description>
		<content:encoded><![CDATA[<p>can you please give some more example for recovery scenario because i tried for pop up window and object state. . .  so please give some simple example for objects present in the application. . .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-54024</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Thu, 12 Jan 2012 16:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-54024</guid>
		<description>Amit, a very good way to avoid &quot;Object Not Found&quot; is by using the .Exist method.</description>
		<content:encoded><![CDATA[<p>Amit, a very good way to avoid &#8220;Object Not Found&#8221; is by using the .Exist method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-53551</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Thu, 05 Jan 2012 10:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-53551</guid>
		<description>Hi Anshoo,
Code I have written for recovery scenario is as below:
Function Recovery_ObjectNotFound(Obj, Method, Arguments, retVal)
   msgbox err.number
   msgbox err.source
   msgbox err.description
      
End Function
But when this function is executed then msgbox shows 0 for error number and blank for source and description. It means that err object is getting reset. As on next line in script also same values are shown</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
Code I have written for recovery scenario is as below:<br />
Function Recovery_ObjectNotFound(Obj, Method, Arguments, retVal)<br />
   msgbox err.number<br />
   msgbox err.source<br />
   msgbox err.description</p>
<p>End Function<br />
But when this function is executed then msgbox shows 0 for error number and blank for source and description. It means that err object is getting reset. As on next line in script also same values are shown</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://relevantcodes.com/recovery-scenario-test-run-error-item-in-list-or-menu-not-found/#comment-53543</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Thu, 05 Jan 2012 05:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1542#comment-53543</guid>
		<description>Hi Anshoo,
I am new to QTP, some times i get Object not found test run error from QTP. In my script I have added some checks which skips rest of lines if any step fails, but if i get an error like this I would like to log it in my result array so that it will be present in my report excel. SO can you tell me how to capture those errors and their bodies? and also custom function which I have written to record my results can be called from recovery functions to log results in my result array?</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
I am new to QTP, some times i get Object not found test run error from QTP. In my script I have added some checks which skips rest of lines if any step fails, but if i get an error like this I would like to log it in my result array so that it will be present in my report excel. SO can you tell me how to capture those errors and their bodies? and also custom function which I have written to record my results can be called from recovery functions to log results in my result array?</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 11/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:51:11 -->
