Forum Discussion

srinadha2020's avatar
srinadha2020
New Contributor
4 years ago

Tags we are passing multiple tags like @Smoke and @Regression in CucumberOption showing 0 scenarios

We are passing multiple Tags in CucumberOptions class which is not running and getting error message as 0 scenarios-

io.cucumber.testng.CucumberOption(tags = "@smoke and @regression"). getting error as '0 Scenarios' instead of running multiple tags, Please suggest if you have any way we can pass Tags. Please check and help me here. Thanks!

  • The expression @Smoke and @Regression will only run scenarios that have both of these tags. Do you have any such scenarios?

  • srinadha2020's avatar
    srinadha2020
    4 years ago

     

3 Replies

  • aslakhellesoy's avatar
    aslakhellesoy
    SmartBear Alumni (Retired)

    The expression @Smoke and @Regression will only run scenarios that have both of these tags. Do you have any such scenarios?

    • srinadha2020's avatar
      srinadha2020
      New Contributor