Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
The contents of this file are currently considered private implementation details of the
RichClient framework and are currently only supported for calls from the RichClient Automation
Framework.
Method Summary |
public static Object |
cancelPopup(String id)
Utility method to cancel a popup
|
private static Object |
_checkElement(Object el, Object caller)
|
public static Array |
getAllRichDialogIds()
Returns an arrray of ids that identify all the rich dialogs currently open.
|
public static Array |
getAndClearLogMessages(Object level)
Collects the log messages recorded in the logger, clears the logger and returns an array
containing strings of the form "severity:
|
public static String |
getBodyBounds()
Returns the bounds of document body.
|
public static Object |
getComputedStyle(Object el)
Retrieve the computed CSS style for the specified DOM element.
|
public static String |
getElementPageBounds(Object el)
Returns the page bounds object for a DOM element.
|
public static String |
getInlineWindowDomId(String clientId)
Gets the inline dialog title.
|
public static Object |
getRichComponent(String clientId)
Gets the rich component instance identified by the clientId.
|
public static Object |
getRichComponentByElement(Object element)
Gets the component for the dom element.
|
public static List |
getRichComponentProperties(Object el, Object attrNames)
Gets a list of property values from a rich component.
|
public static Object |
getRichComponentProperty(Object el, Object attrName)
Gets a property from a rich component.
|
public static Object |
getRichComponentType(Object el)
Gets componentType for the component
|
public static Array |
getRichDialogInfo(Object dialogId)
Returns information regarding the dialog identified by the dialogId.
|
private static Object |
_getSeverity(Object level)
Util method to map level to severity
|
public static String |
getWaitForRichPageFnName()
Determines the correct wait method to be used when waiting for a rich page to load.
|
public static Object |
invokeRichComponentFunction(Object el, Object functionName, Object args)
Invokes a function on the rich component.
|
public static Object |
invokeRichComponentFunctionChain(Object el, Object args)
Invokes a function chain on the rich component.
|
private static Object |
_isInternetExplorer()
|
public static Element |
locateElementByRich(String locatorString)
Returns the dom element corresponding to the locator string in the format #.
|
private static Object |
_logSevereAndThrow(Object msg)
|
public static Object |
queueCachedPollEvents()
Queue all outstanding Poll Events when test automation is running with asynchronous updates set to onDemand.
|
public static Object |
setRichComponentProperty(Object el, Object propertyName, String value)
Sets a property on a rich component
|
public static String |
subIdToDomEl(String componentLocator, Object subIds)
Runs through all the subIds of a component and verifies that they return a valid dom.
|
public static String |
subIdToDomElToSubId(String componentLocator, Object subIds)
Runs through all the subIds of a component and verifies that they return
a valid dom which gives back the same subId when converted.
|
private static Object |
_translateLogLevel(Object level)
|
public static Boolean |
waitForPagePPRNavAlways()
Wait method to determine whether we have any outstanding communication with the server
when running in PPR Navigation "onWithForcePPR" mode.
|
public static Boolean |
waitForPagePPRNavOff()
Wait method to determine whether we have any outstanding communication with the server
when running in PPR Navigation "off" mode.
|
public static Boolean |
waitForPagePPRNavSometimes()
Wait method to determine whether we have any outstanding communication with the server
when running in PPR Navigation "On" mode.
|
public static Boolean |
waitForRichInlineDialogLaunch(String clientId)
Waits until the client-side rich dialog service knows of a newly opened dialog.
|