有时候我们可能多组测试数据会到同一个值,这样我们就可以设置一个变量,修改时只需要修改一个地方即可,而不需要对每组测试数据的这列数据进行修改
如下图:
(1)定义变量:!define A {10} ,注意这里的变量的值要用中括号{}括起
(2)变量的使用 ${A}
点击保存后就是这个效果: