首页 文章

场景和场景之间的区别

提问于
浏览
-1

我创建了以下功能,并在另一个功能文件中调用此功能

@ignore功能:可重复使用的功能,可创建单个订单

场景大纲:创建多个用户并验证其ID,名称和年龄

给定网址'https://arid-stage . **** / sun-api // user / ****'

并请求{locale:'',offerId:'',operationType:'',paidTermDuration:'',paidTermDurationUnit:'',paymentCategory:'',storeOrderId:'',userId:''}当方法发布时状态200

示例:| locale | offerId | operationType | paidTermDuration | paidTermDurationUnit | paymentCategory | storeOrderId | userId | | en_us | 7777777 |创建| 30 |月| VENDOR_PAYMENT | localDate | 42DC198E5ABCE1430A494128 |

在其他功能中,我正在调用功能 - > * def result = call read('redeem-create.feature')

问题:只有在使用文本 Scenario Outline 并且我删除并更新为场景时才会执行此操作,这将不会执行 .

何时使用场景大纲和场景

任何建议/想法

1 回答

相关问题