public class SPC extends SeleniumGUIUtilities
Modifier and Type | Field and Description |
---|---|
static java.io.File |
temp_user_extensions |
domParser, FRAME_PATTERN, frameSwitched, UNNAMED_WINDOW
appmaps, DEBUG_MESSAGE, FAILED_MESSAGE, FAILED_OK_MESSAGE, GENERIC_MESSAGE, log, PASSED_MESSAGE, trdata, WARNING_MESSAGE, WARNING_OK_MESSAGE
staf
Constructor and Description |
---|
SPC() |
Modifier and Type | Method and Description |
---|---|
void |
cancelSearch() |
void |
getAllElements(java.lang.String title) |
java.awt.image.BufferedImage |
getCurrentPreview() |
java.lang.String[] |
getElementInfo(java.lang.String xpath)
Retrieve the Element Info, which is made up of:
|
SeleniumJavaHook |
getHook() |
java.lang.String |
getRobotRecognition(java.lang.String xpath) |
SPCTreeNode |
getRobotRecognitionNode(java.lang.String xpath) |
java.lang.String |
getRobotRecognitionWithName(java.lang.String xpath) |
java.lang.String[] |
getWindows() |
java.lang.String |
getXpath(java.lang.String title,
java.lang.String rec) |
java.lang.String |
getXpathBoundsSeparator() |
boolean |
highlight(SPCTreeNode node) |
void |
initializeSelenium(java.lang.String browser,
java.lang.String url) |
void |
setGUI(SPCGUI spcgui) |
void |
setHook(SeleniumJavaHook hook) |
void |
setXpathBoundsSeparator(java.lang.String xpathBoundsSeparator) |
void |
stopJavaHOOK() |
void |
stopSelenium() |
clearFramesCache, extractListItems, extractMenuBarItems, extractMenuItems, findPropertyMatchedChild, getAllWindowNames, getAllXPaths, getAttribute, getAttributes, getComponentBounds, getComponentBounds, getDocumentParser, getFramePath, getGuiObject, getListItem, getProperty, getTestObject, getWindowIdFromTitle, initDocumentParser, matchPattern, maximizeWindow, maximizeWindow, minimizeWindow, navigateFrames, navigateFrames, navigateFrames, normalizeXPath, restoreWindow, selectTopFrame, selectWindow, setActiveWindow, setWindowFocus, setWindowFocus, waitForObject
clearAllAppMapCaches, clearAppMapCache, createAppMapInstance, getAppMap, getLogUtilities, getTestRecordData, isAppMapRegistered, openAppMap, registerAppMap, registerAppMap, setLogUtilities, setTestRecordData
getSTAFHelper, setSTAFHelper
public void setGUI(SPCGUI spcgui)
public void initializeSelenium(java.lang.String browser, java.lang.String url)
public SeleniumJavaHook getHook()
public void setHook(SeleniumJavaHook hook)
public java.lang.String getXpathBoundsSeparator()
public void setXpathBoundsSeparator(java.lang.String xpathBoundsSeparator)
public void getAllElements(java.lang.String title)
public java.lang.String getXpath(java.lang.String title, java.lang.String rec)
public java.awt.image.BufferedImage getCurrentPreview()
public void stopSelenium()
public void stopJavaHOOK()
public java.lang.String[] getWindows()
public java.lang.String[] getElementInfo(java.lang.String xpath)
xpath
- public java.lang.String getRobotRecognition(java.lang.String xpath)
public SPCTreeNode getRobotRecognitionNode(java.lang.String xpath)
public java.lang.String getRobotRecognitionWithName(java.lang.String xpath)
public void cancelSearch()
public boolean highlight(SPCTreeNode node)
Copyright © SAS Institute. All Rights Reserved.