
FAQ
How do you use grids in SilkTest?
Detail
Custom Grids Require Custom Support.
Grid Controls are used to present data in tabular form in many
applications. Unlike ListBox, RadioList, TextField and other common
controls, there is no single standard for grids. They are either homegrown
or purchased from a third-party vendor. Grids pose a problem for SilkTest
automation. Without built-in 4Test support, it is difficult to drive and
verify them.
From a testing perspective, the requirements for interacting with the
grid are clear. Methods that provide the ability to find a cell containing
a given value, get the contents of a row or set the value of a cell are a
few examples of services needed to test grids.
Star Quality has developed services for grids using two very different
approaches. In the first case, native methods and properties were wrapped
in higher level methods modeled after the 4Test HtmlTable class. In a
second case, where native resources were not accessible, Star Quality
declared each cell using the column/row syntax - "(2:7.2:3)". Although the
resulting support is not as extensive in the latter case, it is sufficient
to interact with the control.
|