{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ Copyright 2015 JHC Systems Limited }
{ }
{***************************************************************************}
{ }
{ Licensed under the Apache License, Version 2.0 (the "License"); }
{ you may not use this file except in compliance with the License. }
{ You may obtain a copy of the License at }
{ }
{ http://www.apache.org/licenses/LICENSE-2.0 }
{ }
{ Unless required by applicable law or agreed to in writing, software }
{ distributed under the License is distributed on an "AS IS" BASIS, }
{ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. }
{ See the License for the specific language governing permissions and }
{ limitations under the License. }
{ }
{***************************************************************************}
unit DelphiUIAutomation.Container.Intf;
interface
uses
DelphiUIAutomation.Tab.Intf,
DelphiUIAutomation.TextBox,
DelphiUIAutomation.EditBox,
DelphiUIAutomation.CheckBox,
DelphiUIAutomation.Button,
DelphiUIAutomation.Combobox,
DelphiUIAutomation.Panel.Intf,
DelphiUIAutomation.TreeView,
DelphiUIAutomation.Menu,
DelphiUIAutomation.Base,
DelphiUIAutomation.StringGrid,
DelphiUIAutomation.RadioButton;
type
IAutomationContainer = interface (IAutomationBase)
['{1077F870-7065-4FA9-BCC7-C8D3610CB2C6}']
///
/// Finds the tab
///
function GetTabByIndex (index : integer) : IAutomationTab;
///
/// Finds the textbox, by index
///
function GetTextBoxByIndex (index : integer) : IAutomationTextBox;
///
/// Finds the combobox, by index
///
function GetComboboxByIndex (index : integer) : IAutomationComboBox;
///
/// Finds the checkbox, by index
///
function GetCheckboxByIndex (index : integer) : IAutomationCheckBox;
///
/// Finds the checkbox, by text
///
function GetCheckboxByName (const value : string) : IAutomationCheckBox;
///
/// Finds the checkbox, by index
///
function GetRadioButtonByIndex (index : integer) : IAutomationRadioButton;
///
/// Finds a panel, by index
///
function GetPanelByIndex (index : integer) : IAutomationPanel;
///
/// Finds the button with the title supplied
///
function GetButton (const title : string) : IAutomationButton;
///
/// Finds the stringgrid, by index
///
function GetStringGridByIndex (index : integer) : IAutomationStringGrid;
///
/// Finds the editbox, by index
///
function GetEditBoxByIndex (index : integer) : IAutomationEditBox;
///
/// Finds the editbox, by name
///
function GetEditBoxByName (name: String) : IAutomationEditBox;
///
/// Finds the combobox, by name
///
function GetComboboxByName (name : String) : IAutomationComboBox;
///
/// Finds the treeview, by index
///
function GetTreeViewByIndex (index : integer): IAutomationTreeView;
end;
implementation
end.