#5 楼 @hyddd macaca install ios 我运行了这句,但是后面又是有这个提示
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—global" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.2
npm ERR! npm v3.9.6
npm ERR! path /usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—global" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.2
npm ERR! npm v3.9.6
npm ERR! path npm-debug.log.1598237719
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.1598237719'
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.1598237719'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/macaca-cli/npm-debug.log
npm install exited with code 254 and signal null
install macaca-ios failed with Error: npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—global" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.2
npm ERR! npm v3.9.6
npm ERR! path /usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—global" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.2
npm ERR! npm v3.9.6
npm ERR! path npm-debug.log.1598237719
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.1598237719'
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.1598237719'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/macaca-cli/npm-debug.log
#2 楼 @lihuazhang 我只是顺带 @ 了一下,其实我还是希望大家看到能够帮帮我的,因为我是第一次接触这个,所以有点无头苍蝇的感觉。。希望能放回到主页那里,谢谢!
#5 楼 @seveniruby 我换了版本,可以成功运行了。但是发现弹出来的界面,并不稳定。并且在切换界面的时候,经常出现卡死的情况,请问是不稳定的情况吗?还是我自己操作不当?
@hyddd 求指导
@seveniruby 大神求帮忙看看
#1 楼 @codeskyblue 我想问问有其它比较好的自动化测试工具推荐吗?最好是 android 与 iOS 都有的
#34 楼 @seveniruby 我刚开始,还在了解原理
#28 楼 @seveniruby 如果自动遍历的话,是否先进行深度遍历?
#28 楼 @seveniruby 循环链接是需要根据实际的 APP 来调试的吗?
#28 楼 @seveniruby 如果使用代码进行遍历的话,是否必须预先知道程序该走哪一步?可以自动判断的吗?
#12 楼 @seveniruby 你好,我想问问 控制遍历的层次和循环连接. 是什么意思?循环链接是需要根据实际的 APP 来调试的吗?
#17 楼 @spikeshen 是还有其他的使用 XPath 的用法吗?
#14 楼 @spikeshen 我尝试过自己输入 XPath ,获取控件,依旧无法赋值
#14 楼 @spikeshen 能帮我看看这个问题吗? http://www.testerhome.com/topics/308
#14 楼 @spikeshen 嗯嗯,学到东西了,刚才试了一下可以。
#18 楼 @seveniruby 已经能够获取到指定元素了,但是却无法复制,不光是使用 Inspector,自己写 java 的代码也无法复制,你个人觉得这是自己 app 的问题还是 appium 的 bug?该如何解决呢?
#12 楼 @spikeshen 这个是能针对特定元素吗?
#10 楼 @spikeshen 如何判断是否存在该元素?
#7 楼 @spikeshen 查询使用什么方法的? wd.findelement()?
#5 楼 @spikeshen 不好意思,因为是刚接触的所以不是很熟悉 appium,我之前查过了,不过没查到相关的资料。
#5 楼 @spikeshen 有这样的办法能够判断某个元素是否出现的吗?
#1 楼 @spikeshen 在 appium ,如果不用任何暂停的方法,直接运行脚本,有可能会出现页面(ios&android)未加载完毕,但是脚本先执行的情况吗?
#1 楼 @spikeshen 使用 selenium 内的方法
#1 楼 @spikeshen 其实有没办法是能够判断界面是否已经加载该控件,然后在进行操作?