1

我正在将 Geb Spock 与 Appium 一起使用。我能够成功地使用它执行脚本,并且报告也正在生成。然而,屏幕截图被附在 index.html 摘要报告中。当我在目标文件夹中搜索屏幕截图时,观察到屏幕截图存在,但日志中出现以下错误,这可能是屏幕截图附加在 index.html 下的原因。

错误:

Jul 12, 2018 12:29:40 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'unknown method' (405 expected)
Unexpected error while creating report for label '001-001-Step 1:Go to the login page of the WU-Step 1 is completed: org.openqa.selenium.UnsupportedCommandException: Method has not yet been implemented
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'

当我为我的 Web 应用程序执行测试脚本时,我没有遇到任何问题,但是我不确定为什么这不适用于 Appium。如果我需要提供更多信息,请告诉我。你能帮我解决这个问题吗?谢谢!

4

0 回答 0