Forum Discussion
kmv :
Write your code in below teardown script
Project -> TestSuites -> teardown script
Refer below link for more help 🙂
https://www.linkedin.com/pulse/integration-extent-report-soapui-akshay-sharma
Thanks for your reply, i am able to create extent report, but my issue is test case count
when i try to run via 'TestRunner' (Right click on testsuite -> 'Launch TestRunner') : Test execution count : 4 (SOAPUI-TestRunner-Count.PNG) - This is correct
when i tried to get total test execution count through 'teardown' script, i am getting count as 2 (SOAPUI-TestRunner-Count.PNG)
So in the extent report i am getting two test cases (test case which got executed via groovy script not getting captured in teardown script)
Have attached project (xml) for reference
- HimanshuTayal4 years agoCommunity Hero
kmv : Yes it won't come under extent as it is being executed by some groovy not via testRunner. If you want that test case to be a part of Extent Report than you need to execute it via testRunner.
The images/project file which you have attached are not getting opened. Please attach them again or DM me.
- kmv4 years agoOccasional Contributor
Good day!! , Have attached project and snapshot details for reference
so using tear down scripts can't get total test case execution count (including test cases triggered by groovy script)
main challenge is total testcase execution count via testrunner and teardown script (runner) are different
thanks for your time and support
- HimanshuTayal4 years agoCommunity Hero
kmv : yes in your scenario Test Case count will be different, because you are triggering Test Case from groovy script.
Related Content
- 7 years ago
- 6 years ago
- 4 years ago
Recent Discussions
- 11 days ago