robotframework - 如何将一长串的论点分成几行短行?

标签 robotframework line-breaks

例子:

Log To Console   This is the first argument   This is the second argument   This is the third argument

如何用多个短参数换行?

我尝试使用 \或者只是打破行(不使用任何特殊字符)但它没有用。

编辑:澄清 - 我想在多行中为关键字提供参数。我想将一长行源代码物理拆分为多行短行。

最佳答案

来自 User Guide :

If there is more data than readily fits a row, it possible to use ellipsis (...) to continue the previous line.


    Example test     [Documentation]    Documentation   for this    test case.
                     ...      This can get  quite   long...
                     Do X     one       two     three
                     ...      four      five    six

关于robotframework - 如何将一长串的论点分成几行短行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51059049/

相关文章:

python - 如果屏幕在 60 秒内没有出现,如何在 python-pyautoit 中引发异常?

python-3.x - python : Printing a list with a line break after every nth item

python - 如何在 .yaml 文件环境变量中声明值并在 Jenkins 中调用它

python - 如何在机器人框架中保存先前的嵌入式参数实例?

php - 与字符串末尾的字符串匹配但后面不跟换行符的正则表达式模式

css 以不同方式格式化我的 h1 的第 1 行和第 2 行? & 改变换行符的位置

android - 如何在 Android 的 xml <string> 资源中保留换行符?

latex - 如何在 reStructuredText 的定义列表上使用强制换行来渲染 LaTeX/PDF

python - 如何在不启动实际测试的情况下获取 Robot Framework 中的测试用例列表?

python - 在机器人框架中定义包含变量的关键字