Hi,
I want my test scenarios to run against different browsers.
Therefore I use tags and hooks to organise the webdriver management for example to set the system properties for various drivers, to include the correct webdriver, to open the browser, ...
In other words I use tagged hooks to define what @Before and @After blocks get run for what scenarios.
Is there any possibility to combine this functionality with the export from cucumber feature files from Xray?
The problem is that these Before & After hooks have to be identified with tags in terms of implementation and the tags are placed on top of the scenarios in the feature files but with Xray there is no option to enter them.
Instead of the tag(s) the test issue key which identifies the scenario is exported to exactly the same position where I want my tags to be.
Are there any ideas how to add tagged hooks to the cucumber feature to the appropriate position on top of the scenarios in Xray?
Any help is appreciated!
Thanks in advance!
Community moderators have prevented the ability to post new answers.
And also I want to use Cucumber Background to roll out all the Given Steps and to run common Steps before Scenarios actually start. And therefore I Need to write the Background Steps on top of all my Scenarios, because they run for every single Scenario in the Cucumber Feature File.
But Xray Plugin doesnt provide any Options to enter something before the Scenario:
Why do the Support and the provided possibilities for the Export from Cucumber Feature Files from Xray to another extern Location is that poor?
Hi again,
what I want to have after export of Cucumber .feature file from Xray is this:
Feature: TestTestTest
@XCTP-54 @Firefox --> needed "Tag" to run test against different browsers
Scenario: TestTestTest
Given I am there
When I do this
And I do that
Then I should get this
And I should be there
The result I already get when I type in the tags into the scenario input field is the following:
Feature: TestTestTest
@XCTP-54 --> Test Issue Key
Scenario: TestTestTest
@Firefox
Given I am there
When I do this
And I do that
Then I should get this
And I should be there
But this kind of Cucumber feature is not executable since the tags are in the wrong place above the steps.
Furthermore I can not find options where to enter tags in Xray and additionally the scenario description depends on the feature name in Xray and the scenario type is to select by the user which means there is so far no visible possibility for me to add tags to my scenario.
Any help is appreciated!
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.