public class BaseGuiTestObject extends GuiTestObject implements IScrollable
| Modifier | Constructor and Description |
|---|---|
protected |
BaseGuiTestObject(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 BaseGuiTestObject。
|
| Modifier and Type | Method and Description |
|---|---|
HorizontalScrollBar |
getHorizontalBar()
返回此控件的水平滚动条。
|
VerticalScrollBar |
getVerticalBar()
返回此控件的垂直滚动条。
|
void |
openContextMenu()
打开指定位置上的上下文菜单。
|
void |
openContextMenu(Point pos)
打开指定位置上的上下文菜单。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForPropertyequals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toStringprotected BaseGuiTestObject(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 BaseGuiTestObject 的句柄desktop - 此对象所在的桌面public HorizontalScrollBar getHorizontalBar()
注意:
getHorizontalBar in interface IScrollablepublic VerticalScrollBar getVerticalBar()
注意:
getVerticalBar in interface IScrollablepublic void openContextMenu()
public void openContextMenu(Point pos)
pos - 用于打开上下文菜单的坐标应与调用此功能所用的控件相对应Copyright 2009-2012 Micro Focus. All Rights Reserved.