created an attachment (id=158148)
report

description:
[regression][automation]script setting caption, summary does not work for grid, table and crosstab [0802]  

build:
2.5.2.v20100203-0630

steps to reproduce:
1. new a report with a grid and a table and a xtab.
2. select the grid, table and xtab, input scripts:
   this.summary="summary"; this.caption="caption"
3. preview.

expected result:
"summary" and "caption" should show up for each item.

actual result:
only "caption" shows up for grid and table

error log:
n/a
the summary and caption of table works.
since the x-tab is not binded to a cub, so the table content is not generated.
it's expected result.
set it to invalid.
verified.