Is there any way to export script assertion output in logOutput to a file?(not from script log)
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to export script assertion output in logOutput to a file?(not from script log)
Im trying to get script assertion output information and store in a separate file. I was able to get script log but i need to get each and every script assertion logs separately in project and export to a separate file.
Thanks in Advance!!
Solved! Go to Solution.
- Labels:
-
Assertions
-
Function Tests
-
Scripting
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for starting this community thread! Let's ask some community members, they might be able to help.
Hi @TNeuschwanger @nmrao @HimanshuTayal @aaronpliu, could you take a look?
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @keerthm
I don't think there is a smartbear provided mechanism to do that. You will need to write some groovy code. Since you have script assertions, could you add some code in the script assertion to write to a specific file?
Since you can get script log, after running project you could have a helper script that reads the log file and parses out each and every script assertion into separate files.
Regards,
Todd
