Package | Description |
---|---|
com.borland.silktest.jtf |
The core Java Testing Framework (JTF) classes.
|
com.borland.silktest.jtf.common.types |
This package contains common data types.
|
com.borland.silktest.jtf.win32 |
This package contains classes for the Win32 TechDomain.
|
com.borland.silktest.jtf.xbrowser |
This package contains classes for the xBrowser TechDomain.
|
com.microfocus.silktest.jtf.swing |
This package contains classes for the AWT/Swing TechDomain.
|
com.microfocus.silktest.jtf.wpf |
This package contains classes for the WPF TechDomain.
|
Modifier and Type | Method and Description |
---|---|
Rect |
Tree.getItemRect(ItemPath itemPath)
Returns the size and position of an item relative to the treeview control.
|
Rect |
Tree.getItemRect(ItemPath itemPath,
boolean getIconRect)
Returns the size and position of an item relative to the treeview control.
|
Rect |
Tree.getItemRect(String itemPath)
Returns the size and position of an item relative to the treeview control.
|
Rect |
Tree.getItemRect(String itemPath,
boolean getIconRect)
Returns the size and position of an item relative to the treeview control.
|
Rect |
TestObject.getRect()
Returns the size and position of this object.
|
Rect |
TestObject.getRect(boolean absoluteCoordinates)
Returns the size and position of this object.
|
Rect |
AbstractTestObject.imageRectangle(String imageAsset)
Returns the object-relative rectangle of the specified image.
|
Rect |
AbstractTestObject.imageRectangle(String imageAsset,
int occurrence)
Returns the object-relative rectangle of the specified occurrence of an image.
|
Rect |
AbstractTestObject.imageRectangle(String imageAsset,
int occurrence,
Rect searchRectangle)
Searches for an image within the specified area and returns the object-relative rectangle of the found image.
|
Rect |
AbstractTestObject.imageRectangleFile(String imageFile)
Returns the object-relative rectangle of the specified image.
|
Rect |
AbstractTestObject.imageRectangleFile(String imageFile,
int occurrence)
Returns the object-relative rectangle of the specified occurrence of an image.
|
Rect |
AbstractTestObject.imageRectangleFile(String imageFile,
int occurrence,
Rect searchRectangle)
Searches for an image within the specified area and returns the object-relative rectangle of the found image.
|
Rect |
TestObject.textRectangle(String text)
Returns the object-relative rectangle of the specified text.
|
Rect |
TestObject.textRectangle(String text,
int occurrence)
Returns the object-relative rectangle of the specified text.
|
Rect |
TestObject.textRectangle(String text,
int occurrence,
Rect searchRectangle)
Returns the object-relative rectangle of the specified text.
|
Rect |
TestObject.textRectangle(String text,
int occurrence,
Rect searchRectangle,
int timeout)
Returns the object-relative rectangle of the specified text.
|
Rect |
TestObject.textRectangle(String text,
int occurrence,
Rect searchRectangle,
int timeout,
boolean exactMatch)
Returns the object-relative rectangle of the specified text.
|
Modifier and Type | Method and Description |
---|---|
String |
TestObject.captureBitmap(String fileName,
Rect region)
Saves a bitmap image of this object to a file.
|
boolean |
AbstractTestObject.imageExists(String imageAsset,
int occurrence,
Rect searchRectangle)
Returns whether an image exists in the specified area within the object's rectangle.
|
boolean |
AbstractTestObject.imageExistsFile(String imageFile,
int occurrence,
Rect searchRectangle)
Returns whether an image exists in the specified area within the object's rectangle.
|
Rect |
AbstractTestObject.imageRectangle(String imageAsset,
int occurrence,
Rect searchRectangle)
Searches for an image within the specified area and returns the object-relative rectangle of the found image.
|
Rect |
AbstractTestObject.imageRectangleFile(String imageFile,
int occurrence,
Rect searchRectangle)
Searches for an image within the specified area and returns the object-relative rectangle of the found image.
|
String |
TestObject.textCapture(Rect captureRectangle)
Returns the text in this object's visible area.
|
boolean |
TestObject.textExists(String text,
int occurrence,
Rect searchRectangle)
Returns whether the specified text exists.
|
boolean |
TestObject.textExists(String text,
int occurrence,
Rect searchRectangle,
int timeout)
Returns whether the specified text exists.
|
boolean |
TestObject.textExists(String text,
int occurrence,
Rect searchRectangle,
int timeout,
boolean exactMatch)
Returns whether the specified text exists.
|
Rect |
TestObject.textRectangle(String text,
int occurrence,
Rect searchRectangle)
Returns the object-relative rectangle of the specified text.
|
Rect |
TestObject.textRectangle(String text,
int occurrence,
Rect searchRectangle,
int timeout)
Returns the object-relative rectangle of the specified text.
|
Rect |
TestObject.textRectangle(String text,
int occurrence,
Rect searchRectangle,
int timeout,
boolean exactMatch)
Returns the object-relative rectangle of the specified text.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rect.contains(Rect rect)
Checks whether or not this rectangle entirely contains the specified rectangle.
|
Modifier and Type | Method and Description |
---|---|
Rect |
ListView.getItemRect(int itemIndex)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(int itemIndex,
boolean getIconRect)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(int itemIndex,
boolean getIconRect,
int columnIndex)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(ItemIdentifier item)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(ItemIdentifier item,
boolean getIconRect)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(ItemIdentifier item,
boolean getIconRect,
int columnIndex)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(String itemText)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(String itemText,
boolean getIconRect)
Returns rectangle of the item.
|
Rect |
ListView.getItemRect(String itemText,
boolean getIconRect,
int columnIndex)
Returns rectangle of the item.
|
Modifier and Type | Method and Description |
---|---|
Rect |
DomElement.getHtmlRect()
Retrieves the rectangle of a DomElement relative to the BrowserWindow in HTML pixels.
|
Rect |
BrowserWindow.getHtmlRect()
Retrieves the rectangle of the BrowserWindow in HTML pixels.
|
Modifier and Type | Method and Description |
---|---|
Rect |
JList.getItemRect(int itemIndex)
Returns the size and position of the item relative to the list.
|
Rect |
JList.getItemRect(ItemIdentifier item)
Returns the size and position of the item relative to the list.
|
Rect |
JTree.getItemRect(ItemPath item)
Returns the size and position of the item relative to the tree.
|
Rect |
JTree.getItemRect(String item)
Returns the size and position of the item relative to the tree.
|
Rect |
JList.getItemRect(String itemText)
Returns the size and position of the item relative to the list.
|
Rect |
JViewport.getViewRectangle()
Gets the visible part of the view, in view coordinates.
|
Modifier and Type | Method and Description |
---|---|
Rect |
WPFContextMenu.getPlacementRectangle()
Gets the area relative to which the context menu is positioned when it opens.
|
Copyright 2009-2012 Micro Focus. All Rights Reserved.