Description
DevExpressXtraGridView
helper objects provide access to child views in Developer Express XtraGrid controls. To obtain a DevExpressXtraGridView
object in tests, use the wChildView
property of the test object that corresponds to the XtraGrid control or the DevExpressXtraGridView
object that corresponds to the control's child view.
Currently, the following views are supported:
- DevExpress.XtraGrid.Views.Grid.GridView
- DevExpress.XtraGrid.Views.BandedGrid.BandedGridView
- DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView
- DevExpress.XtraGrid.Views.Card.CardView
- DevExpress.XtraGrid.Views.Layout.LayoutView
If XtraGrid controls use any of these views in your application, TestComplete can record and replay user actions over them using extended methods and properties. See DevExpressXtraGridView Object.
You can also extend the ability to work with custom views that are inherited from any of the classes mentioned above. For information about this see below.
As for custom views that are not inherited from any of the above-mentioned views, TestComplete can only interact with them via clicks and keystrokes. In addition, you can use XtraGrid’s internal members to perform the desired actions over these custom views (see Working With Developer Express XtraGrid - Overview).