Flex 自动化测试
编程技术  /  houtizong 发布于 3年前   54
%FLEX_BUILDER_DIR%\bin\mxmlc.exe -include-libraries+="%FLEX_BUILDER_DIR%\frameworks\libs\automation.swc;%FLEX_BUILDER_DIR%\frameworks\libs\automation_agent.swc;%FLEX_BUILDER_DIR%\frameworks\libs\automation_charts.swc;%IBM_RATIONAL_RFT_INSTALL_DIR%\rft.swc;%IBM_RATIONAL_RFT_INSTALL_DIR%\rftProp.swc"; %1
flex_automation.bat RuntimeLoader.mxml
<target name="flexAutomation" depends="initProperties"> <property name="FLEX_HOME" value="E:/Program Files/Flex_2"/> <property name="rftBinDir" value="C:\Program Files\IBM\SDP\FunctionalTester\bin" /> <for param="fileName"> <path> <fileset dir="flex/src"> <include name="RuntimeLoader.mxml"/> </fileset> </path> <sequential> <mxmlc file="@{filename}" keep-generated-actionscript="true"> <source-path path-element="flex/locale"/> <compiler.include-libraries dir="${FLEX_HOME}/frameworks/libs"> <include name="automation.swc"/> <include name="automation_agent.swc"/> <include name="automation_charts.swc"/> </compiler.include-libraries> <compiler.include-libraries dir="flex/lib"> <include name="graphLayout.swc" /> <include name="unComponentToolbox.swc" /> <include name="PrimitiveIcons.swc" /> </compiler.include-libraries> <compiler.include-libraries dir="${rftBinDir}"> <include name="rft.swc"/> <include name="rftProp.swc"/> </compiler.include-libraries> </mxmlc> </sequential> </for> <copy todir="D:/" preservelastmodified="yes"> <fileset dir="flex/src"> <include name="RuntimeLoader.swf"/> </fileset> </copy> </target>
flex_automation.bat testApp.mxml
... <object id="myFlex" ... > <param name="movie" value="testApp.swf"/> ... <embed src="testApp.swf" ... > </embed> </object> ...
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接