Working with Computed Columns in DataWindows - WinRunner

If computed columns are placed in detail band of the DataWindow, WinRunner can record and run tests on them. WinRunner uses the tbl_get_selected_cell, tbl_activate_cell, and tbl_get_cell_data TSL functions to record and run tests on computed columns.

WinRunner can also retrieve data about computed columns which are not placed in detail band of the DataWindow, using the tbl_get_cell_data TSL function.

To check the contents of computed columns in detail band of the DataWindow, use the DWComputedContent property check.

You cannot refer to a computed column by its index, since the computed column is not part of the database. Therefore, you must refer to a computed column by its name.

  • Record a selection on the computed column. The name of the column appears in the tbl_selected_cell statement inserted in your test script.
  • Perform a GUI checkpoint on the DataWindow in which the computed column appears. The name of the computed column appears in the Objects pane below the name of the parent DataWindow.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics