簡體   English   中英

如何處理坦率黃瓜的彈出窗口

[英]how to handle the popups from frank-cucumber

我有這個測試用例

功能:登錄到應用程序場景:成功登錄

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

前兩個步驟已解決,但后兩個步驟根本沒有解決,因為我發現了如何處理來自iphone應用程序的彈出窗口。

任何想法?

我正在使用坦率黃瓜

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

還請注意,Frank和iOS7在觸摸警報方面存在一些問題: https : //github.com/moredip/Frank/issues/234

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM