如何在Calabash-ios中执行拖放操作?
我试过录音和回放。这对我不管用。
还有其他简单的方法吗?
发布于 2014-07-19 13:39:12
此示例将一个单元格重新排序到表视图中其他单元格的位置。
touch("UILabel marked:'Edit'") // Touchs table edit button
query_from = "UILabel marked:'Label_of_moving_cell' parent UITableViewCell child view child UITableViewCellReorderControl"
query_to = "UILabel marked:'Label_of_destination_cell' parent UITableViewCell child view child UITableViewCellReorderControl"
pan(query_from,query_to,{duration:1})https://stackoverflow.com/questions/20629455
复制相似问题