Hi there, 

I am trying to evaluate QTP 9.2(14 days trial version) with flex 3.0 
beta, using under mentioned small piece of code,

==================================================================== 

<?xml version="1.0"?> 
<!-- agent/Main.mxml --> 
<mx:Application showInAutomationHierarchy="true" xmlns:mx="http:// 
www.adobe.com/2006/mxml" height="100%" width="100%"> 
        <mx:Script> 
                <![CDATA[ 


                        import mx.automation.*; 


                        private function changeLabel
(newLabel:String):void 
                        { 
                                b1.label = newLabel; 
                        } 


                ]]> 
        </mx:Script> 
        <mx:VBox horizontalAlign="center" id="vb1" 
showInAutomationHierarchy="true"> 
                <mx:TextInput showInAutomationHierarchy="true" 
id="ti1" text="" 
automationName="textInput" automationDelegate="test"/> 
                <mx:Button autoRepeat="true" 
showInAutomationHierarchy="true" 
id="b1" label="Change Label" click="changeLabel(ti1.text)" 
automationName="myButton" automationDelegate="test1" /> 
        </mx:VBox> 
</mx:Application> 

==================================================================== 

I have compiled the above code (put it in the local web server 
(IIS)) and its not detected by QTP. 

Important Note: I tried with online flex sample store, its working 
fine. 
http://examples.adobe.com/flex2/inproduct/lcds/flexstore/flexstore.ht
ml 

Right now I am using,

Flex 3.0 Beta
Mercury QTP 9.2 14 Days Trial Version

My Questions are,

1) is there anything I left out in my code ?
2) To use QTP 9.2, we require Adobe "Flex Automation Package" ?

Awaiting reply.


Thanks in Advance 
Ipog 

Reply via email to