<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Automation Lab:- A touch of madness!</title>
	<atom:link href="https://automationlab09.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://automationlab09.wordpress.com</link>
	<description>First test and then automate...</description>
	<lastBuildDate>Fri, 09 Aug 2013 06:53:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='automationlab09.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://secure.gravatar.com/blavatar/07365516db02b006986ca67116339ac1a2520812c73b86f9a4f524463ff727a6?s=96&#038;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Automation Lab:- A touch of madness!</title>
		<link>https://automationlab09.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://automationlab09.wordpress.com/osd.xml" title="Automation Lab:- A touch of madness!" />
	<atom:link rel='hub' href='https://automationlab09.wordpress.com/?pushpress=hub'/>
	<item>
		<title>How to install selenium webdriver?</title>
		<link>https://automationlab09.wordpress.com/2013/08/09/how-to-install-selenium-webdriver/</link>
					<comments>https://automationlab09.wordpress.com/2013/08/09/how-to-install-selenium-webdriver/#respond</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Fri, 09 Aug 2013 06:48:44 +0000</pubDate>
				<category><![CDATA[Selenium]]></category>
		<category><![CDATA[how to create selenium project in Eclipse java]]></category>
		<category><![CDATA[How to install selenium webdriver?]]></category>
		<category><![CDATA[how to setup selenium webdriver]]></category>
		<category><![CDATA[steps to create project in selenium]]></category>
		<category><![CDATA[steps to install selenium webdriver]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=335</guid>

					<description><![CDATA[Steps to Create a Selenium Project in Eclipse Step 1: Download Eclipse http://www.eclipse.org/downloads/ Step 2: Launch Eclipse [Note:] If you get a prompt to select a workspace,provide a path to store your projects in a folder Step 3:Go to File&#62;New&#62;Project&#62;Java Project&#62;(click on next) Step 4: Provide Project Name eg. Automationlab&#62;(click on finish) Step 5: Now [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><span style="color:#ff0000;"><strong>Steps to Create a Selenium Project in Eclipse</strong></span></p>
<p><strong>Step 1:</strong> Download Eclipse<br />
<span style="color:#0000ff;"><a href="http://www.eclipse.org/downloads/" rel="nofollow">http://www.eclipse.org/downloads/</a></span></p>
<p><strong>Step 2:</strong> Launch Eclipse</p>
<p>[Note:] If you get a prompt to select a workspace,provide a path to store your projects in a folder</p>
<p><strong>Step 3</strong>:Go to File&gt;New&gt;Project&gt;Java Project&gt;(click on next)</p>
<p><strong>Step 4</strong>: Provide Project Name eg. Automationlab&gt;(click on finish)</p>
<p><strong>Step 5</strong>: Now you&#8217;ll see the folder &#8220;AutomationLab&#8221; listed on the editor.Double click the folder&gt;Select &#8216;src&#8217; subfolder</p>
<p><strong>Step 6</strong>: Right click on &#8216;src&#8217; folder&gt;New&gt;Class</p>
<p><strong>Step 7</strong>:Type in a Name for your Java Class file,cick on the check box for “public static void main (String args[])&gt;Finish</p>
<p>you are ready to go,if you see the below lines of code</p>
<p><span style="color:#008000;">public class lab {</span></p>
<p><span style="color:#008000;">    /**</span><br />
<span style="color:#008000;">     * @param args</span><br />
<span style="color:#008000;">     */</span><br />
<span style="color:#008000;">    public static void main(String[] args) {</span><br />
<span style="color:#008000;">        // TODO Auto-generated method stub</span></p>
<p><span style="color:#008000;">    }</span></p>
<p><span style="color:#008000;">}</span></p>
<p>Hold on&#8230;we are almost there!</p>
<p><strong>Step 8</strong>: Go back to parent folder &#8216;AutomationLab&#8217;&gt;Right click&gt;go to Properties</p>
<p><strong>Step 9</strong>: Go to Java Build Path&gt;Click on Add External JARs,browse all the files from the JAR that you&#8217;ve downloaded (i.e selenium),Link is provided for selenium download in article &#8220;<a title="What is selenium" href="https://automationlab09.wordpress.com/2013/08/09/what-is-selenium/">What is selenium</a>&#8220;.</p>
<p>Good Luck!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2013/08/09/how-to-install-selenium-webdriver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>
	</item>
		<item>
		<title>What is Selenium?</title>
		<link>https://automationlab09.wordpress.com/2013/08/09/what-is-selenium/</link>
					<comments>https://automationlab09.wordpress.com/2013/08/09/what-is-selenium/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Fri, 09 Aug 2013 05:46:59 +0000</pubDate>
				<category><![CDATA[Selenium]]></category>
		<category><![CDATA[browser compatibility testing using selenium]]></category>
		<category><![CDATA[selenium testing tool]]></category>
		<category><![CDATA[selenium webdriver]]></category>
		<category><![CDATA[what is selenium]]></category>
		<category><![CDATA[what is selenium 2]]></category>
		<category><![CDATA[what is webdriver]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=331</guid>

					<description><![CDATA[Selenium is a software testing framework or software testing tool for web based applications.]]></description>
										<content:encoded><![CDATA[<h3><strong><span style="color:#ff0000;">Introduction:-</span></strong></h3>
<p>Selenium is a software testing framework or software testing tool for web based applications.<br />
It provides the flexibility to write the test in different programming languages such as Java,C#,Perl,Python,ruby etc.<br />
It can run the same test script in different web browsers such as IE,FF,Chrome etc on windows,Linux and Macintosh platforms.</p>
<p>Developed by Jason Huggins at Thoughtworks.It is an open source software (License:-Apache License 2.0 ).<br />
Selenium is  written Java.It also provides an IDE (firefox plugin) that can record &amp; play the test and the same test can be exported in above mentioned programming languages.</p>
<p>Selenium 2 aka Web driver is widely used these days.To sum up &#8220;Selenium automates browsers&#8221;.</p>
<div><a href="https://automationlab09.wordpress.com/wp-content/uploads/2010/04/qtp-patch.gif"><img data-attachment-id="149" data-permalink="https://automationlab09.wordpress.com/2010/04/21/qtp-issues-with-firefox-browser-firefox-with-qtp/qtp-patch/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/04/qtp-patch.gif" data-orig-size="45,37" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="QTP patch" data-image-description="" data-image-caption="" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/04/qtp-patch.gif?w=45" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/04/qtp-patch.gif?w=45" class="alignleft size-full wp-image-149" title="Download selenium" alt="Download selenium" src="https://automationlab09.wordpress.com/wp-content/uploads/2010/04/qtp-patch.gif?w=570"   /></a></div>
<div><span style="color:blue;"><strong>Download Selenium:</strong></span></div>
<div><a href="http://docs.seleniumhq.org/download/"><span style="color:red;">Click here to download&#8211;&gt;</span></a></div>
<div></div>
<div>Cheers!</div>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2013/08/09/what-is-selenium/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2010/04/qtp-patch.gif" medium="image">
			<media:title type="html">Download selenium</media:title>
		</media:content>
	</item>
		<item>
		<title>Add attachment in QC</title>
		<link>https://automationlab09.wordpress.com/2011/08/31/add-attachment-in-qc/</link>
					<comments>https://automationlab09.wordpress.com/2011/08/31/add-attachment-in-qc/#respond</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 08:13:53 +0000</pubDate>
				<category><![CDATA[QC OTA]]></category>
		<category><![CDATA[Attach a File to TestLab in QC using QTP]]></category>
		<category><![CDATA[How to attach a file in QC]]></category>
		<category><![CDATA[How to Attach a File to a Test Sets Attachment Tab]]></category>
		<category><![CDATA[How to attach excel files in qc]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=321</guid>

					<description><![CDATA[Script to upload attachment in QC test lab: Dim oCurrentTest,oAttachment Set oCurrentTest = QCUtil.CurrentTest.Attachments Set oAttachment = oCurrentTest.AddItem(Null) oAttachment.FileName = &#8220;C:\Results.xls&#8221; oAttachment.Type = 1 oAttachment.Post oAttachment.Refresh Set oAttachment =Nothing Set oCurrentTest =Nothing]]></description>
										<content:encoded><![CDATA[<p><strong><span style="text-decoration:underline;">Script to upload attachment in QC test lab:</span></strong><br />
Dim oCurrentTest,oAttachment<br />
Set oCurrentTest = QCUtil.CurrentTest.Attachments<br />
Set oAttachment = oCurrentTest.AddItem(Null)<br />
oAttachment.FileName = &#8220;C:\Results.xls&#8221;<br />
oAttachment.Type = 1<br />
oAttachment.Post<br />
oAttachment.Refresh<br />
Set oAttachment =Nothing<br />
Set oCurrentTest =Nothing</p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2011/08/31/add-attachment-in-qc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>
	</item>
		<item>
		<title>What is Business Process Testing?</title>
		<link>https://automationlab09.wordpress.com/2011/07/24/what-is-business-process-testing/</link>
					<comments>https://automationlab09.wordpress.com/2011/07/24/what-is-business-process-testing/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Sun, 24 Jul 2011 16:09:10 +0000</pubDate>
				<category><![CDATA[Business Process Testing]]></category>
		<category><![CDATA[bpt framework]]></category>
		<category><![CDATA[bpt framework in qtp]]></category>
		<category><![CDATA[BPT Quality Center]]></category>
		<category><![CDATA[business process testing in qtp]]></category>
		<category><![CDATA[HP Business Process Testing]]></category>
		<category><![CDATA[What is BPT in QTP]]></category>
		<category><![CDATA[What is BPT QC]]></category>
		<category><![CDATA[What is Business Process Testing?]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=311</guid>

					<description><![CDATA[BPT, well, I’ve heard this term 2yrs back. Since then I kept wandering about it’s implementation and wondering about it’s development, until one fine day my offshore manager asked me to learn &#38; implement BPT for a pilot run . I straight jumped into the QTP help file repository and browse some links related to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://automationlab09.wordpress.com/wp-content/uploads/2011/07/bpt-in-qtp.png"><img data-attachment-id="313" data-permalink="https://automationlab09.wordpress.com/2011/07/24/what-is-business-process-testing/bpt-in-qtp/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2011/07/bpt-in-qtp.png" data-orig-size="90,45" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="BPT in QTP" data-image-description="" data-image-caption="" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2011/07/bpt-in-qtp.png?w=90" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2011/07/bpt-in-qtp.png?w=90" class="alignleft size-full wp-image-313" title="BPT in QTP" src="https://automationlab09.wordpress.com/wp-content/uploads/2011/07/bpt-in-qtp.png?w=570" alt=""   /></a>BPT, well, I’ve heard this term 2yrs back. Since then I kept wandering about it’s implementation and wondering about it’s development, until one fine day my offshore manager asked me to learn &amp; implement BPT for a pilot run .</p>
<p>I straight jumped into the QTP help file repository and browse some links related to BPT.The first sentence i had stumbled upon was <strong><span style="color:#0000ff;">“Subject matter experts creates an automation test”</span></strong>, re-read the sentence twice, thrice and more and closed the help file as the very first sentence  seemed to be  weird . Having been working with Keyword and Data driven framework , I felt  it’s not worth to concentrate more on this topic.</p>
<p>I kept on wondering about the issues I faced in script development and thought about the SME (one from my department )  creating an automated test and thought about my collegues just adding objects to OR and watching SME creating the test.</p>
<p>I went outside <em>bhabhi ki tapri</em> (Our Hangout Place) , had tea and puffed,suddenly one thought striked my mind:-</p>
<p>“<strong>We believe that if men have the talent to invent new machines that put men out of work, they have the talent to put those men back to work-</strong>Kennedy”</p>
<p>and my exploration and journey begun…..All I can say now is BPT is a wonderful concept and an amazing cost saving component oriented approach of automation.</p>
<p><span style="color:#ff0000;"><strong> What is Business Process Testing?</strong></span></p>
<p>BPT stands for Business Process Testing.It&#8217;s a component oriented approach to automation. It provides a script-free mechanism for business analysts to design and align tests with business processes for accurate functionality coverage, while allowing automation test engineers to focus on the automation stuffs.</p>
<p>HP Business Processing Testing Framework Key benefits:-</p>
<p>* Implement a framework for building reusable, data-driven test components</p>
<p>* Convert manual tests into manual components for instantly reusable test assets</p>
<p>* Support manual and scriptless automated components</p>
<p>* Use auto-documentation to make it easy for new testers to pick up test execution</p>
<p>* Create and update tests for SAP and Oracle using extended capabilities</p>
<p>In short, it closes a gap between the business people who design the business processes and the technical people who designs and develop the automation stuffs.It would be easier to maintain the components rather than the test.Eg, If a piece of functionality changed in an application, each of the test doesn’t have to be debugged/corrected, only the component associated with that test needs to be checked.( Maintainablity)</p>
<p>i.e Fix one,reflects everywhere!</p>
<p>Who does what?</p>
<p><span style="text-decoration:underline;"><strong>AE (Automation engineer):</strong></span></p>
<ul>
<li>Design Test Automation Architecture</li>
<li>Create Application Area (Area in QTP/QC where .Qfl, .Qrs and .Tsr files are created and saved)</li>
<li>Create a function library (Common functions)</li>
<li>Create OR, add objects , rename it accordingly.</li>
<li>Create Recovery Scenario and finally</li>
<li>Create business component as assigned.( egLogin, Logoff etc)</li>
</ul>
<p><strong><span style="text-decoration:underline;">SME/BA:</span></strong></p>
<ul>
<li>Define business component</li>
<li>Drag components to create business process (Business process is a sequential flow of the components/scenarios to be testes)</li>
<li>Asks AE to create custom components if needed for complex or logical scenario.</li>
<li>Run the test.</li>
</ul>
<p>More to come..keep watching this space….. <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2011/07/24/what-is-business-process-testing/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2011/07/bpt-in-qtp.png" medium="image">
			<media:title type="html">BPT in QTP</media:title>
		</media:content>
	</item>
		<item>
		<title>How to run QTP when system is locked?</title>
		<link>https://automationlab09.wordpress.com/2011/06/18/how-to-run-qtp-when-system-is-locked/</link>
					<comments>https://automationlab09.wordpress.com/2011/06/18/how-to-run-qtp-when-system-is-locked/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Sat, 18 Jun 2011 02:32:45 +0000</pubDate>
				<category><![CDATA[Expert View]]></category>
		<category><![CDATA[How to run QTP when system is locked?]]></category>
		<category><![CDATA[QTP run issue]]></category>
		<category><![CDATA[Qtp system locked]]></category>
		<category><![CDATA[Registry settings using QTP]]></category>
		<category><![CDATA[run qtp scripts when system is locked]]></category>
		<category><![CDATA[Run QTP system locked]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=298</guid>

					<description><![CDATA[How to run QTP when system is locked? Go to start&#62;Run&#62;Regedit&#62; Change the following registry settings:- Step 1:Goto HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\MicTest Step 2:Locate the key &#8220;SkipEnvironmentChecks&#8221; step 3:Change the value to &#8220;1&#8221; (Default value is 0) Step 4:Restart the QTP. Now QTP should run with system locked.(make sure unnecessary pop ups are disabled)]]></description>
										<content:encoded><![CDATA[<p>How to run QTP when system is locked?</p>
<p><span style="color:#3366ff;"><strong>Go to start&gt;Run&gt;Regedit&gt;</strong></span></p>
<p>Change the following registry settings:-</p>
<p><strong>Step 1</strong>:Goto HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\MicTest<br />
<strong>Step 2</strong>:Locate the key &#8220;SkipEnvironmentChecks&#8221;<br />
<strong>step 3</strong>:Change the value to &#8220;1&#8221; (Default value is 0)<br />
<strong>Step 4</strong>:Restart the QTP.</p>
<p>Now QTP should run with system locked.(make sure unnecessary pop ups are disabled)</p>
<div data-shortcode="caption" id="attachment_302" style="width: 565px" class="wp-caption aligncenter"><a href="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg"><img aria-describedby="caption-attachment-302" data-attachment-id="302" data-permalink="https://automationlab09.wordpress.com/2011/06/18/how-to-run-qtp-when-system-is-locked/run-qtp-when-system-is-locked/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg" data-orig-size="555,428" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Run QTP when system is locked" data-image-description="" data-image-caption="&lt;p&gt;Run QTP when system is locked&lt;/p&gt;
" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg?w=300" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg?w=555" class="size-full wp-image-302" title="Run QTP when system is locked" src="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg?w=570" alt="Run QTP when system is locked"   srcset="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg 555w, https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg?w=150&amp;h=116 150w, https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg?w=300&amp;h=231 300w" sizes="(max-width: 555px) 100vw, 555px" /></a><p id="caption-attachment-302" class="wp-caption-text">Run QTP when system is locked</p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2011/06/18/how-to-run-qtp-when-system-is-locked/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2011/06/run-qtp-when-system-is-locked.jpg" medium="image">
			<media:title type="html">Run QTP when system is locked</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamically wait an object in an application</title>
		<link>https://automationlab09.wordpress.com/2011/06/15/dynamically-wait-an-object-in-an-application/</link>
					<comments>https://automationlab09.wordpress.com/2011/06/15/dynamically-wait-an-object-in-an-application/#respond</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Wed, 15 Jun 2011 17:00:07 +0000</pubDate>
				<category><![CDATA[Descriptive Programming]]></category>
		<category><![CDATA[Dynamically wait an object in an application]]></category>
		<category><![CDATA[Object wait issue in qtp]]></category>
		<category><![CDATA[sync issue in qtp]]></category>
		<category><![CDATA[Wait an object dynamically in qtp]]></category>
		<category><![CDATA[wait() in qtp]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=291</guid>

					<description><![CDATA[&#8220;Dynamically wait an object in an application&#8221; It known to all that scripts written for web application suffers a lot when it comes to Wait() or Syc().Wait() statement waits for 10 sec which is not recommended and wait(1),wait(2)..wait(n) cannot add any value if script has to cope with multiple rows of data.Lets take an example. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><em>&#8220;Dynamically wait an object in an application&#8221;</em></p>
<p>It known to all that scripts written for web application suffers a lot<br />
when it comes to Wait() or Syc().Wait() statement waits for 10 sec which is<br />
not recommended and wait(1),wait(2)..wait(n) cannot add any value if script has<br />
to cope with multiple rows of data.Lets take an example.</p>
<p>No or rows(in data sheet) to process =300<br />
Function retrievetransno()<br />
Wait(2)<br />
End function<br />
If above function is called in each iteration, image how much execution<br />
time is wasted.</p>
<p>2*300=600 sec<br />
600/60=10 min</p>
<p>10 mins execution time is wasted if we are going to use wait statement.<br />
If wait() is used then it&#8217;s more pathetic:<br />
10*300=3000 sec<br />
3000/60=50 min</p>
<p>Following function could be used to overcome the above issue.It dynamically<br />
waits and check the status of the object within the given time limit and<br />
exits out if the object is not present within that time limit.<br />
1*300=300 sec<br />
300/60=5 mins</p>
<p>Lets start with:</p>
<div style="overflow:scroll;width:540px;height:290px;color:#ffffff;background-color:#525c52;padding-left:5px;">
<div>
<pre>'===================================================================================================
'Function:ObjectChecker
'Purpose: Lets you dynamically wait the presence of an object in an application
'Arguments: vObj,iCounter
'@vObj:Test object
'@iCounter:Maximum no of seconds (to wait)
'Author: Bibek Khatiwara
'Created on: 15th june 2011
'===================================================================================================
Function ObjectChecker (vObj,iCounter)

vObjStatus = False
Flag = 0
Do
Flag = Flag+1
If vObj.Exist(1) Then
Reporter.ReportEvent micDone ,"Wait time calc","Seacrh text box displayed in "&amp;Flag&amp;" second(s)"
vObjStatus = True
Else
If Flag = iCounter Then
Exit Do
End If
End If
Loop Until vObjStatus = True
ObjectChecker = vObjStatus

End Function

'Usage(sample):
Set oTxtbox=Browser("name:=google.*").Page("title:=google.*").WebEdit("name:=q")
ObjectChecker oTxtbox ,10
Set oTxtbox=Nothing</pre>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2011/06/15/dynamically-wait-an-object-in-an-application/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>
	</item>
		<item>
		<title>Keyword driven framework architecture in QTP</title>
		<link>https://automationlab09.wordpress.com/2010/11/13/keyword-driven-framework-architecture-in-qtp/</link>
					<comments>https://automationlab09.wordpress.com/2010/11/13/keyword-driven-framework-architecture-in-qtp/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Sat, 13 Nov 2010 04:43:47 +0000</pubDate>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[How to build keyword driven framework in qtp]]></category>
		<category><![CDATA[Keyword driven framework architecture]]></category>
		<category><![CDATA[Keyword driven framework in QTP]]></category>
		<category><![CDATA[QTP framewrok architecture]]></category>
		<category><![CDATA[What is keyword driven framewrok in qtp 10]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=258</guid>

					<description><![CDATA[Framework:A hypothetical description of a complex entity or process-Word Web. Here, word hypothetical makes it clear that it&#8217;s based primarily on surmise rather than adequate evidence.There are no rules and standards on test framework development.It varies from organization to organization and from team to team.Project internal architecture provides a great source of information for organizing [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Framework:</strong>A hypothetical description of a complex entity or process-<em>Word Web</em>.</p>
<p>Here, word hypothetical makes it clear that it&#8217;s based primarily on surmise rather than adequate evidence.There are no rules and standards on test framework development.It varies from organization to organization and from team to team.Project internal architecture provides a great source of information for organizing the components of our framework.Testing components needs to be well organized to accomplish the task effectively,efficiently and in a systematic order.</p>
<p>We need to develop framework in a way that leads to accomplish the task without much human intervention.The heart of &#8220;Keyword driven test automation framework&#8221; is common functions that resides within the function library and the keyword acts as&nbsp; it&#8217;s brain.Framework must be enough flexible to run with the desired keyword from the pool of available keywords.</p>
<p>well,It&#8217;s been my passion to play with electronic chips since my childhood.I can even survive in desert if i get electronic scarps and a screwdriver <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Hence,I decided to develop a flexible framework looking at the architecture of RADIO that have been rusted on my bedroom for years.</p>
<p>The component used &amp; it&#8217;s analogy with RADIO:</p>
<p>QTP has it&#8217;s own limitation for loading resources;as it does not allow to load .QRS file in run time,here,it goes off the track from radio tuning mechanism.Once radio is turned on we tune to different stations and adjust it&#8217;s volume and rotate/pull up-down it&#8217;s antenna to have a clarity.</p>
<p>Here we do just opposite, we first do the appropriate setting and proceed with further run.</p>
<p>How keyword driven framework works:</p>
<p>1.Plug in to environment.</p>
<p>2.Do a little bit settings on test_environment setting file;eg,paths of resources,email configuration,project url,expected time etc.</p>
<p>3.Search &amp; Select appropriate generic keywords from keyword pool.</p>
<p>4.Go</p>
<p>Radio analogy:</p>
<p>1.Plug in to switch board.</p>
<p>2.Search for station</p>
<p>3.Set the volume and adjust the antenna</p>
<p>4.Turn on.</p>
<p>(normally 4 comes before step 2)</p>
<p>1.. 2 &#8230;3&#8230; Go&#8230;&#8230;..! that&#8217;s it.</p>
<p>Details of the Component Architecture are as follows: <em><strong>[Note:the architecture is based on my own assumption(analogy with RADIO),if you find it uncomfortable,kindly scold me <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> with your invaluable suggestions]</strong></em></p>
<p><a href="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg"><img loading="lazy" data-attachment-id="265" data-permalink="https://automationlab09.wordpress.com/2010/11/13/keyword-driven-framework-architecture-in-qtp/keyword-driven-framework-architecture-in-qtp/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg" data-orig-size="696,472" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Keyword driven framework architecture in qtp" data-image-description="" data-image-caption="" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg?w=300" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg?w=570" class="aligncenter size-full wp-image-265" title="Keyword driven framework architecture in qtp" src="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg?w=570&#038;h=386" alt="Keyword driven framework architecture in qtp" width="570" height="386" srcset="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg?w=570&amp;h=386 570w, https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg?w=150&amp;h=102 150w, https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg?w=300&amp;h=203 300w, https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg 696w" sizes="(max-width: 570px) 100vw, 570px" /></a></p>
<p>1.Start.Exe: Starts the tool using AOM and pass the control to Driver.</p>
<p>2.Application Scenarios: Test plan,test case and test steps.</p>
<p>3.Test Object Description: Pool of test object properties and description.</p>
<p>4.Resources: Repository files for application dependent functions.</p>
<p>5:Mytest: Driver script resides.</p>
<p>6: Session manager: manages the session of the test run &amp; helps in recovery if run is unsuccessful due to some unforeseen events.</p>
<p>7.Test Environment_Config settings: Test run settings. (application specific)</p>
<p>8.Func Library: Common functions and application dependent functions separately.</p>
<p>9:Recovery Files: .QRS or custom recovery functions.</p>
<p>10:Run Results: Application run results.</p>
<p>11:Help files: help files and framework documentations.</p>
<p>Following are my tweets so far (on framework development):</p>
<p>Automation framework rule #1:If it’s not simple, it won’t work! if it&#8217;s simple it&#8217;s fun to use.</p>
<p>Automation Framework rule #2:Achieving 100% automatic tests is an unreachable goal,never dream it.</p>
<p>Automation framework rule# 3:Make it easier to discover the errors that occur.</p>
<p>Automation Framework Rule #4:Focus on stability;the more stable the design, the lower the maintenance cost.</p>
<p>You must have realized as of now&nbsp; that framework is just a wrapper around complex internal architecture to have</p>
<p>a great drive with less interruption.Let turn on your radio coz you need not to know how it&#8217;s playing.Stakeholders</p>
<p>should play with our flexible framework&nbsp; just as we tune/play our radio.</p>
<p>Friend,Join us on twitter for more discussions.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2010/11/13/keyword-driven-framework-architecture-in-qtp/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/keyword-driven-framework-architecture-in-qtp.jpg" medium="image">
			<media:title type="html">Keyword driven framework architecture in qtp</media:title>
		</media:content>
	</item>
		<item>
		<title>Non-Traditional Way to sort an array in QTP,Vbscript</title>
		<link>https://automationlab09.wordpress.com/2010/08/10/non-traditional-way-to-sort-an-array-in-qtpvbscript/</link>
					<comments>https://automationlab09.wordpress.com/2010/08/10/non-traditional-way-to-sort-an-array-in-qtpvbscript/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 09:57:22 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[sort an array in QTP]]></category>
		<category><![CDATA[sort an array in vbscript]]></category>
		<category><![CDATA[sorting an array using dotnet factory in qtp]]></category>
		<category><![CDATA[Sorting arrays in VBScript]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=267</guid>

					<description><![CDATA[&#8220;Is there any method to sort an array in VBScript?&#8221; As VBScripter doesn&#8217;t have any inbuilt VBScript function to sort an array,we need to follow the same algorithm of Bubble sort,Selection sort,Quick sort etc.. we can overcome this limitations using .Net Class method. well,if you have .NET Framework installed on your PC then you&#8217;ve won [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><em>&#8220;Is there any method to sort an array in VBScript?&#8221;</em></p>
<p>As VBScripter doesn&#8217;t have any inbuilt VBScript function to sort an array,we need to follow the same algorithm of Bubble sort,Selection sort,Quick sort etc.. we can overcome this limitations using .Net Class method.</p>
<p>well,if you have .NET Framework installed on your PC then you&#8217;ve won already <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> [You need not worry for above version of QTP]</p>
<p>Firstly,we need to create an instance of System.Collections.ArrayList object.</p>
<p>Here,System.Collections.ArrayList being a .NET class used for creating dynamic arrays(again no need to worry about Redim and Preserve)</p>
<p>After creating arraylist object we then use the Add method to add items to our array.</p>
<p>Sort() method is used to sort in ascending order while i haven&#8217;t found reverse() method flexible as sort.For reversing we need to sort first and reverse it again..2 steps!</p>
<p>Lets start with:</p>
<div style="overflow:scroll;width:540px;height:290px;color:#ffffff;background-color:#525c52;padding-left:5px;">
<div>
<pre>'================================================
'Author:QTP Lab:a touch of madness!
'Date:23/11/2009
'Description:This function sorts an array into ascending
'            and descending order using .Net class methods.
'Function:SortArray()
'=========================================================

Function SortArray()

Dim myObj,sBf
sBf=""
Set myObj=CreateObject("System.Collections.ArrayList")
myObj.Add("Ba")
myObj.Add("R")
myObj.Add("A")
myObj.Add("Bb")
myObj.Add("S")
myObj.Add("M")
myObj.Add("D")
myObj.Add("J")
myObj.Add("Bc")
myObj.sort()
'myObj.reverse()   'Disable this line if you want to sort in an ascending order.

For each sNames in myObj
sBf=sBf&amp;sNames&amp;"--&gt;"
Next
msgbox sBf,0,"Ascending order"

Set myObj=Nothing

End Function</pre>
</div>
</div>
<p><span style="color:#0000ff;"><strong>Output:</strong></span></p>
<p><span style="color:#0000ff;"><strong><a href="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg"><img loading="lazy" data-attachment-id="275" data-permalink="https://automationlab09.wordpress.com/2010/08/10/non-traditional-way-to-sort-an-array-in-qtpvbscript/sort-array-in-qtp-2/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg" data-orig-size="232,106" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="sort array in qtp" data-image-description="" data-image-caption="" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg?w=232" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg?w=232" class="aligncenter size-full wp-image-275" title="sort array in qtp" src="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg?w=570" alt=""   srcset="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg 232w, https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg?w=150&amp;h=69 150w" sizes="(max-width: 232px) 100vw, 232px" /></a><br />
</strong></span></p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2010/08/10/non-traditional-way-to-sort-an-array-in-qtpvbscript/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/sort-array-in-qtp1.jpg" medium="image">
			<media:title type="html">sort array in qtp</media:title>
		</media:content>
	</item>
		<item>
		<title>Checkproperty method in QTP:</title>
		<link>https://automationlab09.wordpress.com/2010/08/05/checkproperty-method-in-qtp/</link>
					<comments>https://automationlab09.wordpress.com/2010/08/05/checkproperty-method-in-qtp/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Thu, 05 Aug 2010 09:08:11 +0000</pubDate>
				<category><![CDATA[Fundamentals]]></category>
		<category><![CDATA[.Checkproperty]]></category>
		<category><![CDATA[Check property qtp]]></category>
		<category><![CDATA[Checkproperty in QTP]]></category>
		<category><![CDATA[micGreaterThan]]></category>
		<category><![CDATA[wait property qtp]]></category>
		<category><![CDATA[waitproperty qtp]]></category>
		<category><![CDATA[What is CheckProperty in QTP]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=253</guid>

					<description><![CDATA[Checkproperty method in QTP: Automation tool itself does not find and report new bug(s) efficiently.It requires a skill of automation tester to let tool perform the operation in an efficient manner.We generally verify that application performs as expected;and if not,then report warning or info or error.Power of automation is unleashed only when we understand the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong><span style="color:red;">Checkproperty method in QTP:</span></strong><br />
<a href="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg"><img loading="lazy" data-attachment-id="254" data-permalink="https://automationlab09.wordpress.com/2010/08/05/checkproperty-method-in-qtp/check-property-in-qtp/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg" data-orig-size="170,113" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Check property in qtp" data-image-description="" data-image-caption="" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg?w=170" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg?w=170" class="alignleft size-full wp-image-254" title="Check property in qtp" src="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg?w=570" alt="Check property in qtp"   srcset="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg 170w, https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg?w=150&amp;h=100 150w" sizes="(max-width: 170px) 100vw, 170px" /></a>Automation tool itself does not find and report new bug(s) efficiently.It requires a skill of automation tester to let tool perform the operation in an efficient manner.We generally verify that application performs as expected;and if not,then report warning or info or error.Power of automation is unleashed only when we understand the thin line(hypothetical) that is between manual test and automation tool(s).I call this line as <em><strong>Auto-Manual bridge</strong></em>.I work out there.</p>
<p>Rolling back to topic again: There are different methods and properties available for checking/verifying.Exist,checkproperty, getROProperty etc.Let&#8217;s discuss Checkproperty method.We often come across a situation to verify the status of page load, test entered on the text box and similar scenarios.Checkproperty methods is very handy to solve the above problems easily.</p>
<p><strong><span style="color:blue;">Example:</span></strong></p>
<div style="overflow:scroll;width:540px;height:190px;color:#ffffff;background-color:#525c52;padding-left:5px;">
<div>
<pre>Syntax:object.CheckProperty (PropertyName, PropertyValue, [TimeOut])

Example 1.Check the status of page.

&gt;Browser("micclass:=Browser").Page("micclass:=Page").Object.CheckProperty ("status","done",3000)

Example 1.Verify the text Automationlab09 has been entered on the name textbox.

&gt;Browser(“micclass:=Browser”).Page(“micclass:=Page”).WebEdit(“name of text box”).Set “Automationlab09”
sCheck=Browser(“micclass:=Browser”).Page(“micclass:=Page”).WebEdit(“Name”).CheckProperty (“value”, “Automationlab09”)</pre>
</div>
</div>
<p>Here (in example 1), Quick test verifies whether the status on the status bar of browser is displayed as &#8220;done&#8221; or not. It waits till the timeout period ie. 3 seconds(in milliseconds),If it is unable to verify the status within 3 seconds then it&#8217;ll use the default time period specified in test settings.If verification is successful within time period it&#8217;ll return a boolean value TRUE and report test status as &#8220;PASSED&#8221; on test results else it&#8217;ll return boolean value FALSE and report the test status as &#8220;FAILED&#8221; on test results viewer.<br />
This is an alternative way of using checkpoint in descriptive programming.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2010/08/05/checkproperty-method-in-qtp/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2010/08/check-property-in-qtp.jpg" medium="image">
			<media:title type="html">Check property in qtp</media:title>
		</media:content>
	</item>
		<item>
		<title>Send email with attachment from outlook using QTP:</title>
		<link>https://automationlab09.wordpress.com/2010/07/19/send-email-with-attachment-from-outlook-using-qtp/</link>
					<comments>https://automationlab09.wordpress.com/2010/07/19/send-email-with-attachment-from-outlook-using-qtp/#comments</comments>
		
		<dc:creator><![CDATA[Bibek Khatiwara]]></dc:creator>
		<pubDate>Mon, 19 Jul 2010 06:58:14 +0000</pubDate>
				<category><![CDATA[Expert View]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[How do we send email from QTP]]></category>
		<category><![CDATA[How to send QTP test results to an email]]></category>
		<category><![CDATA[Outlook and QTP]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[QTP Script to send email]]></category>
		<category><![CDATA[Send email with attachment from outlook using qtp]]></category>
		<category><![CDATA[Sending Email : Vbscript]]></category>
		<category><![CDATA[Sending Mail from QTP using OutLook]]></category>
		<guid isPermaLink="false">http://automationlab09.wordpress.com/?p=234</guid>

					<description><![CDATA[Send email with attachment from outlook using qtp 9,qtp 10]]></description>
										<content:encoded><![CDATA[<p><strong><span style="color:red;">Send email with attachment from outlook using QTP:</span></strong></p>
<p><strong><a href="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg"><img loading="lazy" data-attachment-id="241" data-permalink="https://automationlab09.wordpress.com/2010/07/19/send-email-with-attachment-from-outlook-using-qtp/qtp-send-result-in-email-3/" data-orig-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg" data-orig-size="176,181" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="QTP-send-result-in-email" data-image-description="" data-image-caption="" data-medium-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg?w=176" data-large-file="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg?w=176" class="alignleft size-full wp-image-241" title="QTP-send-result-in-email" src="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg?w=570" alt="QTP send result in email"   srcset="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg 176w, https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg?w=146&amp;h=150 146w" sizes="(max-width: 176px) 100vw, 176px" /></a>Stakeholders</strong> are the persons to whom we need to report the coverage of our day to day testing activities.Members of management relies on the data..that&#8217;s it! They do not give damn interest on whether your scripts is running or not.I have seen most of my colleagues enjoying after the successful run of their scripts.Well, the mission of automation developer is not simply to run scripts or to debug.Automation developers are still the testers and the mission of automation and manual testers is same.Frequent manual intervention hassles our automation work.It&#8217;s wise to find out and reduce the human intervention on the running and ran scripts.After run session it&#8217;s wise to bundle up the result dumps, attach in mail and send to one/more of our stakeholders.Outlook provides a simpler way to achieve the same, before running the scripts you must make sure that outlook express has been configured on your machine.If outlook hasn&#8217;t been configured on your system then send mail functionality would not work.You could ask your tech-support guys to configure your outlook application to have a smooth ride.</p>
<p><strong><span style="color:blue;">Code:</span></strong></p>
<div style="overflow:scroll;background-color:#525c52;width:615px;height:430px;color:#ffffff;">
<div>
<pre>'**********************************************
'Function: Sendmail_fromQTP
'Arguments:
                   'sMailto:Recipient email address

                   'sSubject:Mail subject

                   'sBody:Mail body text

                   'sAttachment: Attachment file path

'Description:Send mail using Outlook express
'Author:QTP Lab:--A touch of madness
'Website:https://automationlab09.wordpress.com
'Last modified:19/07/2010

'*********************************************

Function Sendmail_fromQTP(sMailto,sSubject,sBody,sAttachment)

set oMailobj=CreateObject("Outlook.Application")

set oSendmail=oMailobj.CreateItem(0)
      oSendmail.To=sMailto
      oSendmail.Subject=sSubject
      oSendmail.Body=sBody
      If (sAttachment &lt;&gt; "") Then
         oSendmail.Attachments.Add(sAttachment)
      Else
           Reporter.ReportEvent micInfo,"Sending mail:","Unable to send attachment,please verify your attachment file"

       End If 

       oSendmail.Send

set oSendmail=Nothing
set oMailobj=Nothing

End Function

'Usage:
 Sendmail_fromQTP "name@example.com","Mail from QTP","Your mail descrn goes here..","C:\test.txt"</pre>
</div>
</div>
<p>I haven&#8217;t ran the code,please do let me know if you face any difficulties while working on above script.<br />
<strong>Thank you!</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://automationlab09.wordpress.com/2010/07/19/send-email-with-attachment-from-outlook-using-qtp/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/97eaa977eeca8b7b1f72c50bb43260321db053d356ee1fc31e33d2cd2f9e1e80?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">qtp09</media:title>
		</media:content>

		<media:content url="https://automationlab09.wordpress.com/wp-content/uploads/2010/07/qtp-send-result-in-email2.jpg" medium="image">
			<media:title type="html">QTP-send-result-in-email</media:title>
		</media:content>
	</item>
	</channel>
</rss>
