|
为了让flex3.2支持QTP,我按照网上的方法进行了如下操作:
在项目的properties->Flex compiler->additional compiler arguments中添加-locale en_US -include-libraries "c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\qtp.swc" "c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\automation.swc" "c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\automation_agent.swc" "c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\automation_dmv.swc"后编译,QTP能识别FLEX插件,但FLEX插件按钮无法点击。因为原先编译是需加上-services "F:/MyWorkspace/UTCS/WebRoot/WEB-INF/flex/services-config.xml" -locale en_US,现在将两段代码都加上后发现按钮仍然无法点击,麻烦大侠们帮帮忙啊! |
|