请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

页面没有滑动,最后崩溃了

[HTTP] <-- GET /wd/hub/session/32e76d28-6af7-477c-ba27-43610bde8529/window/current/size 200 25 ms - 99 [HTTP] --> GET /wd/hub/session/32e76d28-6af7-477c-ba27-43610bde8529/window/current/size {}
[MJSONWP] Calling AppiumDriver.getWindowSize() with args: ["current","32e76d28-6af7-477c-ba27-43610bde8529"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"getDeviceSize","params":{}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"getDeviceSize","params":{}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getDeviceSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":{"width":576,"height":1024},"status":0}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getWindowSize() result: {"width":576,"height":1024}
[HTTP] <-- GET /wd/hub/session/32e76d28-6af7-477c-ba27-43610bde8529/window/current/size 200 17 ms - 99
[HTTP] --> POST /wd/hub/session/32e76d28-6af7-477c-ba27-43610bde8529/touch/perform {"actions":[{"action":"press","options":{"x":288,"y":716.8000000000001}},{"action":"wait","options":{"ms":0}},{"action":"moveTo","options":{"x":288,"y":57.6}},{"action":"release","options":{}}],"sessionId":"32e76d28-6af7-477c-ba27-43610bde8529"}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":288,"y":716.8000000000001}},{"action":"wait","options":{"ms":0}},{"action":"moveTo","options":{"x":288,"y":57.6}},{"action":"release","options":{}}],"32e76d28-6af7-477c-ba27-43610bde8529"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"swipe","params":{"startX":288,"startY":716.8000000000001,"endX":288,"endY":57.6,"steps":22}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"swipe","params":{"startX":288,"startY":716.8000000000001,"endX":288,"endY":57.6,"steps":22}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: swipe
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][576,1024]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][576,1024]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Swiping from [x=288.0, y=716.8000000000001] to [x=288.0, y=57.6] with steps: 22
[AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0}
[MJSONWP] Responding to client with driver.performTouch() result: true
[HTTP] <-- POST /wd/hub/session/32e76d28-6af7-477c-ba27-43610bde8529/touch/perform 200 554 ms - 76
[BaseDriver] Shutting down because we waited 60 seconds for a command
[AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 32e76d28-6af7-477c-ba27-43610bde8529 from our master session list
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\test\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","127.0.0.1:21503","shell","am","force-stop","cn.com.open.mooc"]
[ADB] Pressing the HOME button
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\test\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","127.0.0.1:21503","shell","input","keyevent",3]
[AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":"OK, shutting down","status":0}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
[AndroidBootstrap] Received command result from bootstrap
[UiAutomator] Shutting down UiAutomator
[UiAutomator] Moving to state 'stopping'
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=

[AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=.

[AndroidBootstrap] [UIAUTO STDOUT] Time: 70.505

[AndroidBootstrap] [UIAUTO STDOUT] OK (1 test)

[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1

[UiAutomator] UiAutomator shut down normally
[UiAutomator] Moving to state 'stopped'
[ADB] Attempting to kill all uiautomator processes
[ADB] Getting all processes with uiautomator
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\test\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","127.0.0.1:21503","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[UiAutomator] Moving to state 'stopped'
[Logcat] Stopping logcat capture
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running 'D:\test\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","127.0.0.1:21503","shell","am","force-stop","io.appium.unlock"]
[AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
https://img1.sycdn.imooc.com//szimg/5cd821c2000186bf05980506.jpg

https://img1.sycdn.imooc.com//szimg/5cd821c80001072f06070377.jpg

正在回答 回答被采纳积分+3

1回答

Mushishi 2019-05-13 13:29:55

https://img1.sycdn.imooc.com//szimg/5cd900be000129f008890397.jpg人家已经滑动了,只是可能你页面效果不明显,然后你没有下一步操作,已经超时了

0 回复 有任何疑惑可以回复我~
  • 提问者 繁_fan #1
    尝试了很多次,页面是真的没有滑动呀,好像不是看不到效果
    回复 有任何疑惑可以回复我~ 2019-05-13 17:15:40
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信