<?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>Flex Automation</title>
	<atom:link href="http://raniskumar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://raniskumar.wordpress.com</link>
	<description>Learn more about the Adobe Flex Automation framewokr</description>
	<lastBuildDate>Wed, 07 Dec 2011 11:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='raniskumar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Flex Automation</title>
		<link>http://raniskumar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://raniskumar.wordpress.com/osd.xml" title="Flex Automation" />
	<atom:link rel='hub' href='http://raniskumar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Automation double click events in Flex components.</title>
		<link>http://raniskumar.wordpress.com/2011/07/21/automation-double-click-events-in-flex-components/</link>
		<comments>http://raniskumar.wordpress.com/2011/07/21/automation-double-click-events-in-flex-components/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 12:53:15 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
		
		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=249</guid>
		<description><![CDATA[There is no direct way  to achieve this.  You can make your component support a special double click event. e.g Assume you want to support double click on button create MyButton which extends Button Listen to mouse double click event, dispatch a custom event e.g ButtonDoubleClickEvent Create a delegate class for MyButton  (MyButtonAutomationImpl which extends [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=249&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is no direct way  to achieve this.  You can make your component support a special double click event.</p>
<p>e.g Assume you want to support double click on button</p>
<p>create MyButton which extends Button</p>
<p>Listen to mouse double click event, dispatch a custom event e.g ButtonDoubleClickEvent</p>
<p>Create a delegate class for MyButton  (MyButtonAutomationImpl which extends ButtonAutomationImpl)</p>
<p>listen to ButtonDoubleClick event and send for recording (refer any of the delegate classes for sample code)</p>
<p>Add details of ButtonDoubleClick event in the tool XML.</p>
<p>&nbsp;</p>
<p>Why it does not work:</p>
<p>Automation works based on the highlevel event and clear of the other events in the sequence.  e.g Mouse down is considered as the new event. So it cleared. So a double click will be treated as two clicks. So having the custom event, prevents us from listening to the double click event instead the custom event.</p>
<p>I think chart has special double click event.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=249&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2011/07/21/automation-double-click-events-in-flex-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Record replay works , but other features of QTP such as object spy, hightlight in application does not work?</title>
		<link>http://raniskumar.wordpress.com/2011/07/21/record-replay-works-but-other-features-of-qtp-such-as-object-spy-hightlight-in-application-does-not-work/</link>
		<comments>http://raniskumar.wordpress.com/2011/07/21/record-replay-works-but-other-features-of-qtp-such-as-object-spy-hightlight-in-application-does-not-work/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 12:08:35 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
		
		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=244</guid>
		<description><![CDATA[If you are facing the above situation in QTP, one of the strong reason could be that you are using an incompatable wmode option. what is that ? in your html, if you have mentioned the wmode value as transparent or opaque, automation does not work with the tools which needs the  hwnd of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=244&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are facing the above situation in QTP, one of the strong reason could be that you are using an incompatable wmode option.</p>
<p>what is that ? in your html, if you have mentioned the wmode value as transparent or opaque, automation does not work with the tools which needs the  hwnd of the flash player.  e.g QTP.</p>
<p>why it does not work?</p>
<p>The window associated with the plugin client is registered using the hwnd. When the swf is loaded through the flash player, which is embedded in the html page, if the wmode is window, there is a separate window (and hence an hwnd-window handle) associated with the player. This is used to uniquely identify the swf for automation.</p>
<p>When the wmode is opaque or transaprent,  there is no separate window for the flash player, hence the unique identification of the flashplayer does not work.  The window gets associated with the browser and since the flash player identity is lost, all the flash components will be recognized as web elements.</p>
<p>What to do?</p>
<p>There is no best solution here other than changing the wmode option.  May be you can use a different html with the required wmode setting for testing.</p>
<p>Some useful information</p>
<p>what is wmode ?</p>
<p>Pre flash player 10</p>
<ul>
<li><code>wmode</code>- Possible values: window, opaque, transparent. Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser.
<ul>
<li><code>window</code> &#8211; movie plays in its own rectangular window on a web page.</li>
<li><code>opaque</code> &#8211; the movie hides everything on the page behind it.</li>
<li><code>transparent</code> &#8211; the background of the HTML page shows through all transparent portions of the movie. This option can slow animation performance.</li>
</ul>
<p>For complete details  refer &#8211; http://labs.almerblank.com/2011/03/the-wmode-embed-parameter-de-mystified</li>
</ul>
<p>What is the significance of transparent and opaque with hwnd ? (taken from http://forums.adobe.com/thread/870713?decorator=print&amp;displayFullThread=true)</p>
<p>By default, the Flash Player gets its own hWnd in Windows. This means that the Flash movie actually exists in a display instance within Windows that lives above the core browser display window. So though it appears to be in the browser window, technically, it isn&#8217;t. It is most efficient for Flash to draw this way and this is the fastest, most efficient rendering mode. However, it is drawing independently of the browser&#8217;s HTML rendering surface. This is why this default mode (which is equivalent to wmode=&#8221;window&#8221;) doesn&#8217;t allow proper compositing with DHTML layers. This is why your JavaScripted drop-down menus will drop behind your Flash movie.<br />
In windowless modes (like opaque), Flash Player doesn&#8217;t have a hWnd. This means that the browser tells the Flash Player when and where to draw onto the browser&#8217;s own rendering surface. The Flash movie is no longer being rendered on a higher level if you will. It&#8217;s right there in the page with the rest of the page elements. The Flash buffer is simply drawn into whatever rectangle the browser says, with any Flash stage space not occupied by objects receiving the movie&#8217;s background color.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=244&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2011/07/21/record-replay-works-but-other-features-of-qtp-such-as-object-spy-hightlight-in-application-does-not-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom component Automation &#8211; Part III &#8211; Container class extending from non container class</title>
		<link>http://raniskumar.wordpress.com/2010/04/12/cca_containerclass/</link>
		<comments>http://raniskumar.wordpress.com/2010/04/12/cca_containerclass/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 08:50:59 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>
		<category><![CDATA[Custom component automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=215</guid>
		<description><![CDATA[Samples CustomContainerDelegateCustomContainerDelegate CustomContainer Custom Component automation presentation prerequisite:   read the part I session on custom component automation. http://raniskumar.wordpress.com/2009/09/01/custom-compone…n-introduction  read the part II session on custom component automation. http://raniskumar.wordpress.com/2010/04/12/cca-part-ii Custom component automation  &#8211; Container class extending from non container class In this post I would try to explain the steps to be followed for handling the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=215&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Samples</h2>
<p><a href="http://raniskumar.files.wordpress.com/2010/04/customcontainerdelegate.pdf">CustomContainerDelegate</a><a href="http://raniskumar.files.wordpress.com/2010/04/customcontainerdelegate.pdf">CustomContainerDelegate</a></p>
<p><a href="http://raniskumar.files.wordpress.com/2010/04/customcontainer.pdf">CustomContainer</a></p>
<p><a href="http://raniskumar.files.wordpress.com/2010/04/automation_final.ppt">Custom Component automation presentation</a><a href="http://raniskumar.files.wordpress.com/2010/04/automation_final.ppt"></a></p>
<h2>prerequisite: </h2>
<ul>
<li> read the part I session on custom component automation.</li>
</ul>
<p><a href="http://raniskumar.wordpress.com/2009/09/01/custom-compone…n-introduction">http://raniskumar.wordpress.com/2009/09/01/custom-compone…n-introduction</a></p>
<p> read the part II session on custom component automation.</p>
<p><a href="http://raniskumar.wordpress.com/2010/04/12/cca-part-ii">http://raniskumar.wordpress.com/2010/04/12/cca-part-ii</a></p>
<h2><span style="text-decoration:underline;">Custom component automation  &#8211; Container class extending from non container class</span></h2>
<p>In this post I would try to explain the steps to be followed for handling the case of  a custom class which was extending from a non standard container class, but the class need to be treated as the container class.</p>
<p>e.g Your custom class MyClass extending from UIComponent (which is a non container standard framework class), eventhough as  a standard class it does not represent a container, it allows  to use the class as container programatically by using addChild, getChild etc. </p>
<p>So if your extended class is meant to be a contianer (i,e if you woud like to get the children objects what you added in your base class), you need to program for the same.   The section explains how you can expose your children so that the user interaction on  those components can be supported. (e.g a button inside your contianer . Your script should look like</p>
<p>Application &#8230;&#8230; MyClass. childButton .click</p>
<p>i.e this sample does not cover how to expose events and user interaction on the MyClass. it coveres how the script can access the childButton in MyClass</p>
<p>Steps:</p>
<ul>
<li>Have your class MyClassAutomationImpl extend from UIComponentAutomationImpl
<ul>
<li>Refer the constructor and init in the sample delegate</li>
</ul>
</li>
</ul>
<p> </p>
<ul>
<li>Override the following methods (Note sample are only to explain the concept. It would not have followed all coding conventions)
<ul>
<li> numAutomationChildren  &#8211; this method should have the logic to find the number of children in the component and return. If your component is a fixed element contianer you can provide this detials. If your component is a container to the user and number of children is based on usage, this need to be computed and returned. (for calculation logic samples refer application)         </li>
</ul>
<p>           <em>override public function get numAutomationChildren():int</em><em>{</em><em>return 2;</em><em>}</em></p>
<p><em> </em> </p>
<ul>
<li><em>getAutomationChildren  &#8211; return children &#8211; calculated and or known.</em></li>
</ul>
</li>
</ul>
<p style="padding-left:120px;"> override public function getAutomationChildren():Array{</p>
<p style="padding-left:150px;">var childrenArray:Array = new Array();</p>
<p style="padding-left:150px;">childrenArray.push(customContainer.button1);</p>
<p style="padding-left:150px;">childrenArray.push(customContainer.button2);</p>
<p style="padding-left:150px;">return childrenArray;</p>
<p style="padding-left:120px;">}</p>
<ul>
<li> 
<ul>
<li style="padding-left:30px;"><em>getAutomationChildAt- return children &#8211; calculated and or known.</em></li>
</ul>
</li>
</ul>
<p style="padding-left:90px;">override public function getAutomationChildAt(index:int):IAutomationObject{</p>
<p style="padding-left:120px;">if(index ==0)</p>
<p style="padding-left:120px;">return customContainer.button1;</p>
<p style="padding-left:120px;">else if (index ==1)</p>
<p style="padding-left:120px;">return customContainer.button1;</p>
<p style="padding-left:120px;">else</p>
<p style="padding-left:120px;">return null;</p>
<p style="padding-left:90px;">}</p>
<ul>
<li> 
<ul>
<li style="padding-left:30px;"><em>createAutomationIDPart- create the part information of the child. Automation framework already has the logic of calculating this.  This internally uses the automationName and automationIndex to calutate this. However if you have a separate logic for calculating these, you can pass your callback methods here. Else, simply copy pase the following lines.</em></li>
</ul>
</li>
</ul>
<p style="padding-left:90px;">override public function createAutomationIDPart(child:IAutomationObject):Object{</p>
<p style="padding-left:120px;">var help:IAutomationObjectHelper = Automation.automationObjectHelper;</p>
<p style="padding-left:120px;">return help.helpCreateIDPart(uiAutomationObject, child);</p>
<p style="padding-left:90px;">}</p>
<ul>
<li> 
<ul>
<li>  createAutomationIDPartWithRequiredProperties<em>- create the part information of the child only using the requried properties as part of the part object.  This internally uses the automationName and automationIndex to calutate this. However if you have a separate logic for calculating these, you can pass your callback methods here. Else, simply copy pase the following lines.</em></li>
</ul>
</li>
</ul>
<p style="padding-left:90px;"> override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object{</p>
<p style="padding-left:120px;">var help:IAutomationObjectHelper = Automation.automationObjectHelper;</p>
<p style="padding-left:120px;">return help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child,properties);</p>
<p style="padding-left:90px;">}</p>
<ul>
<li> 
<ul>
<li>  resolveAutomationIDPart<em>- find the object using the part information.  This internally uses the automationName and automationIndex to calutate this. However if you have a separate logic for calculating these, you can pass your callback methods here. Else, simply copy pase the following lines.</em></li>
</ul>
</li>
</ul>
<p style="padding-left:90px;"> override public function resolveAutomationIDPart(part:Object):Array{</p>
<p style="padding-left:120px;">var help:IAutomationObjectHelper = Automation.automationObjectHelper;</p>
<p style="padding-left:120px;">return help.helpResolveIDPart(uiAutomationObject, part);</p>
<p style="padding-left:90px;">}</p>
<p style="padding-left:30px;">Have the entry for this class in the xml file.  For that you can do the follow.</p>
<ul>
<li>
<div style="padding-left:30px;">Get the section of the base class entry in the existing xml file.</div>
</li>
<li>
<div style="padding-left:30px;">Copy the contents, change the details as appropriate</div>
</li>
<li>e.g
<div>&lt;ClassInfo Name=&#8221;MyClass&#8221; GenericTypeID=&#8221;table&#8221; Extends=&#8221;FlexObject&#8221; SupportsTabularData=&#8221;false&#8221;&gt;</div>
</li>
</ul>
<p>&lt;IconInfo IconFile=&#8221;TEAPluginQTP.dll&#8221; IconIndex=&#8221;207&#8243;/&gt;</p>
<p>&lt;Description&gt;MyClass&lt;/Description&gt;</p>
<p>&lt;Implementation Class=&#8221;mx.controls::MyClass&#8221;/&gt;</p>
<p style="padding-left:30px;"> </p>
<br />Filed under: <a href='http://raniskumar.wordpress.com/category/flex-automation/flex-automation-flex-automation/'>Flex Automation</a> Tagged: <a href='http://raniskumar.wordpress.com/tag/custom-component-automation/'>Custom component automation</a>, <a href='http://raniskumar.wordpress.com/tag/flex-automation/'>Flex Automation</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=215&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2010/04/12/cca_containerclass/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom component Automation &#8211; Part II</title>
		<link>http://raniskumar.wordpress.com/2010/04/12/cca-part-ii/</link>
		<comments>http://raniskumar.wordpress.com/2010/04/12/cca-part-ii/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 06:11:53 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>
		<category><![CDATA[Custom component automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=194</guid>
		<description><![CDATA[prerequisite:  read the part I session on custom component. http://raniskumar.wordpress.com/2009/09/01/custom-compone…n-introduction What all information is needed to make a flex component automatable. 1. Record  support of the user interactions. 2. Replay support of the recorded script. 3. Allowing verification of the properties of the object. 4.Allowing to get the tabular representation of the object (if applicable) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=194&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>prerequisite:  read the part I session on custom component.</p>
<p>http://raniskumar.wordpress.com/2009/09/01/custom-compone…n-introduction</p>
<h2><span style="text-decoration:underline;">What all information is needed to make a flex component automatable.</span></h2>
<p>1. Record  support of the user interactions.</p>
<p>2. Replay support of the recorded script.</p>
<p>3. Allowing verification of the properties of the object.</p>
<p>4.Allowing to get the tabular representation of the object (if applicable)</p>
<p>5. Provide test friendly methods to get specific data from the component.</p>
<p>These are done by different different components in the automation framework.</p>
<p>We will understand how each thing can be done. Now let us discuss mainly on the recording and replay aspect in the first step.</p>
<h2><span style="text-decoration:underline;">What all delegate should do? </span></h2>
<p>Basically they</p>
<p>1. Provide the recording and replay of user interaction based component.</p>
<p>2. Provide information about its chidren and ways to access them, if they are a container type.</p>
<p>Let us discuss on this in details:</p>
<p><strong><span style="text-decoration:underline;">Provide recording.</span></strong></p>
<p>1. Identify the events on the component which needs to be recorded.</p>
<p>2. Add event listeners for these events in the delegate.</p>
<p>3. Identify information which needs to be captured from the event, which can be later needed to recreate the event properly and identify the user interactable component.</p>
<p>4. Collect these information and pass to the automation manger to record. If these information is not part of the event (special case, we wil discuss this later. TBD)</p>
<p>5. Have an entry in the XML file to describe the event for the component which talks about the required arguments of the event.</p>
<h2> </h2>
<h2><span style="text-decoration:underline;">Working with Delegates :</span></h2>
<p>Let us take each of this case and address one by one.  I am planning to cover each of these case. As time permits i will cover and add the links here.</p>
<p>1. Extending from non container class, but current class is contianer.</p>
<p>refer &#8211;  http://raniskumar.wordpress.com/2010/04/12/cca_containerclass</p>
<p>2. Extending from contianer class, but current class would like to be treated as a single unit.</p>
<p>3. Item renderer automaiton</p>
<p>3. How to handle new events to existing classes/derived classes or handle less events of the existing/derived components.</p>
<p>4. How to get special data for testing from the component</p>
<p>5. How to get tabular data of the component etc&#8230;</p>
<br />Filed under: <a href='http://raniskumar.wordpress.com/category/flex-automation/flex-automation-flex-automation/'>Flex Automation</a> Tagged: <a href='http://raniskumar.wordpress.com/tag/custom-component-automation/'>Custom component automation</a>, <a href='http://raniskumar.wordpress.com/tag/flex-automation/'>Flex Automation</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=194&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2010/04/12/cca-part-ii/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>QTP versions and Supported IE Versions</title>
		<link>http://raniskumar.wordpress.com/2009/12/07/qtp-versions-and-supported-ie-versions/</link>
		<comments>http://raniskumar.wordpress.com/2009/12/07/qtp-versions-and-supported-ie-versions/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 11:06:53 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=204</guid>
		<description><![CDATA[  The table  below shows the versions supported for the Flex plugins for QTP QTP Version IE6 IE7 IE8 QTP 9.2 Yes No No QTP 9.5 Yes Yes No QTP 10 No Yes Yes QTP10 and 1E6 also theoritically seem to work. But it is not a supported combination from Adobe as we have not done [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=204&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>The table  below shows the versions supported for the Flex plugins for QTP</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="160" valign="top">QTP Version</td>
<td width="160" valign="top">IE6</td>
<td width="160" valign="top">IE7</td>
<td width="160" valign="top">IE8</td>
</tr>
<tr>
<td width="160" valign="top">QTP 9.2</td>
<td width="160" valign="top">Yes</td>
<td width="160" valign="top">No</td>
<td width="160" valign="top">No</td>
</tr>
<tr>
<td width="160" valign="top">QTP 9.5</td>
<td width="160" valign="top">Yes</td>
<td width="160" valign="top">Yes</td>
<td width="160" valign="top">No</td>
</tr>
<tr>
<td width="160" valign="top">QTP 10</td>
<td width="160" valign="top">No</td>
<td width="160" valign="top">Yes</td>
<td width="160" valign="top">Yes</td>
</tr>
</tbody>
</table>
<p>QTP10 and 1E6 also theoritically seem to work. But it is not a supported combination from Adobe as we have not done extensive testing on this combination.</p>
<br />Posted in Flex Automation Tagged: Flex Automation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=204&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2009/12/07/qtp-versions-and-supported-ie-versions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Enabling log for QTP 9.5</title>
		<link>http://raniskumar.wordpress.com/2009/12/07/enabling-log-for-qtp-9-5/</link>
		<comments>http://raniskumar.wordpress.com/2009/12/07/enabling-log-for-qtp-9-5/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 11:01:24 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=200</guid>
		<description><![CDATA[Please follow the  steps below to enabled Log for QTP 9.5 Go to the command prompt and navigate to C:\Program Files\HP\QuickTest Professional\bin directory and invoke ClientLogs.exe. Select QTP in the left dialog. Select LogCatPackTEA and move it to the selected category. Change the Category level to Debug2 . Give the folder path where you want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=200&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Please follow the  steps below to enabled Log for QTP 9.5</p>
<ol>
<li>Go to the command prompt and navigate to C:\Program Files\HP\QuickTest Professional\bin directory and invoke ClientLogs.exe.</li>
<li>Select QTP in the left dialog.</li>
<li>Select LogCatPackTEA and move it to the selected category.</li>
<li>Change the Category level to Debug2 .</li>
<li>Give the folder path where you want the log to be stored.</li>
<li>Click on Apply.</li>
<li>Restart QTP.</li>
</ol>
<p> Please not that there is a problem in QTP 9.5  such that when the user enables the QTP log recording does not work on flex applications. This issue has been resolved in QTP 10 and i beleive QTP has a patch to solve the issue for 9.5.  (I got a patch from QTP and it works on my machine)</p>
<p>If you are on 9.5 with all latest patch updated and if you are facing the recording issue, please let us know  (ideally a bug in JIRA &#8211; adobe bugbase) with the version details.</p>
<p> <a href="http://raniskumar.files.wordpress.com/2009/12/qtp9-5_log_enabling.jpg"><img class="alignnone size-medium wp-image-201" title="QTP9.5_log_enabling" src="http://raniskumar.files.wordpress.com/2009/12/qtp9-5_log_enabling.jpg?w=300&#038;h=211" alt="" width="300" height="211" /></a></p>
<br />Posted in Flex Automation Tagged: Flex Automation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=200&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2009/12/07/enabling-log-for-qtp-9-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>

		<media:content url="http://raniskumar.files.wordpress.com/2009/12/qtp9-5_log_enabling.jpg?w=300" medium="image">
			<media:title type="html">QTP9.5_log_enabling</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex 3.4 and Flex4 Automation Delegate source code</title>
		<link>http://raniskumar.wordpress.com/2009/10/27/flex-3-4-and-flex4-automation-delegate-source-code/</link>
		<comments>http://raniskumar.wordpress.com/2009/10/27/flex-3-4-and-flex4-automation-delegate-source-code/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 10:03:15 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=196</guid>
		<description><![CDATA[If you are a Flex Automation test tool user/provider and trying to find how to get the source code of Automation Delegates for Flex SDK 3.4 and 4, get the beta of FlashBuilder downloaded. FlashBuidler 4 (previously known as FlexBuilder) Beta2 is out and available on Adobe Labs. http://labs.adobe.com/technologies/flashbuilder4/ .  you can find the source from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=196&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are a Flex Automation test tool user/provider and trying to find how to get the source code of Automation Delegates for Flex SDK 3.4 and 4, get the beta of FlashBuilder downloaded.</p>
<p><span style="font-size:small;font-family:Times New Roman;">FlashBuidler 4 (previously known as FlexBuilder) Beta2 is out and available on Adobe Labs. <a title="http://labs.adobe.com/technologies/flashbuilder4/" href="http://labs.adobe.com/technologies/flashbuilder4/" target="_blank">http://labs.adobe.com/technologies/flashbuilder4/</a> . </span></p>
<p><span style="font-size:small;font-family:Times New Roman;">you can find the source from &lt;installedlocation&gt;/sdks/&lt;sdkversion&gt;/frameworks/projects starting with atuomation.</span></p>
<p>&nbsp;</p>
<p>/</p>
<br />Posted in Flex Automation Tagged: Flex Automation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=196&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2009/10/27/flex-3-4-and-flex4-automation-delegate-source-code/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex 4 Automation &#8211; New feature list</title>
		<link>http://raniskumar.wordpress.com/2009/10/09/flex-4-automation-new-feature-list/</link>
		<comments>http://raniskumar.wordpress.com/2009/10/09/flex-4-automation-new-feature-list/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 06:18:23 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=190</guid>
		<description><![CDATA[In Flex4 (the beta available) , automation framework supports the following new features. AIR automation. Marahshalling support for Flex and AIR application. (multi version , different application domain, different security domain etc) Modified custom control handling. Trail for spark automation (only some components are enabled in Beta2) Performance improvement in replaying the script etc&#8230; However [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=190&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Flex4 (the beta available) , automation framework supports the following new features.</p>
<ul>
<li>AIR automation.</li>
<li>Marahshalling support for Flex and AIR application. (multi version , different application domain, different security domain etc)</li>
<li>Modified custom control handling.</li>
<li>Trail for spark automation (only some components are enabled in Beta2)</li>
<li>Performance improvement in replaying the script</li>
</ul>
<p>etc&#8230;</p>
<p>However the testing tools using the automation framework need to do certain modifications to leverage these new features.</p>
<p> </p>
<p>AIR automation of flex controls this includes</p>
<ul>
<li>
<div style="padding-left:30px;">Windowed application.</div>
</li>
<li>
<div style="padding-left:30px;">Multiple window.</div>
</li>
<li>
<div style="padding-left:30px;">Drag and drop operations inside AIR applications.</div>
</li>
</ul>
<p><strong><span style="text-decoration:underline;">How to get the multiwindow details :</span></strong><br />
The windows are not children of Application in fact in all-purpose they are independent application instance. Even after closing the main application window the sub application can exists.<br />
Now the automationManager listens to the user interaction on the sub Windows also and will dispatch the record event on these also similar to as it handled on the main window.<br />
<strong></strong></p>
<p><strong>The change needed in the tools</strong></p>
<p>You can listen to the  AutomationAirEvent.NEW_AIR_WINDOW from the AutomationManager and get the uniqueId formed for this new window by the automationManager.<br />
You can get the window corresponding to the   id from using getAirWindow  API on the AutomationManager2 passing the window id.  You have to ensure the object received is valid.  (e.g.  getting the window object after the window is closed).</p>
<p>If your tool needs to get the hwnd of the new window,  there is no direct way. However this can be logically handled.  If you would like to know more about this,  or about any of the new features, you can contact me at <a href="mailto:ranik@adobe.com">ranik@adobe.com</a>  (I will try to address this more in further posts as time permits <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   )</p>
<br />Posted in Flex Automation Tagged: Flex Automation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=190&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2009/10/09/flex-4-automation-new-feature-list/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>IE7 and FlexBuilder3 plugin not working for automation using QTP ?</title>
		<link>http://raniskumar.wordpress.com/2009/10/07/ie7-and-flexbuilder3-plugin-not-working-for-automation-using-qtp/</link>
		<comments>http://raniskumar.wordpress.com/2009/10/07/ie7-and-flexbuilder3-plugin-not-working-for-automation-using-qtp/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 06:42:19 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=187</guid>
		<description><![CDATA[ Are you using FlexBuilder3 plugin and IE7?  Tere was a issue with the Flex Builder 3 Plugin when used with IE7 (http://bugs.adobe.com/jira/browse/FLEXENT-770 ). This issue was resolved from Flex Builder 3.2 onwards.   Please follow the steps below to get the latest plugin. Uninstall the existing flex plugin Download the last Flex Builder 4 QTP plugin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=187&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> Are you using FlexBuilder3 plugin and IE7?  Tere was a issue with the Flex Builder 3 Plugin when used with IE7 (<a title="http://bugs.adobe.com/jira/browse/FLEXENT-770" href="http://bugs.adobe.com/jira/browse/FLEXENT-770">http://bugs.adobe.com/jira/browse/FLEXENT-770</a> ).</p>
<p>This issue was resolved from Flex Builder 3.2 onwards.   Please follow the steps below to get the latest plugin.</p>
<ol>
<li>Uninstall the existing flex plugin</li>
<li>Download the last Flex Builder 4 QTP plugin zip file <a title="http://download.macromedia.com/pub/labs/flex/4/flex4_automation_install_100509.zip" href="http://download.macromedia.com/pub/labs/flex/4/flex4_automation_install_100509.zip">http://download.macromedia.com/pub/labs/flex/4/flex4_automation_install_100509.zip</a></li>
<li>Unzip it in a permanent location and then click on the Install_QTP_Plugin.bat and then restart your machine.</li>
<li>Now try recording the automatable flexstore application <a title="http://www.adobe.com/devnet/flex/samples/flex_store_v2/" href="http://www.adobe.com/devnet/flex/samples/flex_store_v2/">http://www.adobe.com/devnet/flex/samples/flex_store_v2/</a></li>
</ol>
<br />Posted in Flex Automation Tagged: Flex Automation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=187&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2009/10/07/ie7-and-flexbuilder3-plugin-not-working-for-automation-using-qtp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Ant sccript to compile the flex application and enable automation.</title>
		<link>http://raniskumar.wordpress.com/2009/10/07/using-ant-sccript-to-compile-the-flex-application-and-enable-automation/</link>
		<comments>http://raniskumar.wordpress.com/2009/10/07/using-ant-sccript-to-compile-the-flex-application-and-enable-automation/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 06:03:40 +0000</pubDate>
		<dc:creator>raniskumar</dc:creator>
				<category><![CDATA[Flex Automation]]></category>

		<guid isPermaLink="false">http://raniskumar.wordpress.com/?p=182</guid>
		<description><![CDATA[If you are using ant script to compile your application and if you would like to link in the automation libraries , you need to use the appropriate compiler arguments. Please  note that placing the automation libraries in the library path and providing the library path using the compiler.library-path wont enable  the applications for automation. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=182&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are using ant script to compile your application and if you would like to link in the automation libraries , you need to use the appropriate compiler arguments. Please  note that placing the automation libraries in the library path and providing the library path using the compiler.library-path wont enable  the applications for automation.</p>
<p>Automation classes wont be added to the application by the compiler just by placing the libraries as the application code does not refer to the automation classes. So the classes needs to be linked in to the application forcefully using the -include-libraries option.</p>
<p>In the ant script this can be used as follows.</p>
<p>This needs to be used in the mxmlc task.</p>
<p><em>&lt;mxmlc file=&#8221;${APP_ROOT}/Main.mxml&#8221; keep-generated-actionscript=&#8221;true&#8221;&gt;</em></p>
<p><em>          &lt;<span style="color:#800000;"><strong>compiler.include-libraries </strong></span>dir=&#8221;${swf.output}&#8221; append=&#8221;true&#8221;&gt;<br />
                       &lt;include name=&#8221;MyComponents.swc&#8221; /&gt;<br />
                      &lt;include name=&#8221;AcmeComponents.swc&#8221; /&gt;<br />
                    &lt;include name=&#8221;DharmaComponents.swc&#8221; /&gt;<br />
          &lt;/compiler.include-libraries&gt;</em></p>
<p><em>&lt;/mxmlc&gt;</em></p>
<p>For more details refer  <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html">http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html</a></p>
<br />Posted in Flex Automation Tagged: Flex Automation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raniskumar.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raniskumar.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/raniskumar.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/raniskumar.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raniskumar.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raniskumar.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raniskumar.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raniskumar.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raniskumar.wordpress.com&amp;blog=8763992&amp;post=182&amp;subd=raniskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://raniskumar.wordpress.com/2009/10/07/using-ant-sccript-to-compile-the-flex-application-and-enable-automation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bc369e80e17f7d6b0f7d3069eb594452?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">raniskumar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
