robotframework传入参数

878 阅读1分钟

用例中直接输入数字,传递过去的是字符串。如果想传递整型,可以通过设置变量的方式解决

*** Settings ***

*** Variables ***
${y}     0

*** Test Cases ***