代码之家  ›  专栏  ›  技术社区  ›  indrajit narvekar

如何在Robot框架中将字典转换为String或StringBuffer?

  •  0
  • indrajit narvekar  · 技术社区  · 6 年前

    你知道怎么做吗?

    1 回复  |  直到 6 年前
        1
  •  8
  •   Todor Minakov    6 年前

    BuiltIn Convert To String

    *** Test Cases ***
    TC
        ${dict}            Create Dictionary    a=1    b=2    c=3
        ${nested_dict}     Create Dictionary    first=${dict}    second=${dict}
    
        ${string}    Convert To String    ${dict}
        ${nested}    Convert To String    ${nested_dict}