1

我有这个测试用例

功能:登录应用场景:登录成功

     Given ....................
     When ....................  
     And A popup menu is displayed with the with the message "Please enter ......"
     Then I press the "Enter" button

前两个步骤已经解决,但最后两个步骤根本没有,因为我已经找到了如何处理来自 iphone 应用程序的弹出窗口。

任何想法?

我正在使用弗兰克黄瓜

4

1 回答 1

1

您可以使用此处提供的警报步骤: https ://github.com/moredip/Frank/blob/master/gem/lib/frank-cucumber/core_frank_steps.rb

另请注意,Frank 和 iOS7 触摸警报存在一些问题: https ://github.com/moredip/Frank/issues/234

于 2014-01-19T16:57:04.190 回答