【问题标题】:How can I test Web and MS Office in a single integration test?如何在单个集成测试中测试 Web 和 MS Office?
【发布时间】:2011-09-12 17:45:21
【问题描述】:

我在 Selenium 上看到过很多关于 Web 集成测试的帖子,但不是针对 Web 和 Office 文档(MS Office 或 OpenOffice)。

我想创建一个集成测试来测试通过 WebDAV 打开文档并将文档保存到给定位置(可以是 Windows 或 Linux 路径)。

有人知道在单个集成测试中支持以下步骤的框架吗?

  1. 向服务器发送 HTTP 请求,例如 http://myserver/mypath
  2. 模拟 URL 点击类似http://myserver/mypath/mydoc.doc 的链接。
  3. 当 mydoc.doc 在客户端(在 MS Office 或 OpenOffice 中)打开时,输入一些文本并将其保存到给定位置。
  4. 关闭 mydoc.doc(关闭任何处理它的应用程序,即 Word 或 OpenOffice)。

【问题讨论】:

    标签: web-applications ms-office integration-testing openoffice.org


    【解决方案1】:

    在这里回答我自己的问题,看起来 http://sikuli.org 可以解决问题,但尚未对其进行测试

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-15
      • 1970-01-01
      相关资源
      最近更新 更多