Closed TestMyCode12345 closed 4 years ago
Please take a look on this example: https://github.com/reportportal/examples-java/tree/master/example-cucumber4 Or this (using cucumber-testng): https://github.com/reportportal/examples-java/tree/cucumber4-jackson-no-method/example-cucumber4
Please take a look on this example: https://github.com/reportportal/examples-java/tree/master/example-cucumber4 Or this (using cucumber-testng): https://github.com/reportportal/examples-java/tree/cucumber4-jackson-no-method/example-cucumber4
Thanks @HardNorth I am able to see the test cases loaded into the reportportal with agent-java-cucumber.
I need one more clarification. I have existing project in selenium + cucumber . we are generating report and send report across team with extend report. We have a data in TDM sheet (excel).
Created TestRunner java file to set plugins and feature file. Now reportportal launch the test cases.But test cases are skipped. Bcoz stepdefinition is not called. It is saying "No match found for the given, when, then". Do you have any example how to integrate existing selenium project in reportportal.
![Uploading Capture.JPG…]()
Any reason to transfer this issue from reportportal???
@TestMyCode12345 Because the issue is related to the agent only.
Hi Team,
I have created one project using cucumber. I am able to run the restNg.xml and all test cases got executed based on feature file within.
Reportportal is up and running. I successfully load test cases that are executed using below link in reportportal
https://github.com/reportportal/example-java-TestNG
But I am not able to launch test cases done in cucumber prject.
Steps followed:
pom.xml - added cucumber dependency. (attached screenshot)
testing.xml - Added listener.
TestRunner.java - Added ScenarioReporter.
Reportportal.properties.
Could you please advice me.
I am new to cucumber.