真实数据怎么拷下来的
#1 楼 @Lihuazhang 设置的 100 并发线程
谋事在人成事在天,思寒只是在等待一个一朝致富的机会,思寒棒棒哒
#2 楼 @debugtalk 膜拜大神,试试去
#1 楼 @Lihuazhang 好提议
#3 楼 @seveniruby 对对,日志里面确实还有好多信息,我只是简单的列了下 appium 工作的流程,偷懒了 ,多谢思寒指点,我再好好读那个日志去,对了,下面的文字其实是借用了别人的
我多台执行的时候提示这个:
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c "D:\wyf\tools\Android\ADT-64\ADT\sdk\platform-tools\adb.exe shell "getprop persist.sys.language""
error: more than one device/emulator
) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 7.41 seconds
Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37'
System info: host: 'Administrator_0', ip: '192.168.2.170', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_73'
Driver info: io.appium.java_client.android.AndroidDriver
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:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
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 io.appium.java_client.AppiumDriver.(AppiumDriver.java:109)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:39)
at basicTest.basicTest.setUp(basicTest.java:50)
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:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
#10 楼 @ellison ant debut 的时候报这个错,请问你遇到过吗?
[dx]
[dx] UNEXPECTED TOP-LEVEL ERROR:
[dx] java.lang.OutOfMemoryError: GC overhead limit exceeded
[dx] at java.util.Arrays.copyOfRange(Arrays.java:3664)
[dx] at java.lang.String.(String.java:207)
[dx] at com.android.dx.rop.cst.CstString.utf8BytesToString(CstString.
java:158)
[dx] at com.android.dx.rop.cst.CstString.(CstString.java:200)
[dx] at com.android.dx.cf.cst.ConstantPoolParser.parseUtf8(ConstantPo
olParser.java:371)
[dx] at com.android.dx.cf.cst.ConstantPoolParser.parse0(ConstantPoolP
arser.java:262)
[dx] at com.android.dx.cf.cst.ConstantPoolParser.parse(ConstantPoolPa
rser.java:150)
[dx] at com.android.dx.cf.cst.ConstantPoolParser.parseIfNecessary(Con
stantPoolParser.java:124)
[dx] at com.android.dx.cf.cst.ConstantPoolParser.getPool(ConstantPool
Parser.java:115)
[dx] at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFi
le.java:482)
[dx] at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFil
e.java:406)
[dx] at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfN
ecessary(DirectClassFile.java:388)
[dx] at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClass
File.java:251)
[dx] at com.android.dx.command.dexer.Main.processClass(Main.java:665)
[dx] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:
634)
[dx] at com.android.dx.command.dexer.Main.access$600(Main.java:78)
[dx] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.jav
a:572)
[dx] at com.android.dx.cf.direct.ClassPathOpener.processArchive(Class
PathOpener.java:284)
[dx] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPath
Opener.java:166)
[dx] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpe
ner.java:144)
[dx] at com.android.dx.command.dexer.Main.processOne(Main.java:596)
[dx] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:4
98)
[dx] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)
[dx] at com.android.dx.command.dexer.Main.run(Main.java:230)
[dx] at com.android.dx.command.dexer.Main.main(Main.java:199)
[dx] at com.android.dx.command.Main.main(Main.java:103)
BUILD FAILED
D:\wyf\tools\Android\ADT-64\ADT\sdk\tools\ant\build.xml:888: The following error
occurred while executing this line:
D:\wyf\tools\Android\ADT-64\ADT\sdk\tools\ant\build.xml:890: The following error
occurred while executing this line:
D:\wyf\tools\Android\ADT-64\ADT\sdk\tools\ant\build.xml:902: The following error
occurred while executing this line:
D:\wyf\tools\Android\ADT-64\ADT\sdk\tools\ant\build.xml:283: null returned: 3
为什么要切换到新的 activity 呢,直接点击拍照按钮就可以拍照啊
#1 楼 @chenhengjie123
appium 版本 1.3.7
npm 版本 2.10.1
#1 楼 @chenhengjie123
appledeMacBook-Air:~ apple$ brew install ideviceinstaller
Cowardly refusing to continue at this prefix: /
这是咋回事呢
像这样的 junit.framework.AssertionFailedError: ����Ⱥ�Ի��� expected: but was:
生成的报告会乱码怎么办?