public class DotNetUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_COMBOBOX_NAME |
static java.lang.String |
CLASS_LISTBOX_NAME |
static java.lang.String |
CLASS_LISTVIEW_NAME |
static java.lang.String |
CLASS_OBJECT_NAME |
static java.lang.String |
CLASS_TEXTBLOCK_NAME |
static java.lang.String |
CLASS_TEXTBOXBASE_NAME |
static java.lang.String |
CLASS_TOOLBARBUTTON_NAME |
static java.lang.String |
CLASS_TOOLSTRIPCOMBOBOX_NAME |
static java.lang.String |
CLASS_TOOLSTRIPCOMBOBOXANDCONTROL_NAME |
static java.lang.String |
CLASS_TOOLSTRIPITEM_NAME |
static java.lang.String |
METHOD_GET_TYPE |
static java.lang.String |
METHOD_TOOLSTRIPITEM_ONCLICK |
static java.lang.String |
METHOD_TOOLSTRIPITEM_PERFORMACLICK |
static java.lang.String |
METHOD_TOOLSTRIPITEM_SELECT |
static java.lang.String |
PROPERTY_TYPE_BASETYPE |
static java.lang.String |
PROPERTY_TYPE_FULLNAME |
static java.lang.String |
PROPERTY_TYPE_TEXT |
Constructor and Description |
---|
DotNetUtil() |
Modifier and Type | Method and Description |
---|---|
static com.rational.test.ft.object.interfaces.TestObject |
getClazz(com.rational.test.ft.object.interfaces.TestObject testObject) |
static java.lang.String |
getClazzFullName(com.rational.test.ft.object.interfaces.TestObject clazz) |
static com.rational.test.ft.object.interfaces.TestObject |
getMatchingPathTestObject(RGuiObjectRecognition recognition,
com.rational.test.ft.object.interfaces.TestObject testObject,
java.lang.String path,
java.lang.String pathSeparator) |
static com.rational.test.ft.object.interfaces.TestObject |
getSuperClazz(com.rational.test.ft.object.interfaces.TestObject clazz) |
static java.lang.String |
getText(com.rational.test.ft.object.interfaces.TestObject obj)
Note: This method will try to get all properties of a test object
and get the value of the Text property directly
|
static boolean |
isSubclassOf(com.rational.test.ft.object.interfaces.TestObject clazz,
java.lang.String className) |
static void |
printHierarchy(com.rational.test.ft.object.interfaces.TestObject testObject)
Note: Print the heritage tree for the special object
|
public static final java.lang.String CLASS_OBJECT_NAME
public static final java.lang.String METHOD_GET_TYPE
public static final java.lang.String METHOD_TOOLSTRIPITEM_ONCLICK
public static final java.lang.String METHOD_TOOLSTRIPITEM_SELECT
public static final java.lang.String METHOD_TOOLSTRIPITEM_PERFORMACLICK
public static final java.lang.String PROPERTY_TYPE_FULLNAME
public static final java.lang.String PROPERTY_TYPE_BASETYPE
public static final java.lang.String PROPERTY_TYPE_TEXT
public static final java.lang.String CLASS_TOOLBARBUTTON_NAME
public static final java.lang.String CLASS_TOOLSTRIPITEM_NAME
public static final java.lang.String CLASS_COMBOBOX_NAME
public static final java.lang.String CLASS_TOOLSTRIPCOMBOBOX_NAME
public static final java.lang.String CLASS_TOOLSTRIPCOMBOBOXANDCONTROL_NAME
public static final java.lang.String CLASS_LISTBOX_NAME
public static final java.lang.String CLASS_LISTVIEW_NAME
public static final java.lang.String CLASS_TEXTBOXBASE_NAME
public static final java.lang.String CLASS_TEXTBLOCK_NAME
public static boolean isSubclassOf(com.rational.test.ft.object.interfaces.TestObject clazz, java.lang.String className) throws SAFSException
clazz
- A TestObject represents an object System.TypeclassName
- A fullname of a dotnet classSAFSException
public static com.rational.test.ft.object.interfaces.TestObject getClazz(com.rational.test.ft.object.interfaces.TestObject testObject) throws SAFSException
testObject
- Represent a proxy TestObject for a .NET objectSAFSException
public static com.rational.test.ft.object.interfaces.TestObject getSuperClazz(com.rational.test.ft.object.interfaces.TestObject clazz) throws SAFSException
clazz
- Represent a proxy TestObject for a .NET 'System.Type' objectSAFSException
public static java.lang.String getClazzFullName(com.rational.test.ft.object.interfaces.TestObject clazz) throws SAFSException
clazz
- Represent a proxy TestObject for a .NET 'System.Type' objectSAFSException
public static com.rational.test.ft.object.interfaces.TestObject getMatchingPathTestObject(RGuiObjectRecognition recognition, com.rational.test.ft.object.interfaces.TestObject testObject, java.lang.String path, java.lang.String pathSeparator)
public static void printHierarchy(com.rational.test.ft.object.interfaces.TestObject testObject)
clazz
- public static java.lang.String getText(com.rational.test.ft.object.interfaces.TestObject obj)
obj
- Copyright © SAS Institute. All Rights Reserved.