首页 > 解决方案 > Jbehave 在生命周期步骤中传递数据

问题描述

在下面的示例中,数据是在场景步骤中传递的,但不是在生命周期步骤中,知道为什么吗?

Lifecycle:
Before:
Scope: SCENARIO|STORY
Outcome: ANY

When I enter search criteria (<ProfilerEntityName>) on the Search page

Given I navigate to CB Finder
When I select file with Name (<FileName>)
When I delete the file which is currently selected

Scenario: Basic report functionality

When I enter search criteria (<ProfilerEntityName>) on the Search page

Given I navigate to CB Finder
When I select file with Name (<FileName>)
When I delete file which is currently selected

Examples:
| ProfilerEntityName |FileName   |                      
|*              |sha|Call |        

标签: jbehavejbehave-plugin

解决方案


推荐阅读