public class WDSPC extends SeleniumPlus
SeleniumPlus.Assert, SeleniumPlus.CheckBox, SeleniumPlus.ComboBox, SeleniumPlus.Component, SeleniumPlus.Counters, SeleniumPlus.EditBox, SeleniumPlus.Files, SeleniumPlus.ListView, SeleniumPlus.Logging, SeleniumPlus.Menu, SeleniumPlus.Misc, SeleniumPlus.Rest, SeleniumPlus.ScrollBar, SeleniumPlus.Strings, SeleniumPlus.TabControl, SeleniumPlus.Tree, SeleniumPlus.WDTimeOut, SeleniumPlus.WindowSAFSPlus.DriverCommand| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
BROWSER_ID_ROOT |
java.util.HashMap<java.lang.String,java.lang.Object> |
BROWSER_PARMS |
int |
BROWSER_TIMEOUT |
static java.lang.String |
PRODUCT_DESCRIPTION
'A tool helps to capture 'recognition string' of GUI component in browser.'
|
static java.lang.String |
PRODUCT_NAME
'WebDriver Process Container'
|
static java.lang.String |
PRODUCT_VERSION
'1.0'
|
static java.io.File |
temp_user_extensions |
boolean |
USE_REMOTE |
java.lang.String |
xpathBoundsSeparator |
Runner, TEMP_SELENIUM_PLUS_RS_VAR_autorun, _autorunClassProvided, _injectDataAwareness, _isInjected, _isSPC, _junit, allowExit, ARG_AUTORUN, ARG_AUTORUN_CLASS, ARG_JUNIT, ARG_SAFSVAR, DefaultRunner, exitCode, normalizeTextForInput, prevResults, RELATIVE_TO_PARENT, RELATIVE_TO_SCREEN, springApplicationContext| Constructor and Description |
|---|
WDSPC() |
WDSPC(WebDriverGUIUtilities utils) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
appendFrameRS(java.lang.String rs) |
void |
cancelSearch()
sets the stopthread flag polled by the getAllElements Thread.
|
void |
enableSearch()
clears the stopthread flag polled by the getAllElements Thread.
|
void |
getAllChildElements(org.openqa.selenium.WebElement parentElement,
java.lang.String parentNode) |
void |
getAllElements(java.lang.String title,
java.lang.String baseFrameRS) |
java.awt.image.BufferedImage |
getCurrentPreview() |
java.lang.String |
getFrameRS() |
java.lang.Object |
getHook()
Will be a WebDriver-based SeleniumHook, or an EmbeddedSeleniumHookDriver, or null.
|
WebDriverGUIUtilities |
getUtils() |
java.lang.String[] |
getWindows()
Retrieve the "title" of each available browser "window" controlled by a WebDriver
we have launched.
|
java.lang.String |
getXpathBoundsSeparator() |
boolean |
highlight(SPCTreeNode node) |
void |
initializeSelenium(java.lang.String browser,
java.lang.String url) |
void |
runTest()
INTERNAL USE ONLY.
|
void |
setGUI(WDSPCGUI spcgui) |
void |
setHook(EmbeddedSeleniumHookDriver hook) |
void |
setHook(SeleniumHook hook) |
void |
setXpathBoundsSeparator(java.lang.String xpathBoundsSeparator) |
void |
stopJavaHOOK() |
void |
stopSelenium()
Currently issues the WebDriver quit() command.
|
AbortTest, AltLeftDrag, Click, ClickUnverified, CtrlAltLeftDrag, CtrlClick, CtrlLeftDrag, CtrlRightClick, CtrlShiftLeftDrag, deduceFilterAreas, DoubleClick, executeAsyncScript, ExecuteScript, executeScript, GetGUIImage, GetGUIImage, getObject, getObject, GetVariableValue, Highlight, HoverScreenLocation, LeftDrag, main, Pause, PrintTestCaseSummary, PrintTestSuiteSummary, RightClick, RightDrag, SetVariableValue, ShiftClick, ShiftLeftDrag, StartTestCase, StartTestSuite, StartWebBrowser, StopTestCase, StopWebBrowser, SwitchWebBrowser, TypeChars, TypeEncryption, TypeKeys, VerifyBinaryFileToFile, VerifyFileToFile, VerifyGUIImageToFile, VerifyTextFileToFile, VerifyValueContains, VerifyValueContainsIgnoreCase, VerifyValueDoesNotContain, VerifyValues, VerifyValuesIgnoreCase, VerifyValuesNotEqual, WaitForGUI, WebDriver_getMappedValue, _getVariable, _processArgs, _resolveDDVariables, _setVariable, action, actionGUILess, autorun, back, combineParams, command, debug, error, forward, getAllowExit, getExitCode, getRunner, iDriver, normalizeTextForInput, quote, quotePath, replaceSeparator, setAllowExit, setExitCode, setLeveledTest, setNormalizeTextForInput, setRunner, testStatusCodepublic static java.io.File temp_user_extensions
public java.lang.String xpathBoundsSeparator
public java.lang.String BROWSER_ID_ROOT
public int BROWSER_TIMEOUT
public boolean USE_REMOTE
public java.util.HashMap<java.lang.String,java.lang.Object> BROWSER_PARMS
public static final java.lang.String PRODUCT_NAME
public static final java.lang.String PRODUCT_VERSION
public static final java.lang.String PRODUCT_DESCRIPTION
public WDSPC()
public WDSPC(WebDriverGUIUtilities utils)
public void setGUI(WDSPCGUI spcgui)
public java.lang.String getFrameRS()
public java.lang.String appendFrameRS(java.lang.String rs)
public WebDriverGUIUtilities getUtils()
public void initializeSelenium(java.lang.String browser,
java.lang.String url)
throws SAFSException
browser - url - SAFSExceptionpublic java.lang.Object getHook()
public void setHook(SeleniumHook hook)
public void setHook(EmbeddedSeleniumHookDriver hook)
public java.lang.String getXpathBoundsSeparator()
public void setXpathBoundsSeparator(java.lang.String xpathBoundsSeparator)
public void getAllElements(java.lang.String title,
java.lang.String baseFrameRS)
title - String, the browser's title according to which we get the selenium WebDriver.baseFrameRS - String, the frame recognition string under which frame to find all elements.public void getAllChildElements(org.openqa.selenium.WebElement parentElement,
java.lang.String parentNode)
public java.awt.image.BufferedImage getCurrentPreview()
public void stopSelenium()
public void stopJavaHOOK()
public java.lang.String[] getWindows()
public void cancelSearch()
public void enableSearch()
public boolean highlight(SPCTreeNode node)
public void runTest()
throws java.lang.Throwable
SAFSPlusStart writing tests in this required method in your subclass. This must be an "instance" method because subclasses cannot Override static superclass methods.
Copyright © SAS Institute. All Rights Reserved.