04-25-2011 04:12 AM
Hello,
I have 2 queries,
1) In the teststand report header there is a text called " Number of Results" and it displays some number after the execution of the sequence. But i found that the " NUmber of Results" is not same as the total number of tests ( PassedTests + FailedTests), So i want to know what is the count " Number of Results" is giving?
2) I have 5 main sequence calls in my sequence. when i execute the sequence, i can see all the tests are shown as passes in the output window of my sequence but, after completion of the whole sequence i can see some of the failed tests in my XML report. so why the output window is not displaying the failed tests as failed?
Thanks & Regards
Sameer Kulkarni
04-25-2011 09:48 PM
1) The Number of Results in the report header are the number of steps that have the option Record Results checked. Basically each step, in Properties and Run Options, has a checkbox called Record Results. If that is checked then that step becomes a "Result Number." Or rather something that records on the report.
2) I'm assuming when you say main sequence calls that in your Main Step Group in the MainSequence you have 5 sub sequence calls. Is that correct? I'm also assuming that you are not tracing into subsequences and some of the substeps are failing in the sequence calls. Hence they will not show until the report is displayed.
Hope this helps,
04-25-2011 11:45 PM
Hello Jigg,
Thanks for the reply. i got the answer for my 1st question.
Regarding my second question, yes i have 5 sub sequence calls in my main sequence, and out of 5 sub sequence calls, i can see the failed Tests in my output window in 2 of the sub sequence calls while executing. But other 3 sub sequence calls never show Failed Tests even some tests are failed.
I dint get your point that i am not tracing the sub sequence call,
Please clarify.
Thanks & Regards
Sameer
04-26-2011 09:37 AM
What do you mean by output window? I thought you were talking about the window that shows the tracing during execution....but now it doesn't seem like you are.
Tracing is the little yellow arrow that visibly shows what is executing during runtime. If you go to Station Options (Configure>>Station Options) you will see the Execution tab. On there you should see the settings for tracing. This will then change what you see during execution. You can read more about these in the TestStand help by clicking the Help button while on that tab.
04-27-2011 05:33 AM
Hello,
There are 2 windows u can see step settings and output, i am talking about that output window where one can see the execution details step by step and whether test steps are passing or not.
My problem is i can see all the executing steps are shown as passed in this output window even though the tests are failed in the final report.
04-28-2011 02:29 AM - edited 04-28-2011 02:31 AM
If I am correct you are talking about the Output Pane ( ' View -> Output '). The Ouput Pane will not show the Execution details unless you use OutputMessage() function or Teststand API to publish your message. I hope in the Step settings you are using the Output Message Expressions to show the details in the Output Pane.
But, still I am not sure, can you post some Image illustrating your Output Window.
AshwiN,