【问题标题】:How pick image on Albums - iOS testing KIF如何在相册中挑选图片 - iOS 测试 KIF
【发布时间】:2014-11-28 18:36:06
【问题描述】:

面对这个问题,当你从相册中选择图片时,不会点击图片。在点压力也会发生。怎么办?

used:[tester choosePhotoInAlbum:@"Moments" atRow:0 column:0]; 以及:[tester tapScreenAtPoint:CGPointMake(47, 150)];

【问题讨论】:

    标签: ios automated-tests ios8.1 kif


    【解决方案1】:

    我也试图弄清楚这一点。

    通过在[tester tapScreenAtPoint:CGPointMake(47, 150)] 之前添加[tester waitForTimeInterval:1] 解决了这个问题

    像这样:

    [tester tapViewWithAccessibilityLabel:@"Camera Roll"];  //Album Name
    [tester waitForTimeInterval:1];
    [tester tapScreenAtPoint:CGPointMake(47, 150)];
    [tester tapViewWithAccessibilityLabel:@"Choose"];
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-03
      • 1970-01-01
      • 1970-01-01
      • 2015-12-01
      • 2013-09-16
      • 2015-07-24
      相关资源
      最近更新 更多