C# Syntax
// This example selects a row in the data grid. private void SelectFlight() { // Identify the flights data grid (ITable). var flightsDataGrid = _flightGUIAapplicationWindow.Describe<ITable>(new TableDescription { ObjectName = @"flightsDataGrid" }); // Select the third row in the data grid. flightsDataGrid.SelectRow(2); var selectFlightButton = _flightGUIAapplicationWindow.Describe<IButton>(new ButtonDescription { Text = @"SELECT FLIGHT", ObjectName = @"selectFlightBtn" }); // Click the "Select Flight" button. selectFlightButton.Click(); }