51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 2608|回复: 7
打印 上一主题 下一主题

An unknown server-side error occurred while processing the command.

[复制链接]
  • TA的每日心情
    奋斗
    2018-2-8 09:24
  • 签到天数: 6 天

    连续签到: 4 天

    [LV.2]测试排长

    跳转到指定楼层
    1#
    发表于 2017-3-15 14:35:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    本帖最后由 wangruixia2017 于 2017-3-15 14:40 编辑

    在安卓自动化测试过程中,总是报这个错误,为什么?感谢各位大神指点。[TestNG] Running:
      C:\Users\ShineMo-177\AppData\Local\Temp\testng-eclipse-1291693990\testng-customsuite.xml

    PASSED: login
    PASSED: largeViewLocal
    PASSED: downloadFromCloud
    PASSED: deleteFromCloud
    FAILED: patchUpload
    org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 58 milliseconds
    Build info: version: '2.50.1', revision: 'd7fc91b', time: '2016-01-29 19:08:26'
    System info: host: 'ShineMo-177-PC', ip: '10.1.10.13', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
    Driver info: io.appium.java_client.android.AndroidDriver
    Capabilities [{app=D:\Users\workspace\AlbumsTest\app\Album_netease.apk, appPackage=com.netease.cloudalbum, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=750BBLN22869, platform=LINUX, desired={app=D:\Users\workspace\AlbumsTest\app\Album_netease.apk, appPackage=com.netease.cloudalbum, platformVersion=5.0, unicodeKeyboard=true, platformName=Android, deviceName=750BBLN22869, resetKeyboard=true}, platformVersion=5.0.1, webStorageEnabled=false, locationContextEnabled=false, browserName=Android, takesScreenshot=true, javascriptEnabled=true, unicodeKeyboard=true, platformName=Android, resetKeyboard=true}]
    Session ID: acd46f8f-07a9-4c0b-809a-55adcd90fbf2
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
            at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
            at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
            at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
            at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
            at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
            at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
            at io.appium.java_client.AppiumDriver.performTouchAction(AppiumDriver.java:314)
            at io.appium.java_client.TouchAction.perform(TouchAction.java:301)
            at io.appium.java_client.AppiumDriver.swipe(AppiumDriver.java:369)
            at com.netease.album.AlbumTest.switchCloudToLocal(AlbumTest.java:239)
            at com.netease.album.AlbumTest.patchUpload(AlbumTest.java:181)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:498)
            at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
            at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
            at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
            at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
            at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
            at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
            at org.testng.TestRunner.privateRun(TestRunner.java:774)
            at org.testng.TestRunner.run(TestRunner.java:624)
            at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
            at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
            at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
            at org.testng.SuiteRunner.run(SuiteRunner.java:261)
            at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
            at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
            at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
            at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
            at org.testng.TestNG.run(TestNG.java:1048)
            at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
            at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
            at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)

    SKIPPED: deleteCloudAblum
    java.lang.Throwable: Method AlbumTest.deleteCloudAblum()[pri:0, instance:com.netease.album.AlbumTest@4439f31e] depends on not successfully finished methods
            at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1033)
            at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
            at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
            at org.testng.TestRunner.privateRun(TestRunner.java:774)
            at org.testng.TestRunner.run(TestRunner.java:624)
            at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
            at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
            at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
            at org.testng.SuiteRunner.run(SuiteRunner.java:261)
            at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
            at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
            at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
            at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
            at org.testng.TestNG.run(TestNG.java:1048)
            at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
            at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
            at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)


    ===============================================
        Default test
        Tests run: 6, Failures: 1, Skips: 1
    ===============================================


    ===============================================
    Default suite
    Total tests run: 6, Failures: 1, Skips: 1
    ===============================================

    [TestNG] Time taken by org.testng.reporters.XMLReporter@5e025e70: 24 ms
    [TestNG] Time taken by org.testng.reporters.jq.Main@2a18f23c: 45 ms
    [TestNG] Time taken by org.testng.reporters.JUnitReportReporter@3f0ee7cb: 8 ms
    [TestNG] Time taken by org.testng.reporters.EmailableReporter2@6debcae2: 8 ms
    [TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@6adca536: 66 ms
    [TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 16 ms


    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    无聊
    2018-5-10 09:16
  • 签到天数: 172 天

    连续签到: 2 天

    [LV.7]测试师长

    2#
    发表于 2017-3-15 14:52:29 | 只看该作者
    是用appium+python做的吗?好做吗?
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    7 天前
  • 签到天数: 942 天

    连续签到: 1 天

    [LV.10]测试总司令

    3#
    发表于 2017-3-15 15:44:41 | 只看该作者
    什么工具呀  
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2018-2-8 09:24
  • 签到天数: 6 天

    连续签到: 4 天

    [LV.2]测试排长

    4#
     楼主| 发表于 2017-3-15 16:03:37 | 只看该作者

    appium
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2018-2-8 09:24
  • 签到天数: 6 天

    连续签到: 4 天

    [LV.2]测试排长

    5#
     楼主| 发表于 2017-3-15 16:04:13 | 只看该作者
    黑盒测试 发表于 2017-3-15 14:52
    是用appium+python做的吗?好做吗?

    appium+java
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    10 小时前
  • 签到天数: 2660 天

    连续签到: 5 天

    [LV.Master]测试大本营

    6#
    发表于 2017-3-17 13:54:13 | 只看该作者
    有人说:查看设备上是否安装Selendroid,或者升级Selendroid

    不知道是不是可以
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2018-2-8 09:24
  • 签到天数: 6 天

    连续签到: 4 天

    [LV.2]测试排长

    7#
     楼主| 发表于 2017-3-17 14:07:19 | 只看该作者
    我试试。谢谢
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    8#
    发表于 2017-6-2 10:56:29 | 只看该作者
    请问如何解决此问题?
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-4-26 17:39 , Processed in 0.068652 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表