<?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/"
	>

<channel>
	<title>LoadRunner TnT &#187; automation</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/automation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automating Web-Browser Activities in a Breeze with iMacro</title>
		<link>http://www.loadrunnertnt.com/tools/automating-web-browser-activities-in-a-breeze-with-imacro/</link>
		<comments>http://www.loadrunnertnt.com/tools/automating-web-browser-activities-in-a-breeze-with-imacro/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 10:43:23 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Add-Ons]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[functional]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=593</guid>
		<description><![CDATA[iMacro from iOpus is a popular web automation add-on for Firefox.  For Firefox fans, you will be delighted with the features in iMacro that frees you from the mandate and boring work you need to perform on your web application.  If you need to automate your activities on the web-browser, you can use iMacro to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/10472.png"><img class="size-full wp-image-594 alignleft" title="10472" src="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/10472.png" alt="" width="115" height="86" /></a><a title="iMacro" href="https://addons.mozilla.org/en-US/firefox/addon/3863" target="_blank"><strong>iMacro from iOpus</strong></a> is a popular web automation add-on for Firefox.  For Firefox fans, you will be delighted with the features in iMacro that frees you from the mandate and boring work you need to perform on your web application.  If you need to automate your activities on the web-browser, you can use iMacro to do the job for you.  Moreover, you can use this automation for your functional testing needs by passing various variables into the web application.<span id="more-593"></span></p>
<p>What iMacro can do is similar to most automated testing tool and macros.  It uses a record and playback engine, and generates a script for you.  The script is in .imm format but it is very intuitive and easy to understand (like plain English).   The script can be open by any text editor and amended to your needs.  You can pass in different parameter values to test your web application.  You can loop the script to test the different values.</p>
<p>The below sample script:</p>
<blockquote><p>VERSION BUILD=6240709 RECORDER=FX<br />
SET !ERRORIGNORE YES<br />
SET !DATASOURCE C:\ DataSource\ ParameterList.txt<br />
SET !LOOP 1<br />
SET !DATASOURCE_LINE {{!LOOP}}<br />
TAB T=1<br />
TAB CLOSEALLOTHERS<br />
URL GOTO=http://www.communitysamplesite. com/ members/{{!COL1}}/</p></blockquote>
<p><!--adsensestart--></p>
<ol>
<li>The version of the build (no effect)</li>
<li>Set ignoring of error to yes – the effect is that the script will not stop if there is an error (similar to LoadRunner continue-on-error feature)</li>
<li>Set the data source to obtain the parameter value list – The parameter list can be manipulate by any text editor or excel-applications</li>
<li>Set the starting value (row ) from the parameter  to 1 – Meaning pulling the 1<sup>st</sup> record</li>
<li>Set the starting row in the parameter list (data source)</li>
<li>Set the target tab on Firefox browser</li>
<li>Close all other tabs in Firefox  browser</li>
<li>Go to URL of the member of Community Sample Site</li>
</ol>
<p>One thing that I’m unsure of is if iMacro has the ability to log errors during looping.  If you set iMacro to loop through the parameter values without <strong>SET !ERRORIGNORE YES</strong>, the script will abort when an error is encountered.  On the other hand, if <strong>SET !ERRORIGNORE YES</strong> is defined, the script will continue to run and not able to log any errors encountered.  I’m not too sure about this as I’ve not explored the log files yet or encountered any errors during my script execution.  Anyone who have done so, please fill us in with the details!  Greatly appreciated!</p>
<p>You can download <a href="https://addons.mozilla.org/en-US/firefox/addon/3863">iMacro from Mozilla Add-ons</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/automating-web-browser-activities-in-a-breeze-with-imacro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
