how do i create log entries in my result sets from a .net script? I'm using SilkTest Workbench 13.
There it one method to write a comment into the result set
Workbench.Verify(expected As Object, actual As Object, comment As String)
Here u dont want to compare or verify any thing just put
Workbench.Verify(1, 1, comment As String)
I hope this will help you.
Thank you Rajashri for the fast reply it really helped!
Rajashri is correct, currently the only way to add a comment to the result from a script is to create a dummy verification. If you would like something similar to the result comment test step that exists for visual tests (but for scripts), you should request a feature.
I just tried to use a visual test which calls a .net script. However this .net script contains verify routines (for sucessful as well as failed verifications) which were supposed to write into the result set which actually does not happen. The results set only contains things which the visual test logs but not the called .net script.
I also tried to set "Save all information" in the playback settings to True which didn't help.
EDIT: Due to some changes in the code it didn't reach the verify routines. It was my mistake and it works now.