Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Xray, you can specify the scenario directly on the Test issue.

Info

Please note that

his

this option

is 

is not available in

 

Xray Data Center versions V7.3.0 or higher due to the introduction of datasets and

parameterization

parameterization on Cucumber tests.

This field will now automatically infer if the Test has a simple Scenario or a Scenario Outline.



Table of Contents

Defining Gherkin Tests

...

Step 2: Select More > Export to Cucumber. The file will be downloaded to the browser.

Example

This is a scenario of Cucumber Test with example values noted within the Test Details of the Cucumber Test and associated with a dataset, along with parameterized values at the Test Execution card level (issue type = Test Execution) within a Test Set.

When using the Export to Cucumber option, during the execution of the test, the generated file includes the example data within the Test Details of the Cucumber Test, along with the dataset parameterized values used within the iterations listed as part of the test execution Test Details. If the Cucumber Test is not part of a Test Set, then this issue doesn’t arise; only the Dataset parameterized values appear in the file created from the Export to Cucumber option during the execution of the Cucumber Test.

Please note that if example data within the Cucumber Test and a dataset are associated with the Cucumber Test itself (issue type = Test), then only the dataset parameterized values appear in the file created from the Export to Cucumber option during the execution of a Cucumber Test.

Info
titleScreenshots

 If you're using Xray Data Center V7.3.0, regarding a Cucumber Test:

  • You will see example data within Test Details of the Test itself.
  • There will be no dataset/parameterized values defined at the Test Level.
  • The Cucumber test will be associated with a Test Execution card.
  • Dataset/parameterized values are shown at Test Execution card level, in association with Test.  

...