背景
繼續(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彈框