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 this option is not available in custom field Cucumber Test Type field is now deprecated since Xray Data Center versions V7.3.0 or higher due to the introduction of datasets and parameterization on Cucumber tests.

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

...

When creating or editing Gherkin Tests, you can set the scenario directly on the Jira create/edit dialog or page. Just go into the Test Details tab, and choose a Gherkin Test Type. Now you can set the scenario:

...

Go here to learn more about Parameterized Tests, since you can use this functionality for Cucumber Tests (if using Xray Danta Ceter version V7.3.0 or higher), for identifying parameterized values to include during test execution.

Inline Editing Xray Tests

...

Info

You can only edit the scenario field if you have permission to edit the Test issue.

Info

If you are using Xray Data Center version V7.3.0 or higher and have example data, meaning parameterized values, entered in the Test Details of a Cucumber Test (without using a Dataset/parameterized values), when the Cucumber Test is executed in association with a Test Execution issue type, the format in the Test Details of the test execution will resemble the usage of parameterized values in a Dataset, essentially allowing for iterations.

Go here to learn more about Parameterized Tests, since you can use this functionality for Cucumber Tests (if using Xray Danta Ceter version V7.3.0 or higher), for identifying parameterized values to include during test execution.


Automated Steps Library

The Automated Steps Library provides a centralized place to manage automated steps and allows for easy refactoring of steps (Cucumber/Gherkin only).

...

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.

...

titleScreenshots

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

...