Issue with Multiple tag in cucumber / java | Selenium Forum
M
Posted on 14/06/2016
Hi,

I am facing issue with the Multiple Tags, in my feature file I have tag attached with different scenarios (Test cases), the execution of the one tag depends on other.. However once the tag is RUN its not running that tag again (As shows below A,B,C,A ).. could you please let where I am going wrong ? Is this possible ? Is there any better way if not .


@DataElement
Feature: Static Data Test

Glue: DataGlue.java

@A
Scenario Outline: Verify that user with role as ....

...
....
Examples:
...

######################################################################################################################

@B
Scenario Outline: Verify that user with DATA

...
...
Examples:
...

######################################################################################################################

@C
Scenario Outline: Verify that user with REQ

...
...
Examples:
...

######################################################################################################################

@D
Scenario Outline: Verify that user

...
...
Examples:
...

######################################################################################################################

In my Runner Class I have something like this


@CucumberOptions
(features = {"features"},
monochrome = true,
glue = {"com.glue.regression"}
tags = {"@A,@B,@C,@A"}

Thanks

Regards
J

M
Replied on 14/06/2016

Any update ?


M
Replied on 15/06/2016

send the project.