NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add the rows formatted as table headings, Tables headings are repeated when a table spans more than one page.

Hi all,
i am facing problem while generating Test Result word document after successful execution of TestStand.
 
The Problem is :
 
i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
 
Example:
 
Page  No. 1
-------------------------------------------------------------
|     Test case Number  |  Test Step number      |
-------------------------------------------------------------
|      100                         |            100                   |
 
.......
 
........
 
 
........
Page  No. 2
-------------------------------------------------------------
|     Test case Number  |  Test Step number      |
-------------------------------------------------------------
|      200                         |            300                   |
 
..........
.........
.........
 
Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
 
Please through light on this.
 
Regards,
Susa.
 
0 Kudos
Message 1 of 5
(3,668 Views)
Susa,
 
Are you talking about the ASCII text report in TestStand or the HTML report?  TestStand by default does not generate a Word document.  Did you customize your reporting?
 
I am also not too clear what it is that you're asking.  Do you get your information and plug it into a a MS Word table?  The format of the columns and records is not similar to any of the default reports.  I'm a little confused as to what you are looking for.
 
Could you please clarify your question?
 
 
Thanks,
 
Santiago D
0 Kudos
Message 2 of 5
(3,653 Views)

Hi Santiago,

Thank you very much for your valuable reply.

i want to generate MS-word report for TestStand after successful testing using MS-word2000.

Test report contains Actual values, Expected values and Pass/Fail status.

In my program i have customized all  fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....

To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will

insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header  but it start with  values of above said parameters.

so i'm not able to repeat table row header for each page.

Please find the attached file for your reference.

Attched file expected.doc  :   This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.

Attached file Actual output from source code.doc   :  This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.

Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.

i think this information is sufficient for you,

Still if you need some information please ask me.

Thanks

Susa.

Download All
0 Kudos
Message 3 of 5
(3,643 Views)

Susa,

This sounds more of an MS Word question than a TestStand question.  Although the best way of solving the issue is to do so through Word, if you want to use TestStand you could programmatically insert the colum heading in each page.  First, you would need to count how many rows fit on each page.  Once you have this number, lets call it N, you could create one large table and every N lines, instead of including the values for your test steps, include the name of your column.  In this way you will have the name of your columns on every page.

 

Regards,

Santiago D

0 Kudos
Message 4 of 5
(3,621 Views)
Hi Santiago,
 
Thank You Very Much for your response.
 
i think What you suggested is right.
Once again thanks for your advice.
 
Regards,
Susa.
0 Kudos
Message 5 of 5
(3,616 Views)