【发布时间】:2018-07-18 18:44:59
【问题描述】:
我试过好几次了。甚至在博客文章中也提到了“start_test_server_in_background”,以便与手势相关的命令起作用。 我也试过了。仍然显示 NoMethod Found Error
touch("按钮 id:'id_name'")
即使我使用了敲击方法。
我正在使用 calabash 0.21.4 最新版本 和 我在 calabash-ios 控制台上运行命令。
【问题讨论】:
-
您有一些示例代码可以展示以便我们更好地帮助您吗?
-
calabash-ios 控制台是我们输入命令的地方,它会根据命令显示在 iphone 模拟器中。例如:calabash-ios 0.21.4> touch("button id:'Login'") NoMethodError:未定义方法
touch' for nil:NilClass from /Users/shubhopramanik/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.21.4/lib/calabash-cucumber/core.rb:1935:inquery_action_with_options'来自/Users/shubhopramanik/.rvm/gems/ruby-2.4.1/gems/calabash-cucumber-0.21.4/lib/calabash-cucumber/core.rb:290:in @ 987654322@'
标签: ios ruby calabash calabash-ios