Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@AfterScenario is not displaying input tag value #2305

Closed
CrazyMunda opened this issue Nov 21, 2020 · 2 comments
Closed

@AfterScenario is not displaying input tag value #2305

CrazyMunda opened this issue Nov 21, 2020 · 2 comments
Labels

Comments

@CrazyMunda
Copy link

CrazyMunda commented Nov 21, 2020

Hi All,
I am trying to write some specific step based on given tags for scenario . But my After scenario is not picking the tags and i am not sure what i am missing here. I am using Serenity and JBehave

in my story file i am using
META:@test

and in my step definitions i am using
`@AfterScenario
public void AfterScenario( @ Named("test") String Testname) // but testname is always coming empty
{
{

    }
}`

Am i missing anything here. Thanks for the help.

@wakaleo
Copy link
Member

wakaleo commented Nov 21, 2020

This looks more like a JBehave question, so probably better to ask the JBehave community. In general Cucumber is the recommended tool for Serenity for new projects.

@CrazyMunda
Copy link
Author

CrazyMunda commented Nov 21, 2020

ok, will add is there . Is there any particular advantage using cucumber rather then jbehave . Sorry I am new to this automation things.

@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants