测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
xtt_weath (xiao)
第 7922 位会员 / 2016-03-15
2 篇帖子 • 12 条回帖
0 关注者
2 正在关注
18 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 热门话题
  • 最近回帖
  • iOS 测试 使用 idevicescreenshot 这个命令可以截图,但是不能指定文件保存的目录 (我的测试机 iPhone6plus,系统 ios9.2)
    0 个赞 / 10 条回复
  • Macaca iOS 真机测试 at 2016年12月13日

    楼主,执行 carthage update 报错,*** xcodebuild output can be found in /var/folders/b2/1m_p7q19731ft3vf8yfy2vlc0000gn/T/carthage-xcodebuild.oq5mSK.log
    *** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
    *** Building scheme "Alamofire tvOS" in Alamofire.xcworkspace
    *** Building scheme "Alamofire macOS" in Alamofire.xcworkspace
    *** Building scheme "Alamofire watchOS" in Alamofire.xcworkspace
    *** Building scheme "CryptoSwift" in CryptoSwift.xcworkspace
    ** CLEAN FAILED **

    The following build commands failed:
    Check dependencies
    (1 failure)
    ** BUILD FAILED **

    The following build commands failed:
    Check dependencies
    (1 failure)
    A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/lihr/macaca-test-sample/app/ios-app-bootstrap-master/Carthage/Checkouts/CryptoSwift/CryptoSwift.xcworkspace -scheme CryptoSwift -configuration Release -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
    ** CLEAN FAILED **
    请问这个该如何解决

  • Macaca iOS 真机测试 at 2016年12月05日

    #107 楼 @xdf 楼主 可以麻烦你把定义 driver 的代码贴出来吗?不知道你用的是什么框架,

  • Macaca iOS 真机测试 at 2016年12月05日

    @Before
    public void setUp() throws Exception {
    JSONObject porps = new JSONObject();
    porps.put("autoAcceptAlerts", true);
    porps.put("deviceName", "iPhone 6s");
    porps.put("platformName", "iOS");
    porps.put("version", "9.3.4");
    porps.put("udid", "your udid");
    porps.put("bundleId", "zx.ios-app-bootstrap");
    // porps.put("app", "/Users/qian/Documents/workspace/wd.java/app/dev_Test.ipa");
    JSONObject desiredCapabilities = new JSONObject();
    desiredCapabilities.put("desiredCapabilities", porps);
    driver.initDriver(desiredCapabilities);
    driver.sleep(20000);
    }
    请问这个里面的 driver 是那个 jar 中的?或者这个 driver 是怎么定义的

  • iOS Monkey 测试方案 [大家可以通过 gem install smart_monkey 进行安装了] at 2016年10月11日

    @vigossjjj ,楼主,请问有什么办法让 instrument 不占太多的内存?我跑一会占用了很多内存,

  • iOS Monkey 测试方案 [大家可以通过 gem install smart_monkey 进行安装了] at 2016年10月08日

    我使用 smart_monkey 测试,报告中无截图,请问这个是什么问题

  • 使用 idevicescreenshot 这个命令可以截图,但是不能指定文件保存的目录 (我的测试机 iPhone6plus,系统 ios9.2) at 2016年09月14日

    #9 楼 @heyyuyu 谢谢你,我截图成功了

  • 使用 idevicescreenshot 这个命令可以截图,但是不能指定文件保存的目录 (我的测试机 iPhone6plus,系统 ios9.2) at 2016年09月13日

    #6 楼 @heyyuyu 麻烦你给一个具体的例子,可以吗

  • 使用 idevicescreenshot 这个命令可以截图,但是不能指定文件保存的目录 (我的测试机 iPhone6plus,系统 ios9.2) at 2016年09月13日

    #6 楼 @heyyuyu 我这 2 中方法都有尝试,Runtime.getRuntime().exec("/bin/bash -l -c cd /Users/Test/Desktop idevicescreenshot /Users/Test/Desktop/87652.tiff").waitFor();貌似还是不行,

  • 使用 idevicescreenshot 这个命令可以截图,但是不能指定文件保存的目录 (我的测试机 iPhone6plus,系统 ios9.2) at 2016年09月13日

    #4 楼 @heyyuyu 你是说在代码中 cd 到目标目录,还是先在 terminal 中 cd 到该目录?

  • 使用 idevicescreenshot 这个命令可以截图,但是不能指定文件保存的目录 (我的测试机 iPhone6plus,系统 ios9.2) at 2016年09月12日

    这个和目录没有关系的

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

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