IUiFormBase Interface
Base interface of all Oracle window test objects.
C# Syntax
public interface IUiObjectBase : HP.LFT.SDK.IClickable, HP.LFT.SDK.ILocationInfoProvider, IUiObjectBase
Public Properties
Name | Description | |
---|---|---|
![]() | AbsoluteLocation | This object's coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.ILocationInfoProvider) |
![]() | Location | This object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider) |
![]() | ObjectType | The general object type. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase) |
![]() | Size | This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider) |
![]() | Title | The window title. C# Syntax string Title {get;} |
Public Methods
Name | Description | |
---|---|---|
![]() | Activate | Activates the form. C# Syntax void Activate () |
![]() | BuildMenuPath | Returns the path constructed from the path parts. C# Syntax string BuildMenuPath (params string[] menuPathParts) Parameters menuPathParts - The menu path parts must be strings. If a string is a full path, separate its items by "->" characters. |
![]() | Click | Clicks on this object. (Inherited from HP.LFT.SDK.IClickable) |
![]() | CloseForm | Closes the form using the Exit softkey. C# Syntax void CloseForm () |
![]() | CloseWindow | Closes the form using the X button in the form window title bar. C# Syntax void CloseWindow () |
![]() | GetItem | Returns the menu item with the specified path. C# Syntax IMenuItem GetItem(string itemPath) Parameters itemPath - The full path of the menu item to return. Tip: Use the BuildMenuPath method to build the item path string to use for this method's argument. Returns The menu item found at the specified item path. |
![]() | PressToolbarButton | Presses a toolbar button. C# Syntax void PressToolbarButton (string buttonName) Parameters buttonName - The name of the button to press. |
![]() | Save | Performs a Save operation using the Commit softkey. C# Syntax void Save () |
![]() | SelectFromPopupMenu (string) | Opens the context menu and selects the specified menu option. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase) |
![]() | SelectFromPopupMenu (string[]) | Opens the context menu and selects the specified menu option. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase) |
![]() | SelectMenuItem(IMenuItem item) | Selects a menu option in the menu by IMenuItem. C# Syntax void SelectMenuItem (IMenuItem item) Parameters item - The item to select from the menu. Tip: Use the GetItem method to retrieve the item to use for this method's argument. |
![]() | SelectMenuItem(string itemPath) | Selects a menu option. C# Syntax void SelectMenuItem (string itemPath) Parameters itemPath - The path of the menu item to select. Tip: Use the BuildMenuPath method to build the item path string to use for this method's argument. |
![]() | SendKey | Invokes the specified Oracle softkey. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase) |