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 TestObject |
getClazz(TestObject testObject) |
static java.lang.String |
getClazzFullName(TestObject clazz) |
static TestObject |
getMatchingPathTestObject(RGuiObjectRecognition recognition,
TestObject testObject,
java.lang.String path,
java.lang.String pathSeparator) |
static TestObject |
getSuperClazz(TestObject clazz) |
static java.lang.String |
getText(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(TestObject clazz,
java.lang.String className) |
static void |
printHierarchy(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(TestObject clazz, java.lang.String className) throws SAFSException
clazz
- A TestObject represents an object System.TypeclassName
- A fullname of a dotnet classSAFSException
public static TestObject getClazz(TestObject testObject) throws SAFSException
testObject
- Represent a proxy TestObject for a .NET objectSAFSException
public static TestObject getSuperClazz(TestObject clazz) throws SAFSException
clazz
- Represent a proxy TestObject for a .NET 'System.Type' objectSAFSException
public static java.lang.String getClazzFullName(TestObject clazz) throws SAFSException
clazz
- Represent a proxy TestObject for a .NET 'System.Type' objectSAFSException
public static TestObject getMatchingPathTestObject(RGuiObjectRecognition recognition, TestObject testObject, java.lang.String path, java.lang.String pathSeparator)
public static void printHierarchy(TestObject testObject)
clazz
- public static java.lang.String getText(TestObject obj)
obj
- Copyright © SAS Institute. All Rights Reserved.