0

我在防火墙上使用Katalon Studio 7.0.4Windows Application Driver v1.2 RC允许端口 4723。我用来PuTTY测试的。连接成功,应用程序显示在 spy 工具中,但尝试使用某些方法(例如:click、getText)时出错。我在日志中看到以下错误。

在服务器端:

==========================================
GET /session/3A8AB5F8-E6B3-4FB1-9C14-E48B8F4F5C4D/screenshot HTTP/1.1
Accept-Encoding: gzip
Cache-Control: no-cache
Connection: Keep-Alive
Host: myip:4723
User-Agent: selenium/3.141.59 (java windows)

HTTP/1.1 500 Internal Error
Content-Length: 133
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}


==========================================
GET /session/3A8AB5F8-E6B3-4FB1-9C14-E48B8F4F5C4D/window_handle HTTP/1.1
Accept-Encoding: gzip
Cache-Control: no-cache
Connection: Keep-Alive
Host: myip:4723
User-Agent: selenium/3.141.59 (java windows)


HTTP/1.1 200 OK
Content-Length: 84
Content-Type: application/json

{"sessionId":"3A8AB5F8-E6B3-4FB1-9C14-E48B8F4F5C4D","status":0,"value":"0x000A09F4"}

在客户端:

org.openqa.selenium.WebDriverException:处理命令时远程端发生未知错误。(警告:服务器未提供任何堆栈跟踪信息)命令持续时间或超时:0 毫秒构建信息:版本:'3.141.59',修订:'e82be7d358',时间:'2018-11-14T08:25:53' 系统信息:主机:'笔记本电脑',ip:'192.168.56.1',os.name:'Windows 10',os.arch:'amd64',os.version:'10.0',java.version:'1.8.0_181'驱动程序信息:io.appium.java_client.windows.WindowsDriver Capabilities {app: C:\Users\user101\Downloads..., javascriptEnabled: true, platform: WINDOWS, platformName: WINDOWS} 会话 ID: 3A8AB5F8-E6B3-4FB1-9C14-E48B8F4F5C4D在 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 在 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 在 sun.reflect。

在 Katalon 工作室: Katalon Studio Windows 间谍工具

4

0 回答 0