org.safs.selenium
Class CFHTMLDocument

java.lang.Object
  extended by org.safs.Processor
      extended by org.safs.ComponentFunction
          extended by org.safs.selenium.CFComponent
              extended by org.safs.selenium.CFHTMLDocument

public class CFHTMLDocument
extends CFComponent


Field Summary
static java.lang.String CAPTUREBODYSOURCETOFILE
           
static java.lang.String CAPTUREBODYTEXTTOFILE
           
static java.lang.String CLICKLINK
           
static java.lang.String CLICKLINKBEGINNING
           
static java.lang.String CLICKLINKCONTAINING
           
static java.lang.String CLICKLINKMATCHING
           
protected  java.lang.String detail
           
protected  java.lang.String msg
           
static java.lang.String VERIFYBODYSOURCE
           
static java.lang.String VERIFYBODYTEXT
           
 
Fields inherited from class org.safs.selenium.CFComponent
ALTCLICK, ASSIGNPROPERTYVARIABLE, CAPTUREOBJECTDATATOFILE, CAPTUREPROPERTIESTOFILE, CAPTUREPROPERTYTOFILE, CLICK, CLOSEWINDOW, compObject, COMPONENTCLICK, CTRLCLICK, CTRLRIGHTCLICK, DOUBLECLICK, GETGUIIMAGE, GUIDOESEXIST, GUIDOESNOTEXIST, INPUTCHARACTERS, INPUTKEYS, keysparser, MAXIMIZE, MINIMIZE, RESTORE, RIGHTCLICK, robot, selenium, SETPOSITION, sHelper, SHIFTCLICK, sUtils, VERIFYGUIIMAGE, VERIFYPROPERTY, VERIFYPROPERTYCONTAINS, WAITFORGUI, winObject
 
Fields inherited from class org.safs.ComponentFunction
action, compName, mapname, utils, windowName
 
Fields inherited from class org.safs.Processor
breakpointsOn, CASE_INSENSITIVE_FLAG, CASEINSENSITIVE_FLAG, clearProxiesAlways, commandLineBreakpoint, customStr, customText, DEBUG_MESSAGE, debugStr, debugText, DEFAULT_CUSTOM_PROCESSOR_PACKAGE, DEFAULT_CUSTOM_PROCESSOR_SUBPACKAGE, DEFAULT_PROCESSOR_PACKAGE, FAILED_MESSAGE, FAILED_OK_MESSAGE, failedStr, failedText, FAILURE_DETAIL, GENERIC_MESSAGE, genericStr, genericText, LINE_FAILURE_4, log, myBreakpointsOn, otherStr, otherText, PARAM_SIZE_1, PARAM_SIZE_2, PARAM_SIZE_3, PARAM_SIZE_4, params, PASSED_MESSAGE, passedStr, passedText, PRE_TXT_SUCCESS_4, PRE_TXT_SUCCESS_5, processorConfigSet, processorMap, recordProcessed, RECTYPE_DRIVER_COMMAND, RECTYPE_DRIVER_COMMAND_F, RECTYPE_DRIVER_COMMAND_W, RECTYPE_TEST_STEP, RECTYPE_TEST_STEP_F, RECTYPE_TEST_STEP_W, RFSMCache, RFSMOnly, RFT_FIND_SEARCH_MODE_ALGORITHM, RFT_FIND_SEARCH_MODE_CACHE, SAFS_CLEARPROXIESALWAYS_ITEM, SAFS_COMMANDLINEBREAKPOINT_ITEM, SAFS_COMMANDLINEBREAKPOINT_VARIABLE, SAFS_PARAMS_FILE, SAFS_RESBUN_NAME, SAFS_SECSWAITFORCOMPONENT_ITEM, SAFS_SECSWAITFORCOMPONENT_VARIABLE, SAFS_SECSWAITFORWINDOW_ITEM, SAFS_SECSWAITFORWINDOW_VARIABLE, SAFS_TESTDOMAINS_ITEM, SAFS_TESTDOMAINS_VARIABLE, secsWaitForComponent, secsWaitForWindow, SENT_MSG_3, testDomains, testRecordData, TXT_FAILURE_1, TXT_FAILURE_2, TXT_FAILURE_3, TXT_FAILURE_4, TXT_FAILURE_5, TXT_SUCCESS_1, TXT_SUCCESS_2, TXT_SUCCESS_2a, TXT_SUCCESS_3, TXT_SUCCESS_3a, TXT_SUCCESS_4, TXT_SUCCESS_5, WARNING_MESSAGE, WARNING_OK_MESSAGE, warningStr, warningText
 
