Forum Discussion

rogerthat27's avatar
rogerthat27
New Contributor
6 months ago

Cucumber tags for examples

I want to add tags (testCaseKey) to the examples, rather then the scenario. This requirement is because each example is a different testcase.

For example:

Scenario Outline: testing
Given ----
When -----
@TestCaseKey=Web-T96
Examples:
|Day |
| Mon|
@TestCaseKey=Web-T97
Examples:
|Day |
| Tue|




 

When i add the tags as above only the first tag @TestCaseKey=Web-T96 is executed in zephyr scale testcycle with both the examples. 

How can i execute the tags separately without creating another scenario

No RepliesBe the first to reply