Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add logs for each step in cucumber scenario in test execution using XRay

Ihor Sas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2020

I would like to add logs from my code for each step in cucumber scenario and import them to test execution. When I use scenario.write(some_log). Then I see those logs in cucumber report, but Xray just ignore them when I import it to test execution. Could someone help me if I'm doing smth wrong, or clarify if it's not possible at all

3 answers

0 votes
Alex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2022

@Ihor Sas @José Domingues _Xray_ @ankit lodha 

Hi, did you find a solution?

I also want to write logs in Cucumber which should be displayed in the xray test execution after import of the cucumber.json.

Doesn't work for me at the moment....

0 votes
ankit lodha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 26, 2020

Hi,

I am facing same issue.Do we have any solution for the above issue

0 votes
José Domingues _Xray_
Atlassian Partner
July 10, 2020

Hi @Ihor Sas

Can you please reach out to our support service desk? We'll need extra information to better help you. 

Best Regards,

Team Xray 

Ramki A
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 30, 2023

Hi @Ihor Sas did you get the solution for this problem, even we are facing the same issue when we tried adding logs with Scenario.log option

Suggest an answer

Log in or Sign up to answer