Constructor Summary
CFHTMLDocument()
           
 
Method Summary
protected  void doBodyCommands()
          Purpose: Handle keywords related to body, as following
CaptureBodySourceToFile CaptureBodyTextToFile VerifyBodySource VerifyBodyText
protected  void doLinkCommands()
          Purpose: Handle keywords related to link, as following
ClickLink ClickLinkMatching ClickLinkBeginning ClickLinkContaining
protected  void localProcess()
           
 
Methods inherited from class org.safs.selenium.CFComponent
componentClick, getComponentBounds, getComponentRectangle, process, scrollToAndClickComponent, scrollToComponent
 
Methods inherited from class org.safs.ComponentFunction
action_getGuiImage, action_verifyGuiImageToFile, componentExecutedFailureMessage, componentFailureMessage, componentSuccessMessage, convertCoords, convertLine, convertNum, getAlternateParams, getHelpers, getHelpersWorker, issueActionFailure, issueActionOnXFailure, issueErrorPerformingAction, issueErrorPerformingActionOnX, issueFileErrorFailure, issueInputRecordFailure, issueParameterCountFailure, issueParameterCountFailure, issueParameterValueFailure, issuePassedSuccess, issuePassedSuccessUsing, issueUnknownErrorFailure, isSupportedRecordType, lookupAppMapCoordReference, lookupAppMapLineReference, lookupAppMapNumReference, lookupAppMapReference, setRectVars, updateFromTestRecordData
 
Methods inherited from class org.safs.Processor
activateBreakpoint, checkBreakpoints, checkMyBreakpoints, delay, distributeConfigInformation, getAppMapItem, getChainedProcessor, getClassInstance, getClearProxiesAlways, getCustomProcClassNames, getCustomProcInstancePath, getLogUtilities, getParams, getProcClassNames, getProcInstance, getProcInstancePath, getRequiredField, getSecsWaitForComponent, getSecsWaitForWindow, getStandardErrorMessage, getTestRecordData, getVariable, hasChainedProcessor, initProcessorAndProcess, instanceProcessorAndProcess, isBreakpointsOn, isComponentFunctionRecord, isDriverCommandRecord, isEngineCommandRecord, isMyBreakpointsOn, isRecordProcessed, isRFSMCache, isRFSMOnly, paramsFailedMsg, paramsFailedMsg, processCustomProcessor, processSubclassProcessor, setBreakpointsOn, setChainedProcessor, setClearProxiesAlways, setCommandLineBreakpoint, setCustomProcInstancePath, setLogUtilities, setMyBreakpointsOn, setParams, setProcInstance, setProcInstancePath, setRecordProcessed, setRFSMCache, setRFSMOnly, setSecsWaitForComponent, setSecsWaitForWindow, setTestDomains, setTestRecordData, setVariable, standardFailureMessage, substituteVariable, validateParamSize, validProcessorClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAPTUREBODYSOURCETOFILE

public static final java.lang.String CAPTUREBODYSOURCETOFILE
See Also:
Constant Field Values

CAPTUREBODYTEXTTOFILE

public static final java.lang.String CAPTUREBODYTEXTTOFILE
See Also:
Constant Field Values

VERIFYBODYSOURCE

public static final java.lang.String VERIFYBODYSOURCE
See Also:
Constant Field Values

VERIFYBODYTEXT

public static final java.lang.String VERIFYBODYTEXT
See Also:
Constant Field Values

CLICKLINK

public static final java.lang.String CLICKLINK
See Also:
Constant Field Values

CLICKLINKMATCHING

public static final java.lang.String CLICKLINKMATCHING
See Also:
Constant Field Values

CLICKLINKBEGINNING

public static final java.lang.String CLICKLINKBEGINNING
See Also:
Constant Field Values

CLICKLINKCONTAINING

public static final java.lang.String CLICKLINKCONTAINING
See Also:
Constant Field Values

msg

protected java.lang.String msg

detail

protected java.lang.String detail
Constructor Detail

CFHTMLDocument

public CFHTMLDocument()
Method Detail

localProcess

protected void localProcess()
Overrides:
localProcess in class CFComponent

doLinkCommands

protected void doLinkCommands()
                       throws SAFSException
Purpose: Handle keywords related to link, as following
  1. ClickLink
  2. ClickLinkMatching
  3. ClickLinkBeginning
  4. ClickLinkContaining

Throws:
SAFSException

doBodyCommands

protected void doBodyCommands()
                       throws SAFSException
Purpose: Handle keywords related to body, as following
  1. CaptureBodySourceToFile
  2. CaptureBodyTextToFile
  3. VerifyBodySource
  4. VerifyBodyText

Throws:
SAFSException