Table of Contents

Interface IGrid

A grid control in a SAP GUI for Windows application.

Inherited Members
ITableBase<IGridCell>.ActivateCell(uint, string)
ITableBase<IGridCell>.ActivateCell(uint, uint)
ITableBase<IGridCell>.SelectCell(uint, string)
ITableBase<IGridCell>.SelectCell(uint, uint)
ITableBase<IGridCell>.SelectRow(params uint[])
ITableBase<IGridCell>.SelectRowRange(uint, uint)
ITableBase<IGridCell>.SelectColumn(params string[])
ITableBase<IGridCell>.SelectColumn(params uint[])
ITableBase<IGridCell>.DeselectRow(params uint[])
ITableBase<IGridCell>.DeselectRowRange(uint, uint)
ITableBase<IGridCell>.DeselectColumn(params string[])
ITableBase<IGridCell>.DeselectColumn(params uint[])
ITableBase<IGridCell>.FindRowWithCellTextInColumn(string, string)
ITableBase<IGridCell>.FindRowWithCellTextInColumn(string, uint)
ITableBase<IGridCell>.FindRowWithCellTextInColumn(string, string, uint)
ITableBase<IGridCell>.FindRowWithCellTextInColumn(string, uint, uint)
ITableBase<IGridCell>.FindAllRowsWithCellTextInColumn(string, uint)
ITableBase<IGridCell>.FindAllRowsWithCellTextInColumn(string, string)
ITableBase<IGridCell>.Title
ITableBase<IGridCell>.Rows
IEnabledProvider.IsEnabled
IElement.Type
IElement.Id
IElement.Name
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
ITestObjectDescriber.Describe<TChild>(IDescription)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportsNativeObject.NativeObject
Namespace: HP.LFT.SDK.SAP.GUI
Assembly: HP.LFT.SDK.dll
Syntax
public interface IGrid : ITableBase<IGridCell>, IEnabledProvider, IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject

Properties

FirstVisibleRow

The first row visible in a scrolled area.

Declaration
ITableRow<IGridCell> FirstVisibleRow { get; }
Property Value
Type Description
ITableRow<IGridCell>

SelectionMode

The possible selections in the grid.

Declaration
GridSelectionMode SelectionMode { get; }
Property Value
Type Description
GridSelectionMode

Methods

ActivateColumn(string)

Double-clicks the specified column in the grid by column name.

Declaration
void ActivateColumn(string column)
Parameters
Type Name Description
string column

The name of the column.

Remarks

Double-clicking selects the entire column, displays another window, or performs another application-specific action.

ActivateColumn(uint)

Double-clicks the specified column in the grid by column index.

Declaration
void ActivateColumn(uint columnIndex)
Parameters
Type Name Description
uint columnIndex

The 1-based index of the column.

Remarks

Double-clicking selects the entire column, displays another window, or performs another application-specific action.

ActivateRow(uint)

Double-clicks the specified row in a grid.

Declaration
void ActivateRow(uint rowIndex)
Parameters
Type Name Description
uint rowIndex

The 1-based index of the row.

ClearSelection()

Clears the selected rows or columns in the grid.

Declaration
void ClearSelection()

PressEnter()

Presses the ENTER key when the grid is in focus.

Declaration
void PressEnter()

SelectMenuItemById(string)

Selects the specified menu item from a context menu.

Declaration
void SelectMenuItemById(string menuItemId)
Parameters
Type Name Description
string menuItemId

The SAP ID for the menu item.

Remarks

A context menu is opened by right-clicking the grid. Use ITableBase.SelectColumn , TableBase.SelectRow, or ITableBase.SelectCell to open the context menu before invoking this method.

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)