We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Scenario Outline reading data from Examples and serenity report not printing actual data into report
Serenity BDD report need to print Actual data which is in Scenario Outline Examples
4.0.14
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
No response
This is my feature file Scenario Outline: Check Page Status and JQuery Given Page is loaded
Examples: | URL | SIZE | | https://www.google.com/online/ |
=== StepDefinitions.java @steps CommonActions commonActions;
@given("Page {word} is loaded") public void pageURLIsLoaded(String pageURL) throws MalformedURLException { System.out.println("Navigating to => "+pageURL); commonActions.navigateTo(pageURL); }
=== CommonAction.java https://github.com/step("Page {word} is loaded") public void navigateTo(String goToURL) throws MalformedURLException { System.out.println("platform.contains "+ environmentVariables.getProperty("environment")); Serenity.setSessionVariable("return_user_flow").to(false); getDriver().navigate().to(goToURL); }
In Serenity Report it's not printing URL Refer to screen capture
Work on this myself and propose a PR (with Serenity BDD team guidance)
The text was updated successfully, but these errors were encountered:
This is a scenario outline, it will show the variable not the value (since in a scenario outline you typically have more than one example).
Sorry, something went wrong.
Thanks @wakaleo for the update
No branches or pull requests
What happened?
Scenario Outline reading data from Examples and serenity report not printing actual data into report
What did you expect to happen?
Serenity BDD report need to print Actual data which is in Scenario Outline Examples
Serenity BDD version
4.0.14
JDK version
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
Execution environment
No response
How to reproduce the bug.
This is my feature file
Scenario Outline: Check Page Status and JQuery
Given Page is loaded
Examples:
| URL | SIZE |
| https://www.google.com/online/ |
=== StepDefinitions.java
@steps
CommonActions commonActions;
@given("Page {word} is loaded")
public void pageURLIsLoaded(String pageURL) throws MalformedURLException {
System.out.println("Navigating to => "+pageURL);
commonActions.navigateTo(pageURL);
}
===
CommonAction.java
https://github.com/step("Page {word} is loaded")
public void navigateTo(String goToURL) throws MalformedURLException {
System.out.println("platform.contains "+ environmentVariables.getProperty("environment"));
Serenity.setSessionVariable("return_user_flow").to(false);
getDriver().navigate().to(goToURL);
}
In Serenity Report it's not printing URL
Refer to screen capture
How can we make it happen?
Work on this myself and propose a PR (with Serenity BDD team guidance)
The text was updated successfully, but these errors were encountered: