public class FlexTestDomainImplementation extends TestDomainImplementation
| Modifier and Type | Field and Description |
|---|---|
protected static FtDebug |
debug |
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AddFlexApplication(java.lang.String playerId,
long serverexplorerHwnd,
long playerhWnd,
long browserhWnd,
java.lang.String browserName) |
static void |
AddPlayerId(java.lang.String playerId,
long serverexplorerHwnd,
long playerhWnd,
long browserhWnd,
java.lang.String browserName) |
boolean |
BeginRecorder(long handle,
java.lang.String playerId) |
void |
clearFlexQueue() |
void |
CreateMethodSpec(java.lang.String automationId,
java.lang.String eventName,
java.lang.String eventArgs) |
FindResult |
find(IMappedTestObject[] pathToFind) |
int |
getActionRecordingFlags()
Returns the bits that control the recording of actions for objects belonging to this
domain.
|
java.lang.String |
getAutomationChildAt(java.lang.String playerId,
java.lang.String automationId,
int childIndex) |
TopLevelWindow |
getBrowserWindow(java.lang.String playerId) |
static java.lang.String |
getChartProperty(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String browserName) |
java.lang.String[] |
getChartProperty(java.lang.String playerId,
java.lang.String automationId) |
java.lang.String |
getChildAtPoint(java.lang.String playerId,
int x,
int y) |
static java.lang.String |
getChildren(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String browserName) |
java.lang.String[] |
getChildren(java.lang.String playerId,
java.lang.String automationId) |
ProxyTestObject |
getDescribedObject(DescribedObject describedObject)
Find the object described by the set of properties in the DescribedObject.
|
static java.lang.String |
getDescribedObject(long handle,
java.lang.String playerId,
java.lang.String browserName) |
DomainProxy |
getDomainProxy()
Returns the proxy for this domain object.
|
com.rational.test.ft.domain.flex.FlexTestDomainImplementation.FlexAppInfo |
getFlexInfo(java.lang.String playerId) |
HtmlTestDomainImplementation.FlexChannelElementInfo |
getHtmlElementHandle(java.lang.String playerId) |
java.lang.String |
getImplementationName()
Returns the name of the domain implementation.
|
static java.lang.String |
getProperties(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertiesName,
java.lang.String browserName) |
java.util.Hashtable |
getProperties(java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertiesName) |
static java.lang.String |
getProperty(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String propName,
java.lang.String browserName) |
java.lang.Object |
getProperty(java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertyName) |
ProxyTestObject |
getProxy(java.lang.Object theObject)
Returns a proxy object for the specified object.
|
ProxyTestObject |
getProxy(java.lang.Object theObject,
long transId) |
MethodSpecification |
getProxyEvents() |
java.awt.Rectangle |
getRectangle(java.lang.String playerId,
java.lang.String automationId) |
static java.lang.String |
getTopLevelObject(long handle,
java.lang.String playerId,
java.lang.String browserName) |
ProxyTestObject |
getTopLevelObject(Window window)
Returns the
topLevelObject that matches the specified window. |
java.util.Enumeration |
getTopLevelObjects()
Returns an enumeration for the top-level objects within this
domain implementation.
|
java.awt.Rectangle |
getWindowRectangle(java.lang.String playerId) |
static boolean |
isFlexObject(ProxyTestObject object) |
static FlexTestDomainImplementation |
newInstance() |
boolean |
playback(java.lang.String playerId,
java.lang.String automationId,
java.lang.String eventName,
java.lang.String eventArgs) |
void |
prepareDomainsForRecording() |
void |
PrepareToStop() |
void |
ReadyToStop() |
void |
RecordEventFromFlex(java.lang.String automationId,
java.lang.String eventName,
java.lang.String eventArgs)
This method is the entry point for creation of flex proxies at recording time.
|
void |
registerProxies(java.util.Enumeration proxies)
Registers proxies for this domain implementation.
|
static void |
setProperty(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String browserName) |
void |
setProperty(java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertyName,
java.lang.String propertyValue) |
equals, getTopLevelObject, supportVOMOptimizationgetName, isGraphical, isNamedprotected static FtDebug debug
public static final java.lang.String NAME
public static java.lang.String getChildren(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String browserName)
public static java.lang.String getTopLevelObject(long handle,
java.lang.String playerId,
java.lang.String browserName)
public static java.lang.String getDescribedObject(long handle,
java.lang.String playerId,
java.lang.String browserName)
public static java.lang.String getProperty(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String propName,
java.lang.String browserName)
public static java.lang.String getProperties(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertiesName,
java.lang.String browserName)
public static void setProperty(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String browserName)
public static java.lang.String getChartProperty(long handle,
java.lang.String playerId,
java.lang.String automationId,
java.lang.String browserName)
public boolean AddFlexApplication(java.lang.String playerId,
long serverexplorerHwnd,
long playerhWnd,
long browserhWnd,
java.lang.String browserName)
public static void AddPlayerId(java.lang.String playerId,
long serverexplorerHwnd,
long playerhWnd,
long browserhWnd,
java.lang.String browserName)
public static FlexTestDomainImplementation newInstance()
public boolean BeginRecorder(long handle,
java.lang.String playerId)
public ProxyTestObject getDescribedObject(DescribedObject describedObject)
TestDomainImplementationgetDescribedObject in class TestDomainImplementationpublic java.util.Enumeration getTopLevelObjects()
TestDomainImplementationgetTopLevelObjects in class TestDomainImplementationpublic TopLevelWindow getBrowserWindow(java.lang.String playerId)
public int getActionRecordingFlags()
TestDomainImplementationgetActionRecordingFlags in class TestDomainImplementationpublic DomainProxy getDomainProxy()
TestDomainImplementationgetDomainProxy in class TestDomainImplementationpublic java.lang.String getImplementationName()
TestDomainImplementationgetImplementationName in class TestDomainImplementationpublic ProxyTestObject getProxy(java.lang.Object theObject)
TestDomainImplementationnull object should be returned.getProxy in class TestDomainImplementationtheObject - The object to return a proxy object for.public ProxyTestObject getProxy(java.lang.Object theObject, long transId)
public ProxyTestObject getTopLevelObject(Window window)
TestDomainImplementationtopLevelObject that matches the specified window.
This method should throw an exception if the domain is not
graphical. If the Window cannot be matched, a value of null
should be returned.getTopLevelObject in class TestDomainImplementationwindow - The window object to match.null if not found.public void registerProxies(java.util.Enumeration proxies)
TestDomainImplementationregisterProxies in class TestDomainImplementationpublic MethodSpecification getProxyEvents()
public void RecordEventFromFlex(java.lang.String automationId,
java.lang.String eventName,
java.lang.String eventArgs)
public void CreateMethodSpec(java.lang.String automationId,
java.lang.String eventName,
java.lang.String eventArgs)
public HtmlTestDomainImplementation.FlexChannelElementInfo getHtmlElementHandle(java.lang.String playerId)
public FindResult find(IMappedTestObject[] pathToFind)
find in class TestDomainImplementationpublic boolean playback(java.lang.String playerId,
java.lang.String automationId,
java.lang.String eventName,
java.lang.String eventArgs)
public java.lang.String getChildAtPoint(java.lang.String playerId,
int x,
int y)
public java.util.Hashtable getProperties(java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertiesName)
public java.lang.Object getProperty(java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertyName)
public void setProperty(java.lang.String playerId,
java.lang.String automationId,
java.lang.String propertyName,
java.lang.String propertyValue)
public java.lang.String[] getChartProperty(java.lang.String playerId,
java.lang.String automationId)
public java.awt.Rectangle getWindowRectangle(java.lang.String playerId)
public java.awt.Rectangle getRectangle(java.lang.String playerId,
java.lang.String automationId)
public java.lang.String getAutomationChildAt(java.lang.String playerId,
java.lang.String automationId,
int childIndex)
public java.lang.String[] getChildren(java.lang.String playerId,
java.lang.String automationId)
public void prepareDomainsForRecording()
public void clearFlexQueue()
public void PrepareToStop()
public void ReadyToStop()
public com.rational.test.ft.domain.flex.FlexTestDomainImplementation.FlexAppInfo getFlexInfo(java.lang.String playerId)
public static boolean isFlexObject(ProxyTestObject object)