Adobe Flex 4IlogTest自动化测试示例

iflex4 的视频代码里头,IlogTest这个例子挺实用的。它用的是Adobe Flex 4做前端,配合Ilog 组件库,主要是搞自动化测试的那一套。代码齐全,解压就能跑,适合刚接触 Flex 测试的朋友练手。

Flex用的是ActionScript 3.0,这套代码里包含了常见的.mxml.as文件,基本上打开项目、装好 Ilog 库,点编译就能看效果。嗯,界面交互、数据绑定、组件事件啥的,都用得挺扎实。

IlogTest最大亮点是它的测试流程。比如你点个按钮,它能记录操作步骤,自动重放,方便定位问题。你要是想研究UI 组件的交互逻辑,或者服务端联调测试,这段代码还蛮适合。

哦对了,别忘了先准备好Flex SDK和合适的 IDE,比如老牌的Adobe Flex Builder,或者用IntelliJ IDEA配插件也行。Ilog 库得另外装一下,注意版本别对不上。

如果你平时搞数据可视化或是要做项目演示,这套东西能帮你快速上手 Ilog 组件。建议你编译完之后,多改几处试试,像换个图表、加个事件响应,理解会更深。

还有些相关资源也值得看看,像iFlex4 视频教程 PicWatcher 源代码,或者OFCSample 实例代码,结构也差不多,挺方便参考。

如果你刚好在找Flex UI 测试的入门例子,或者想搞清楚 Ilog 到底怎么玩,IlogTest这个例子还是蛮推荐的。

zip
IlogTest.zip 预估大小:28个文件
folder
IlogTest 文件夹
file
.project 471B
folder
.settings 文件夹
file
org.eclipse.core.resources.prefs 88B
folder
libs 文件夹
file
ilog-elixir-enterprise.swc 5.7MB
file
ilog-elixir-enterprise_rb.swc 45KB
file
.actionScriptProperties 1KB
folder
html-template 文件夹
file
swfobject.js 26KB
file
index.template.html 6KB
folder
history 文件夹
file
history.js 25KB
file
historyFrame.html 827B
file
history.css 371B
file
playerProductInstall.swf 657B
folder
src 文件夹
file
IlogTest.mxml 4KB
folder
bin-debug 文件夹
file
spark_4.6.0.23201.swf 758KB
file
swfobject.js 26KB
file
IlogTest.swf 309KB
file
IlogTest.html 6KB
file
framework_4.6.0.23201.swf 530KB
file
textLayout_2.0.0.232.swf 305KB
folder
history 文件夹
file
history.js 25KB
file
historyFrame.html 827B
file
history.css 371B
file
playerProductInstall.swf 657B
file
advancedgrids_4.6.0.23201.swf 239KB
file
mx_4.6.0.23201.swf 516KB
file
charts_4.6.0.23201.swf 251KB
file
rpc_4.6.0.23201.swf 205KB
file
sparkskins_4.6.0.23201.swf 68KB
file
.flexProperties 202B
zip 文件大小:8.87MB