Variable Capture 变量的捕获
You can define a variable in one test to capture and store test data and then reference the test variable in a second test.
您可以在一个测试中定义一个变量,以获取和存储测试数据,然后在第二个测试中引用测试变量。
The variable names title and author within the extractor are arbitrary; matches from capture groups are simply assigned from left to right, and you can call them whatever you'd like.
抽取器中的变量名title和author是随意的;从捕捉组来的匹配结果会简单地从左往右被赋值,你可以叫它们任何名字。
A special built-in variable, __arg3, is used to capture the return value from a function.
使用一个特殊的内置变量__arg 3捕捉函数的返回值。
应用推荐