Ask a Question

How to use extent-report in Ready API tool?

SOLVED
avidCoder
Super Contributor

How to use extent-report in Ready API tool?

I want to use extent-report for reporting purpose in ready api. I have downloaded extentreport jar file and added it in to external and lib folder of ready api. Can anybody give me basic code implementation for this?

40 REPLIES 40
VeJaay
Occasional Contributor

 
TanyaYatskovska
SmartBear Alumni (Retired)

Hi Guys, 

Were you able to find a solution?

@surendermcard, I see your question posted here as well.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



surendermcard
Occasional Contributor

No Tanya..Iam still waiting for the solution.

The question posted here is same as the current thread.

 

Thanks

Surender

kgbheem
Occasional Contributor

@surendermcard : surender, i hope you have tried with the code which i sent you on monday?

plesae let me know if that worked for you?

we can connect if required

 

VeJaay
Occasional Contributor

Where did you place the script I posted ? it must be placed in the TEAR DOWN script . Else it wont work.

surendermcard
Occasional Contributor

Bheem, it didnt worked for me. I had added the groovy code in teardown script at project level. I have attached the error log in readyapi.

 
Let me know if Iam missing something.
 
Thanks
Surender
surendermcard
Occasional Contributor

Yes Veejay I added the groovy script in TearDown Script at project level.But its throwing error.

 

Attached the error log.

TanyaYatskovska
SmartBear Alumni (Retired)

Perhaps, it makes sense to add the libraries to get access to the runner object?

import com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner
import com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner
import com.eviware.soapui.impl.wsdl.panels.support.MockTestSuiteRunner
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



The groovy script is working fine in Teardown Script at Test Suite level but not on Project level.

How can I make it work at project level so that I can get the extent report for all the test suites?

 

Thanks

Surender

VeJaay
Occasional Contributor

I am not sure this will work in project level... I have tried only in case level.

Also how did it work ?  Can you list the changes you made so that it woudl help others.

cancel
Showing results for 
Search instead for 
Did you mean: