Table of Contents

Interface IWindow

A Java window.

Inherited Members
IUiObjectBase.FireEvent(IEventInfo)
IUiObjectBase.SendKeys(string, KeyModifier)
IUiObjectBase.SendKeys(string)
IUiObjectBase.CreateObject(string, params object[])
IUiObjectBase.CreateObject(string)
IUiObjectBase.GetStatics(string)
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.IsFocused
IUiObjectBase.AttachedText
IUiObjectBase.BackgroundColor
IUiObjectBase.ForegroundColor
IUiObjectBase.ObjectName
IUiObjectBase.Label
IUiObjectBase.Path
IUiObjectBase.TagName
IUiObjectBase.NativeClass
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IDoubleClickable.DoubleClick(MouseButton)
IDoubleClickable.DoubleClick(ClickArgs)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportsNativeObject.NativeObject
IEnabledProvider.IsEnabled
IVisibleProvider.IsVisible
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
ITestObjectDescriber.Describe<TChild>(IDescription)
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface IWindow : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITopLevelObject, ITestObject, ITestObjectDescriber

Properties

IsJavaWindow

Indicates whether the object is a Java window.

Declaration
bool IsJavaWindow { get; }
Property Value
Type Description
bool

IsMaximizable

Indicates whether the window can be maximized.

Declaration
bool IsMaximizable { get; }
Property Value
Type Description
bool

IsMinimizable

Indicates whether the window can be minimized.

Declaration
bool IsMinimizable { get; }
Property Value
Type Description
bool

IsResizable

Indicates whether the window is resizable.

Declaration
bool IsResizable { get; }
Property Value
Type Description
bool

Title

The window title.

Declaration
string Title { get; }
Property Value
Type Description
string

WindowState

The current window state.

Declaration
WindowState WindowState { get; }
Property Value
Type Description
WindowState

Methods

Activate()

Activates this window.

Declaration
void Activate()

Close()

Closes this window.

Declaration
void Close()

Maximize()

Maximizes this window.

Declaration
void Maximize()

Minimize()

Minimizes this window to an icon.

Declaration
void Minimize()

Move(Point)

Moves this window to the specified point on the screen.

Declaration
void Move(Point point)
Parameters
Type Name Description
Point point

Pixel location on the screen.

Remarks

0,0 is the top-left corner of the primary monitor.

Move(int, int)

Moves this window to the specified point on the screen.

Declaration
void Move(int x, int y)
Parameters
Type Name Description
int x

In pixels.

int y

In pixels.

Remarks

0,0 is the top-left corner of the primary monitor.

Resize(Size)

Resizes this window to the specified dimensions.

Declaration
void Resize(Size size)
Parameters
Type Name Description
Size size

The size in pixels.

Resize(int, int)

Resizes this window to the specified dimensions.

Declaration
void Resize(int width, int height)
Parameters
Type Name Description
int width

In pixels.

int height

In pixels.

Restore()

Restores this window to its previous size.

Declaration
void Restore()

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntilVisible<T>(T)
TestObjectExtensions.WaitUntilVisible<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)