RobotFramework之Dialogs

背景

繼續(xù)學(xué)習(xí)RobotFramework,這次看的是Dialogs庫。

Dialogs庫主要提供用戶一個交互界面,在腳本的執(zhí)行過程中暫停腳本,用戶通過輸入一些特殊的值來實現(xiàn)測試腳本的個性化。

A test library providing dialogs for interacting with users.
Dialogs is Robot Framework's standard library that provides means for pausing the test execution and getting input from users. The dialogs are slightly different depending on whether tests are run on Python, IronPython or Jython but they provide the same functionality.
Long lines in the provided messages are wrapped automatically since Robot Framework 2.8. If you want to wrap lines manually, you can add newlines using the \n character sequence.

Execute Manual Step

示例代碼

更多內(nèi)容請訪問:RobotFramework之Dialogs_點點寒彬的博客-CSDN博客_robotframework彈框

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • Dialogs - 對話框 Dialogs inform users about a specific task ...
    兩個朋友指甲閱讀 1,353評論 0 1
  • Android 自定義View的各種姿勢1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 179,366評論 25 708
  • 發(fā)現(xiàn) 關(guān)注 消息 iOS 第三方庫、插件、知名博客總結(jié) 作者大灰狼的小綿羊哥哥關(guān)注 2017.06.26 09:4...
    肇東周閱讀 15,840評論 4 61
  • 現(xiàn)在距離2017年還有幾個小時 每個歲末好像都應(yīng)該有點話要說 2016年啊 不斷否定自我也不斷努力重塑自我 可依然...
    蒼耳er閱讀 213評論 0 0
  • 我的譯文 …………………………………………………………………………… 手機譯文 McDonald's: The O...
    琪琪2017閱讀 563評論 0 0

友情鏈接更多精彩內(nèi)容