【问题标题】:How to capture Flash images from Selenium?如何从 Selenium 捕获 Flash 图像? 【发布时间】:2011-02-10 02:40:07 【问题描述】: 有没有什么方法可以使用 selenium ide 或 RC 捕捉网站中呈现的 flash 图像? 【问题讨论】: 标签: selenium 【解决方案1】: 你见过http://code.google.com/p/flash-selenium吗? 【讨论】: 【解决方案2】: 将动作脚本注入flash对象与javascript通信,然后selenium可以通过javascript控制它们 缺点:我们必须拥有对 flash 对象的修改访问权限,才能为自动化注入动作脚本 参考: http://www.testinggeek.com/index.php/testing-tools/test-execution/145-flash-object-automation-using-selenium “http://code.google.com/p/flash-selenium/” “http://code.google.com/p/flex-ui-selenium/” 本机 Flex 自动化引擎 例如FlexMonkey : Adobe 的 Flash 记录播放工具 “http://flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.html” 缺点:无法测试嵌入式闪存 【讨论】: