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

Record data with Serenity.recordReportData().withTitle().andContents(); #180

Open
sumanguduru opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@sumanguduru
Copy link

I'm seeking assistance with recording data into ReportPortal. I've been attempting to use the following steps to record some data into a report, but it doesn't seem to be transferring to ReportPortal:

Serenity.recordReportData() .withTitle("Request Decrypted") .andContents(decryptedRequest);

I am using version: 1.6.0
serenity version: 4.1.0

@grey-rain
Copy link
Collaborator

hi @sumanguduru !
it seems like you're trying to log data in a wrong way. Usually common logger is used without a need to call to static Serenity classes.
I found the following on ReportPortal website:
https://github.com/reportportal/client-java/wiki/Nested-steps

I hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants