测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
新手
zhouxiaoyagirl (YYGiel)
第 634 位Users / 2014-03-21
9 篇帖子 • 46 条回帖
3 关注者
0 正在关注
0 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 求大神帮忙,appium 运行失败自动截图,使用方法 Throwable.getCause()时,获取到信心为 null at April 20, 2015

    #5 楼 @lihuazhang 那请问,目前有啥好的解决方案吗

  • 求大神帮忙,appium 运行失败自动截图,使用方法 Throwable.getCause()时,获取到信心为 null at April 18, 2015

    #2 楼 @lihuazhang ,目前就是困在这句了,不知道咋办,请问有好的方法吗

  • 使用 appium 运行时,点击 run as-junitTest 运行后,appium 服务端没有响应 at April 09, 2015

    问题已解决,谢谢大家帮忙

  • 使用 appium 运行时,点击 run as-junitTest 运行后,appium 服务端没有响应 at April 09, 2015

    #2 楼 @lihuazhang 改成 junit4 的包后,运行还是没有响应。

  • 使用 appium 运行时报错,麻烦大神们帮忙看看,纠结了很久了 at April 09, 2015

    #1 楼 @lihuazhang C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\svn\bin;%JAVA_HOME%\bin;%ANDROID_HOME%;D:\node\;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools;D:\apache-ant-1.9.3\bin;D:\apache-maven-3.0.5\bin;D:\Appium 1.3.4.1\Appium; 这是 Path 环境变量 ANDROID_HOME:D:\android\adt-bundle-windows\sdk

  • 大家帮个忙,麻烦看下,用 mvn Test 运行测试程序时,启动不了被测试 app,但是能够运行测试用例。 at May 13, 2014

    #8 楼 @kevin_xu_v 那你现在没有使用 Appium 了吗

  • 大家帮个忙,麻烦看下,用 mvn Test 运行测试程序时,启动不了被测试 app,但是能够运行测试用例。 at May 12, 2014

    #4 楼 @kevin_xu_v RemoteTestNG starting
    FAILED CONFIGURATION: @BeforeMethod setUp
    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
    Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
    System info: host: 'J8HZS2IMCHOVN3A', ip: '192.168.0.100', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'
    Driver info: driver.version: Num_1$SwipeableWebDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:589)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
    at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:126)
    at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:153)
    at com.zy.zytest.Num_1$SwipeableWebDriver.(Num_1.java:151)
    at com.zy.zytest.Num_1.setUp(Num_1.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:528)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:205)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:616)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1169)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    at org.testng.TestRunner.runWorkers(TestRunner.java:1182)
    at org.testng.TestRunner.privateRun(TestRunner.java:761)
    at org.testng.TestRunner.run(TestRunner.java:612)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
    at org.testng.SuiteRunner.run(SuiteRunner.java:241)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1169)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1094)
    at org.testng.TestNG.run(TestNG.java:1006)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:107)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:199)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:170)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
    at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:322)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:301)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:568)
    ... 32 more
    报错这样

  • 大家帮个忙,麻烦看下,用 mvn Test 运行测试程序时,启动不了被测试 app,但是能够运行测试用例。 at May 12, 2014

    #4 楼 @kevin_xu_v 刚刚按照你说的,运行了一次还是跑不起来

  • 大家帮个忙,麻烦看下,用 mvn Test 运行测试程序时,启动不了被测试 app,但是能够运行测试用例。 at May 12, 2014

    #4 楼 @kevin_xu_v 我直接跑的是我手机上已经安装的 app 的,就没有添加路径,我用 testng test 同样可以跑起来的

  • 大家帮个忙,麻烦看下,用 mvn Test 运行测试程序时,启动不了被测试 app,但是能够运行测试用例。 at May 12, 2014

    #1 楼 @kevin_xu_v

    public void setUp() throws Exception {  
    
            DesiredCapabilities capabilities = new DesiredCapabilities();  
            capabilities.setCapability("device","Android");  
            capabilities.setCapability(CapabilityType.BROWSER_NAME, "");  
            capabilities.setCapability(CapabilityType.VERSION, "4.4.2");  
            capabilities.setCapability(CapabilityType.PLATFORM, "ANDROID");
            capabilities.setCapability("app-package", "com.duowan.kiwi");  
            capabilities.setCapability("app-activity", "com.duowan.kiwi.simpleactivity.SplashActivity"); 
            driver = new SwipeableWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
        }  
    

    我用 testng test 运行能够正常运行的,就 mvn test 不能运行

  • 大家帮个忙看下,使用 appium+maven+TestNG 来做自动化测试结果输出,运行 TestNG Test 之后,没有启动被测试程序。 at May 07, 2014

    还要添加一份 testng.xml 配置文件

  • 大家帮个忙看下,使用 appium+maven+TestNG 来做自动化测试结果输出,运行 TestNG Test 之后,没有启动被测试程序。 at May 06, 2014

    已解决。

  • 大家帮个忙看下,使用 appium+maven+TestNG 来做自动化测试结果输出,运行 TestNG Test 之后,没有启动被测试程序。 at May 06, 2014

    #1 楼 @532589730 我的 pom 改成这样了,还是不行,是不是还要添加其他的配置文件吗。

  • SVN+Jenkins+Maven+Appium+TestNG+ReportNG 实战 Android 自动化测试 at May 05, 2014

    #6 楼 @tspring 麻烦告知下,appium+maven+testNg 是怎样用的,我的运行了之后没有反应。是不是 pom 中除了添加 testNG 之外还要添加其他的。

  • SVN+Jenkins+Maven+Appium+TestNG+ReportNG 实战 Android 自动化测试 at April 18, 2014

    #5 楼 @532589730 appium+maven+testng 整合工具你那边使用了,怎么用的,我现在卡住,麻烦指导下。

  • 1
  • 2
  • Next
  • 关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
    TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
    友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
    简体中文 / 正體中文 / English

    ©testerhome.com 测试之家   渝ICP备2022001292号
      渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司