如何将完整的行数据从 csv 迭代场景大纲传递给其他功能?
How to pass complete row data from csv iterated Scenario Outline to other feature?
我想将整行数据传递给场景大纲中的其他功能。下面是我的代码示例。
Scenario Outline: Calling scenario
* def data = call read('CalledFeature.feature') #Here want to pass the complete row data from the iterated csv
Examples:
| sample.csv |
整行将出现在名为 __row
的内置变量中。阅读文档:https://github.com/intuit/karate#scenario-outline-enhancements
我想将整行数据传递给场景大纲中的其他功能。下面是我的代码示例。
Scenario Outline: Calling scenario
* def data = call read('CalledFeature.feature') #Here want to pass the complete row data from the iterated csv
Examples:
| sample.csv |
整行将出现在名为 __row
的内置变量中。阅读文档:https://github.com/intuit/karate#scenario-outline-enhancements