public class TabControlProcessor extends TestStepProcessor
debugPrefix
command_timeout, compname, compobj, comprec, dgcd, dgov, inst, KEY_COMPOBJ, params, resourceDetailMsg, resourceMsg, robot, secsWaitForComponent, secsWaitForWindow, solo, TAG, testObjectCache, testrunner, winname, winobj, winrec
INITIAL_CACHE_SIZE, remoteCommand, testRunner
Constructor and Description |
---|
TabControlProcessor(DSAFSTestRunner testrunner) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getTabText(android.view.View indicatorView)
Try to get the text of the Tab's item.
This method accept a View as parameter, this View is generated by TabHost$IndicatorStrategy. TabHost defined 2 Indicator Strategies: LabelIndicatorStrategy and LabelAndIconIndicatorStrategy, both of them can generate a View containing a TextView, which hold the tab item's label. But developer can freely provide their own IndicatorStrategy, for that case we need to modify this method. |
void |
processComponentFunction(java.util.Properties props)
Called internally by processProperties after the DGOV, WIN, and COMP components
have been found and are ready for action.
|
checkParameterSize, checkSolo, commandNotExecuted, convertCoords, processProperties, retrieveParameters, setGeneralError3, setGeneralErrorUnsupportedObjectType, setGeneralErrorWithDetailBundle, setGeneralSuccessWithBundle, setGenericError
clearTestObjectCache, extractComponentProperties, getDgcd, getInstrumentation, getParams, getSecsWaitForComponent, getSecsWaitForWindow, getSolo, getTestObject, setDgcd, setGeneralErrorWithBundleMessage, setGeneralSuccessWithBundleMessage, setParams, setSecsWaitForComponent, setSecsWaitForWindow, setSolo, setTestObject
convertToKey, convertToKeys, convertToKeys, debug, getCachedItem, getStackTrace, makeUniqueCacheKey, processMessage, putCachedItem, removeCachedItem, resetExternalModeCache, setGeneralError, setGeneralError, setGeneralErrorWithSpecialInfo, setGeneralErrorWithSpecialInfo, setGeneralSuccess, setGeneralSuccess, setGeneralSuccessWithSpecialInfo, setGeneralWarningWithSpecialInfo, setRemoteCommand, stringIsMatched
public TabControlProcessor(DSAFSTestRunner testrunner)
public void processComponentFunction(java.util.Properties props)
TestStepProcessor
processComponentFunction
in class TestStepProcessor
protected java.lang.String getTabText(android.view.View indicatorView)
indicatorView,
- View returned by TabHost$IndicatorStrategy (LabelIndicatorStrategy, LabelAndIconIndicatorStrategy)Copyright © SAS Institute. All Rights Reserved.