Hi KK,
I have tried placing TEAFlex.xml in the C:\Program Files\HP\QuickTest
Professional\dat\Extensibility\TEA
difference is that i just added an entry to my custom component as follows :
<ClassInfo Name="FlexExtendedPOD" GenericTypeID="extendedpod"
Extends="FlexContainer" SupportsTabularData="true">
<IconInfo IconFile="TEAPluginQTP.dll" IconIndex="239"/>
<Description>ExtendedPOD</Description>
<Implementation Class="com.adtran.components::ExtendedPOD"/>
<Properties>
<Property Name="automationClassName" ForDescription="true">
<Type VariantType="String"/>
<Description>To be written.</Description>
</Property>
<Property Name="automationIndex" ForDescription="true">
<Type VariantType="String"/>
<Description>The object's index relative to its
parent.</Description>
</Property>
<Property Name="automationName" ForDescription="true">
<Type VariantType="String"/>
<Description>The name used by the automation system to identify an
object.</Description>
</Property>
<Property Name="backgroundAlpha" ForVerification="true">
<Type VariantType="VT_R8"/>
<Description>Level of transparency of the SWF file or image defined
by backgroundImage, or the color defined by the backgroundColor
property.</Description>
</Property>
<Property Name="backgroundColor" ForVerification="true">
<Type VariantType="String" Codec="color"/>
<Description>Background color of the container.</Description>
</Property>
<Property Name="backgroundDisabledColor" ForVerification="true">
<Type VariantType="String" Codec="color"/>
<Description>Background color of the container when
disabled.</Description>
</Property>
<Property Name="backgroundImage" ForVerification="true">
<Type VariantType="String" Codec="asset"/>
<Description>Background image of the container.</Description>
</Property>
<Property Name="backgroundSize" ForVerification="true">
<Type VariantType="String"/>
<Description>Scales the image specified by backgroundImage to
different percentage sizes.</Description>
</Property>
<Property Name="className" ForDescription="true">
<Type VariantType="String"/>
<Description>To be written.</Description>
</Property>
<Property Name="id" ForDescription="true" ForVerification="true">
<Type VariantType="String"/>
<Description>Developer-assigned ID.</Description>
</Property>
<Property Name="automationIndex" ForDescription="true">
<Type VariantType="String"/>
<Description>The object's index relative to its parent.</Description>
</Property>
<Property Name="openChildrenCount" ForVerification="true"
ForDefaultVerification="true">
<Type VariantType="Integer"/>
<Description>Number of children open currently</Description>
</Property>
<Property Name="numChildren" ForVerification="true">
<Type VariantType="Integer"/>
<Description>Number of components that are children of this
object.</Description>
</Property>
<Property Name="percentHeight" ForVerification="true">
<Type VariantType="VT_R8"/>
<Description>Number that specifies the height of an object as a
percentage of its parent's size.</Description>
</Property>
<Property Name="percentWidth" ForVerification="true">
<Type VariantType="VT_R8"/>
<Description>Number that specifies the width of an object as a
percentage of its parent's size.</Description>
</Property>
<Property Name="title" ForDefaultVerification="true"
ForVerification="true">
<PropertyType Type="String" />
</Property>
<Property Name="status" ForVerification="true">
<PropertyType Type="String" />
</Property>
<Property Name="tabChildren" ForVerification="true">
<Type VariantType="Boolean"/>
<Description>Determines if the children of the object are tab
enabled.</Description>
</Property>
<Property Name="dropShadowEnabled" ForVerification="true">
<PropertyType Type="Boolean" />
</Property>
<Property Name="tabIndex" ForVerification="true">
<Type VariantType="Integer"/>
<Description>If tabEnabled, the order in which this object receives
focus when the user cycles through objects with the Tab key.</Description>
</Property>
<Property Name="footerColors" ForVerification="true">
<PropertyType Type="String" Codec="color[]" />
</Property>
<Property Name="headerColors" ForVerification="true">
<PropertyType Type="String" Codec="color[]" />
</Property>
<Property Name="headerHeight" ForVerification="true">
<PropertyType Type="int" />
</Property>
</Properties>
</ClassInfo>
but the custom component is not getting recognised... still..
How to make qtp work with remote Flex Application's custom components ??
On Thursday, 26 July 2012 16:10:32 UTC+5:30, KK wrote:
>
> Hema,
> Just give a try with this
> place TEAFlex.xml in path .
> C:\Program Files\HP\QuickTest Professional\dat\Extensibility\TEA
>
> Plugin installation will do registration of the DLL, so that QTP
> can identify the plug-in
>
>
> On Thu, Jul 26, 2012 at 12:44 PM, hema namani <[email protected]>wrote:
>
>> Hi all,
>>
>> I am facing problem regarding testing FlexCustomComponents with QTP..
>>
>> Actually my FlexApplication is installed on remote machine (ex:
>> 192.30.30.21 machine)
>> and QTP with Flex plugin is installed on another machine .. I am able to
>> access my FlexApplication in QTP through url (
>> http://192.30.30.21/myFlexApp) …
>>
>> But my FlexApplication also has complex customcomponents …. for example ….
>>
>> I have a customPanel extending Panel .. my custom panel’s title bar has
>> few images and buttons … i somehow instrumented customPanel and its
>> titleBar too … i have deployed customPanelAutomationImpl.as delegate file
>> in the FlexApplication and included that delegate in the buildscript of the
>> FlexApplication …. also i have added customPanel entry into the
>> TEAFlex.xml(present in flexPlugin folder) … but QTP is still not
>> recognising the customPanel …
>>
>> where as the same customPanelAutomationImpl.as delegate i have tried in
>> my local FlexApplication (i.e by importing FlexApplication into flex
>> builder) QTP is able to recognise that customPanel and recording actions...
>>
>> I thought this issue might be related to flex plugin version and i have
>> installed FlexPlugin 4.5 for QTP ..
>>
>> that plugin has got added to QTP addIn start up window too… but i have
>> searched my entire PC for the plugin installed folder… am unable to find
>> it… where does this plugin installed folder can be found exactly … do
>> anybody have any idea?
>>
>> Can you pls help me with this issue …. ? any help would be appreciable ..
>>
>>
>> Thanks in advance..
>>
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>
>
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en