{***************************************************************************}
{ }
{ 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.Tab.Intf;
interface
uses
DelphiUIAutomation.TextBox,
DelphiUIAutomation.EditBox,
DelphiUIAutomation.CheckBox,
DelphiUIAutomation.Button,
DelphiUIAutomation.TabItem,
DelphiUIAutomation.Combobox,
DelphiUIAutomation.Base,
DelphiUIAutomation.RadioButton;
type
IAutomationTab = interface (IAutomationBase)
['{542BED07-5345-4E0F-993C-26C121B66371}']
function GetSelectedItem: IAutomationTabItem;
///
/// Selects the given tab
///
procedure SelectTabPage(const value : string);
///
/// Finds the tab
///
function GetTabByIndex (index : integer) : IAutomationTab;
///
/// Finds the textbox, by index
///
function GetTextBoxByIndex (index : integer) : IAutomationTextBox;
///
/// Finds the editbox, by index
///
function GetEditBoxByIndex (index : integer) : IAutomationEditBox;
///
/// Finds the combobox, by index
///
function GetComboboxByIndex (index : integer) : IAutomationComboBox;
///
/// Finds the checkbox, by index
///
function GetCheckboxByIndex (index : integer) : IAutomationCheckBox;
///
/// Finds the checkbox, by index
///
function GetRadioButtonByIndex (index : integer) : IAutomationRadioButton;
///
/// Finds the button with the title supplied
///
function GetButton (const title : string) : IAutomationButton;
///
/// Gets the currently selected item
///
property SelectedItem : IAutomationTabItem read GetSelectedItem;
end;
implementation
end.