I create my own log file, it seems easier to do than use TestPartners, plus you can format it anyway you want. I have it as a text file and when my script finishes then I convert it to HTML and post this on our internet so managers can see it. It works out very well.
I create the HTML file directly so i'm able to view the HTML file from the network and just have to refresh to get the updated results. The html file also provides me with hyperlinks to the snapshots. The most interesting thing is that using my html file i can filter by the following categories:
Script Execution Summary
List of snapshots
Life is not easy with TP's log
If you always do what you've always done, you will always get what you've always got!
I am scheduling all my scripts and calling them one after another and I am getting a huge log file and I am not able to give the status of the test scripts whether they are passed or fail. In the scripts, I have written code to send everything to the log file using the testlog command.
How should I tell whether the test cases are passed or failed, for the overall summary it is giving as failed. so please help me in this regard.
I think I do something similar. I have a batch script that calls smaller scripts. What I do is I write all the information to a .csv file, but you have to keep in mind that your step description can't have ',' in it. So I have Step Name,Pass\Fail\Verify\Title,Description. At the top of each of the smaller scripts I have a entry in the log file with the Title option selected. If something has to be manually verified then I have Verify selected and Pass/Fail are self explainatory.
At the end of the batch file, then I call a funciton that converts the .csv file to a HTML file. I have header information and it totals up the pass/fail/verify, puts what computer name, user, etc.
Thanks for the information. Can you also provide me the code to use the .csv file for creating a log and is there any way I can use this for all the scripts which I have written to implement without modifying them.