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

Parameterized annotation Step/WebStep #8

Open
mazipan opened this issue Oct 21, 2022 · 0 comments
Open

Parameterized annotation Step/WebStep #8

mazipan opened this issue Oct 21, 2022 · 0 comments

Comments

@mazipan
Copy link

mazipan commented Oct 21, 2022

When using Allure repot Step annotation, we can pass parameter

Example:

@Step("Click on button {0}")
public void clickButton(String labelText) {
  // flows here
}

Using Ekam, we usually use like this:

@Step(description = "Click button")
public void clickButton(String labelText) {
  // flows here
}

When I try to add parameter {0}, it does not compile the value.

@mazipan mazipan changed the title Parameterized Step Parameterized annotation Step Oct 21, 2022
@mazipan mazipan changed the title Parameterized annotation Step Parameterized annotation Step/WebStep Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant