public class ViewForm extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
ViewForm(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 ViewForm。
|
| Modifier and Type | Method and Description |
|---|---|
TestObject |
getContent()
获取 可动态定位的区域的内容。
|
TestObject |
getTopCenter()
获取 位于窗格顶端中部的窗口。
|
TestObject |
getTopLeft()
获取 位于窗格顶端左侧的窗口。
|
TestObject |
getTopRight()
获取 位于窗格顶端右侧的窗口。
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, 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, 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 ViewForm(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 ViewForm 的句柄desktop - 此对象所在的桌面public TestObject getContent()
public TestObject getTopCenter()
public TestObject getTopLeft()
public TestObject getTopRight()
Copyright 2009-2012 Micro Focus. All Rights Reserved.