51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1189|回复: 1
打印 上一主题 下一主题

[在学] 运行程序报错

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2018-2-11 11:14:36 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
Exception in thread "main" org.openqa.selenium.WebDriverException:An unknown server-side error occurred while processing the command. Originalerror: Error occured while starting App. Original error: Activity used to startapp doesn't exist or cannot be launched! Make sure it exists and is alaunchable activity (WARNING: The server did not provide any stacktraceinformation)
Command duration or timeout: 26.17 seconds
Build info: version: '3.6.0', revision:'6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'MVALRI8VIXNETTP', ip:'192.168.56.1', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1',java.version: '1.8.0_151'
Driver info: driver.version: AndroidDriver
    atsun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(UnknownSource)
    atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    atjava.lang.reflect.Constructor.newInstance(Unknown Source)
    atorg.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
    atorg.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
    atorg.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
    at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
    atorg.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$24(ProtocolHandshake.java:359)
    atjava.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
    atjava.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
    atjava.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
    atjava.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
    atjava.util.stream.AbstractPipeline.copyInto(Unknown Source)
    atjava.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
    atjava.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
    atjava.util.stream.AbstractPipeline.evaluate(Unknown Source)
    atjava.util.stream.ReferencePipeline.findFirst(Unknown Source)
    atorg.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:362)
    atorg.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:136)
    atorg.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
    atio.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:89)
    atorg.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
    atio.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
    atio.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
    atio.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
    atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:217)
    atorg.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:140)
    atio.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)
    atio.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:83)
    atio.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:93)
    atio.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
    atappium_fn_testing.CalculatorTest.main(CalculatorTest.java:28)



在学
Appium移动app自动化测试高手修炼班
http://www.atstudy.com/course/397
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2018-2-11 14:20:23 | 只看该作者
activity的名字写错
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-1 13:30 , Processed in 0.060923 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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