Facing issues while compiling Flex SDK 3.6 with 'automation_spark.swc' and 'automation_air.swc' of Flex SDK 4.x
Our Application using Flex SDK 3.3 for development,we are using QTP11 for automation testing.
We are planning to upgrade from QTP11 to UFT 12.50 which is compatible with Flex SDK 3.6.
So we have upgrade SDK from 3.3 to 3.6 and successfully compiled 'HpQTPAgent_3_6.swc' and 'qtp.swc'.
But 'automation_spark.swc' and 'automation_air.swc' available with the SDK 3.6 package, which required for identifying flex objects .
We took both swc files form SDK 4.5 version and tried to compile but getting below error:
[mxmlc] Error: Type was not found or was not a compile-time constant: RichEditableText.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/SparkRichEditableTextAutomationHelper)
[mxmlc] Error: Type was not found or was not a compile-time constant: TextOperationEvent.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/SparkRichEditableTextAutomationHelper)
[mxmlc] Error: Type was not found or was not a compile-time constant: TextOperationEvent.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/SparkRichEditableTextAutomationHelper)
[mxmlc] Error: Type was not found or was not a compile-time constant: RichEditableText.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/events/SparkDataGridItemSelectEvent)
[mxmlc] Error: Type was not found or was not a compile-time constant: IGridItemRenderer.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(mx/automation/delegates/core/UIFTETextFieldAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: UIFTETextField.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/tabularData/SparkListBaseTabularData)
[mxmlc] Error: Type was not found or was not a compile-time constant: ListBase.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/events/SparkListItemSelectEvent)
[mxmlc] Error: Type was not found or was not a compile-time constant: IItemRenderer.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: UITextFieldGridItemRenderer.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: UITextFieldGridItemRenderer.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/SparkVideoDisplayAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: VideoDisplay.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/supportClasses/SparkGroupBaseAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: GroupBase.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/supportClasses/SparkGroupBaseAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: Scroller.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/supportClasses/SparkGroupBaseAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: GroupBase.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: PopUpAnchor.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: PopUpAnchor.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/skins/spark/SparkDefaultItemRendererAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: DefaultItemRenderer.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/skins/spark/SparkDefaultItemRendererAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: DefaultItemRenderer.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/supportClasses/SparkSkinnableComponentAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: SkinnableComponent.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/supportClasses/SparkTextBaseAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: TextBase.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/delegates/components/supportClasses/SparkTextBaseAutomationImpl)
[mxmlc] Error: Type was not found or was not a compile-time constant: TextBase.
[mxmlc] C:\workspaces\4-5-0\Flex\SDK\frameworks\libs\automation_spark.swc(spark/automation/tabularData/SparkDataGridTabularData)
[mxmlc] Error: Type was not found or was not a compile-time constant: DataGrid.
Please help!!!
Thanks,
Shanker
