登录|注册
caicai

227

Appium A new session could not be created. (Original error: Instruments crashed on startup 问题?

caicai,

"message":"Anewsessioncouldnotbecreated.(Originalerror:Instrumentscrashedonstartup)","origValue":"Instrumentscrashedonstartup"},"sessionId":null}这个问题怎么处理?大神继续回答

回复数:2 提问于:2018/03/30

stady

253

Appium几个坑的解决经验分享

stady,

1、UIAPickerWheel,比如picker里面有4个选项,latestday,last7days,last30days,all,这个时候只需要UIAPickerWheel.send_keys(latestday),就可以设置picker里的值2、在真机上生成的APP文件和在模拟器(simulator)上生成的是不一样的,用inspector的时候,…

回复数:0 提问于:2018/03/30

caicai

276

Appium 通过INSPECTOR,发现有多个元素的名字都是一样的怎么办?

caicai,

Appium通过INSPECTOR定位时,发现有多个元素的名字都是一样的怎么办?

回复数:1 提问于:2018/03/30

caicai

254

error: Failed to start an Appium session, err was: Error: Command failed: dyld: Library not loaded ?

caicai,

Appiumv1.3.1启动IOS测试后报了如下异常,记得之前可以跑的,点里那个诊断的按钮也显示环境正常,请大家帮我看看是哪里出问题了么?这个文件/Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller我看也有的啊。…

回复数:1 提问于:2018/03/30

stady

200

Appium switch_to.context测试,老是报错,没有context这个attribute问题?

stady,

switch_to.context测试,老是报错,没有context这个attribute,经过仔细查找发现:fromappiumimportwebdriverfromseleniumimportwebdriver第二条声明把第一条给覆盖了,switch_to是appium里的方法。

回复数:0 提问于:2018/03/30

caicai

204

怎么启动APPIUM,以保证它与APPIUM SERVER通信?

caicai,

解决办法:appium-UUDID --appBundleID

回复数:0 提问于:2018/03/30

caicai

220

Appium 运行iOS用例报错:We don't have write access to /Applications/Xcode.app..

caicai,

org.openqa.selenium.SessionNotCreatedException:Anewsessioncouldnotbecreated.(Originalerror:Wedon'thavewriteaccessto/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.…

回复数:1 提问于:2018/03/30

caicai

161

运行appium报错:Appium will not work if used or installed with sudo ?

caicai,

error:Appiumwillnotworkifusedorinstalledwithsudo.Pleasererun/installasanon-rootuser.IfyouhadtoinstallAppiumusing`sudonpminstall-gappium`,thesolutionistoreinstallNodeusingamethod(Homebrew,forexample)thatdoesn'trequiresudotoinstallglobalnpmpackages. 

回复数:1 提问于:2018/03/30

caicai

171

Appium报Couldn’t start Appium REST http interface listener怎么解决?

caicai,

Appium报Couldn'tstartAppiumRESThttpinterfacelistener怎么解决?

回复数:1 提问于:2018/03/30

caicai

154

Appium urllib2.URLError: <urlopen error [Errno 10061] >问题解决?

caicai,

urllib2.URLError:<urlopenerror[Errno10061]>Appium运行中报错如上,有两种可能:1)发现是由于自己手机上连接了代理,去掉代理,以上报错消失2)没有启动Appium,启动后,以上问题即可消失

回复数:0 提问于:2018/03/30

stady

164

appium Activity used to start app doesn't exist or cannot be launched 问题解决?

stady,

运行appium测试报错“error:FailedtostartanAppiumsession,errwas:Error:Activityusedtostartappdoesn’texistorcannotvelaunched!Makeusreitexistsandislaunchableactivity”

回复数:1 提问于:2018/03/30

caicai

225

Appium UIAutomatorViewer提示: Unable to connect to adb. Check if adb is installed correctly

caicai,

UIAutomatorViewer提示:Unabletoconnecttoadb.Checkifadbisinstalledcorrectly怎么办?

回复数:1 提问于:2018/03/29

caicai

193

Appium Error: Permission to start activity denied 怎么解决?

caicai,

Error:Permissiontostartactivitydenied怎么解决?

回复数:2 提问于:2018/03/29

caicai

215

Appium error: Android devices must be of API level 17 or higher

caicai,

error:AndroiddevicesmustbeofAPIlevel17orhigher.PleasechangeyourdevicetoSelendroidorupgradeAndroidonyourdevice.

回复数:1 提问于:2018/03/29

caicai

222

Appium error: Failed to start an Appium session, err was: Error: Command failed

caicai,

error:FailedtostartanAppiumsession,errwas:Error:Commandfailed:C:Windowssystem32cmd.exe/s/c“D:android-sdk-windowsplatform-toolsadb.exe-sadbserverversion(32)doesn’tmatchthisclient(36);killing…wait-for-device” error:couldnotinstallsmartsocketlistener:cannotbindto127.0.0.1:5037:

回复数:1 提问于:2018/03/29

分享文章
发布问题
安全退出