求解: QTP FLEX 测试,编译文件中加入QTP的几个包以后,部分控件执行出错

环境: sdk4, flex 4.0, ie6 和 QTP10
根据说明在编译flex程序的时候加入了库文件automation.swc, automation_agent.swc, qtp.swc和 automation_dmv.swc文件 

编译且部署成功后,部分组件可正确执行,但是部分组件点击时报错(手工执行,未启用QTP的情况下):

Error: 找不到“com.XXX(此处省略).component.list.RolloverList”

“AbaciPro.KDApplicationSkin3._KDApplicationSkin_Group1.contentGroup.Group6.mainViewBody.NavView38.tabViewWithTail.navViewstack.NavFunc37.SkinnableContainerSkin117.c

ontentGroup.HDividedBox127.nav_RightView.SkinnableContainerSkin151.contentGroup.SkinnableContainer153.SkinnableContainerSkin154.contentGroup.navRightPanel.KDPanelSki

n159._KDPanelSkin_Group1.contents.contentGroup.dragCanvas.rightNavList”的 AutomationClass。
at mx.automation.qtp::QTPEnvironment/getAutomationClassByInstance()
at mx.automation.delegates.controls::ListBaseAutomationImpl/recordListIt emSelectEvent()
at mx.automation.delegates.controls::ListBaseAutomationImpl/mouseClickHa ndler()

有人碰到过类似问题吗?如何解决?

你可能感兴趣的:(Flex,IE,测试)