Package com.hp.lft.sdk
Interface LocationInfoProvider
- All Known Subinterfaces:
Accordion,AgGrid,APOGrid,Applet,ApplicationSession,Area,AudioControl,Browser,Button,Button,Button,Button,Button,Button,Button,Button,Button,Calendar,Calendar,Calendar,Calendar,Calendar,Calendar,Calendar,Carousel,CheckBox,CheckBox,CheckBox,CheckBox,CheckBox,CheckBox,CheckBox,CheckBox,CheckBox,ComboBox,ComboBox,ComboBox,ComboBox,ComboBox,DatePicker,DateTimeInput,Dialog,Dialog,Dialog,EditField,EditField,EditField,EditField,EditField,EditField,EditField,EditField,Editor,Editor,Editor,Editor,Element,ExpandBar,FacetFilter,FileField,FlexFieldWindow,FormWindow,Frame,Grid,GridBase<T>,Header,Image,Image,InsightObject,InternalFrame,Label,Label,Label,Label,Link,Link,Link,List,List,List,ListBox,ListBox,ListBox,ListBox,ListBox,ListOfValues,ListView,ListView,ListView,LogonWindow,Menu,Menu,Menu,Menu,Menubar,Menubar,NavigationBar,NavigatorWindow,Notification,NotificationBar,NumericField,OKCode,Paginator,Password,PickList,ProgressBar,PropertyGrid,RadioButton,RadioButton,RadioButton,RadioButton,RadioButton,RadioButton,RadioButton,RadioGroup,RadioGroup,RadioGroup,RatingIndicator,RoadMap,RowRepeater,ScrollBar,ScrollBar,ScrollBar,ScrollBar,Slider,Slider,Slider,SpinBox,SpinBox,SpinBox,Static,StatusBar,StatusBar,StatusBar,StatusBar,StatusBar,Tab,TabControl,TabControl,TabControl,TabControl,TabControl,Table,Table,Table,Table,Table,Table,Table,Table,TableBase<T>,TabStrip,TabStrip,TabStrip,Tile,ToggleButton,ToolBar,ToolBar,ToolBar,ToolBar,ToolBar,ToolBar,ToolBar,TreeView,TreeView,TreeView,TreeView,TreeView,TreeView,TreeView,TreeView,TreeView,TreeViewTable,UiFormBase,UiGrid,UiObject,UiObject,UiObject,UiObject,UiObject,UiObjectBase,UiObjectBase,UiObjectBase,UiObjectBase,UiObjectBase,UiObjectBase,UiObjectBase,UiObjectWithLayoutInfo,UiObjectWithLayoutInfo,VideoControl,WebElement,WebTestObject,Window,Window,Window,Window,Window,Window
public interface LocationInfoProvider
Indicates that a test object supports accessing properties of its location on the screen.
-
Method Summary
Modifier and TypeMethodDescriptionReturns this object's absolute coordinates relative to the screen (in pixels).Returns this object's coordinates relative to the parent window (in pixels).getSize()Returns this object's size (in pixels).
-
Method Details
-
getLocation
Returns this object's coordinates relative to the parent window (in pixels).- Returns:
- this object's coordinates relative to the parent window (in pixels).
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getAbsoluteLocation
Returns this object's absolute coordinates relative to the screen (in pixels).
0,0 is the top-left corner of the (primary) monitor.- Returns:
- this object's absolute coordinates relative to the screen (in pixels).
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSize
Returns this object's size (in pixels).- Returns:
- this object's size (in pixels).
- Throws:
GeneralLeanFtException- if error occurs during execution
-