public class ProgressBar extends GenericObject
Modifier | Constructor and Description |
---|---|
protected |
ProgressBar(java.lang.String compname) |
|
ProgressBar(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
ProgressBar(Window window,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
Modifier and Type | Method and Description |
---|---|
void |
getProgress(StepTestTable table,
java.lang.String[] parameters)
Action to get progress of a progress bar component.
|
void |
getProgress(StepTestTable table,
java.lang.String variableName,
java.lang.String isPrimary)
Action to get progress of a progress bar component.
|
ComponentFunction |
getProgress(java.lang.String[] parameters)
Action to get progress of a progress bar component.
|
ComponentFunction |
getProgress(java.lang.String variableName,
java.lang.String isPrimary)
Action to get progress of a progress bar component.
|
void |
getRating(StepTestTable table,
java.lang.String variableName)
Action to get rating of a rating bar component.
|
ComponentFunction |
getRating(java.lang.String variableName)
Action to get rating of a rating bar component.
|
void |
setProgress(StepTestTable table,
java.lang.String[] parameters)
Action to set progress for a progress bar component according to its value.
|
void |
setProgress(StepTestTable table,
java.lang.String progressValue,
java.lang.String isPrimary)
Action to set progress for a progress bar component according to its value.
|
ComponentFunction |
setProgress(java.lang.String[] parameters)
Action to set progress for a progress bar component according to its value.
|
ComponentFunction |
setProgress(java.lang.String progressValue,
java.lang.String isPrimary)
Action to set progress for a progress bar component according to its value.
|
void |
setRating(StepTestTable table,
java.lang.String ratingValue)
Action to set rating for a rating bar component according to its value.
|
ComponentFunction |
setRating(java.lang.String ratingValue)
Action to set rating for a rating bar component according to its value.
|
altLeftDrag, altLeftDrag, click, click, click, click, clickScreenImage, clickScreenImage, clickScreenLocation, clickScreenLocation, clickScreenPoint, clickScreenPoint, compareStoredData, compareStoredData, compareStoredData, compareStoredData, compareStoredProperties, compareStoredProperties, compareStoredProperties, compareStoredProperties, ctrlAltLeftDrag, ctrlAltLeftDrag, ctrlClick, ctrlClick, ctrlClick, ctrlClick, ctrlClickScreenImage, ctrlClickScreenImage, ctrlLeftDrag, ctrlLeftDrag, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClickScreenImage, ctrlRightClickScreenImage, ctrlShiftLeftDrag, ctrlShiftLeftDrag, doubleClick, doubleClick, doubleClick, doubleClick, doubleClickScreenImage, doubleClickScreenImage, doubleClickScreenLocation, doubleClickScreenLocation, doubleClickScreenPoint, doubleClickScreenPoint, doubleTap, doubleTap, dragTo, dragTo, dragTo, dragTo, flick, flick, flick, flick, flickDown, flickDown, flickLeft, flickLeft, flickRight, flickRight, flickUp, flickUp, hScrollTo, hScrollTo, javaMenuSelect, javaMenuSelect, leftDrag, leftDrag, mouseClick, mouseClick, multiClick, multiClick, multiClick, multiClick, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, press, press, rightClick, rightClick, rightClick, rightClick, rightClickScreenImage, rightClickScreenImage, rightClickScreenLocation, rightClickScreenLocation, rightClickScreenPoint, rightClickScreenPoint, rightDrag, rightDrag, shiftClick, shiftClick, shiftClick, shiftClick, shiftClickScreenImage, shiftClickScreenImage, shiftLeftDrag, shiftLeftDrag, tap, tap, twoFingerTap, twoFingerTap, verifyImage, verifyImage, vScrollTo, vScrollTo
assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, clearAppMapCache, clearAppMapCache, clearCache, clearCache, executeScript, executeScript, executeScript, executeScript, getComputedStyle, getComputedStyle, getGUIImage, getGUIImage, getGUIImage, getGUIImage, getTextFromGUI, getTextFromGUI, getTextFromGUI, getTextFromGUI, gUIDoesExist, gUIDoesExist, gUIDoesNotExist, gUIDoesNotExist, hoverMouse, hoverMouse, hoverMouse, hoverMouse, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, inputCharacters, inputCharacters, inputKeys, inputKeys, isPropertyExist, isPropertyExist, isPropertyExist, isPropertyExist, locateScreenImage, locateScreenImage, locateScreenImage, locateScreenImage, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, sendEvent, sendEvent, sendEvent, sendEvent, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, showOnPage, showOnPage, typeChars, typeChars, typeEncryption, typeEncryption, typeEncryption, typeEncryption, typeKeys, typeKeys, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardVP, verifyClipboardVP, verifyComputedStyle, verifyComputedStyle, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyProperty, verifyProperty, verifyProperty, verifyProperty, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyTabOrder, verifyTabOrder, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValues, verifyValues, verifyValues, verifyValues, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual
getWindow, setWindow
getName, getParent, getParentName, quote
public ProgressBar(Window window, java.lang.String compname)
window
- Optional:NO
Specifies which Window this component is 'in'.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.public ProgressBar(java.lang.String winname, java.lang.String compname)
winname
- Optional:NO
Specifies the AppMap name of the window.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.protected ProgressBar(java.lang.String compname)
public ComponentFunction getProgress(java.lang.String variableName, java.lang.String isPrimary)
Action to get progress of a progress bar component.Supporting Engines:
variableName
- Optional:NO
The variable VariableName will contain the progress of progress bar in percentage.isPrimary
- Optional:YES
IsPrimary is boolean value (default is true). It indicates which indicator to get.public void getProgress(StepTestTable table, java.lang.String variableName, java.lang.String isPrimary)
Action to get progress of a progress bar component.Supporting Engines:
table
- Optional:NO
The table to add the record to.variableName
- Optional:NO
The variable VariableName will contain the progress of progress bar in percentage.isPrimary
- Optional:YES
IsPrimary is boolean value (default is true). It indicates which indicator to get.public ComponentFunction getProgress(java.lang.String[] parameters)
Action to get progress of a progress bar component.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void getProgress(StepTestTable table, java.lang.String[] parameters)
Action to get progress of a progress bar component.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction getRating(java.lang.String variableName)
Action to get rating of a rating bar component. Note: Work ONLY for android.widget.RatingBar object.Supporting Engines:
variableName
- Optional:NO
The variable VariableName will contain the rating of rating bar.public void getRating(StepTestTable table, java.lang.String variableName)
Action to get rating of a rating bar component. Note: Work ONLY for android.widget.RatingBar object.Supporting Engines:
table
- Optional:NO
The table to add the record to.variableName
- Optional:NO
The variable VariableName will contain the rating of rating bar.public ComponentFunction setProgress(java.lang.String progressValue, java.lang.String isPrimary)
Action to set progress for a progress bar component according to its value.Supporting Engines:
progressValue
- Optional:NO
ProgressValue to set.isPrimary
- Optional:YES
IsPrimary is boolean value (default is true). It indicates which indicator to set.public void setProgress(StepTestTable table, java.lang.String progressValue, java.lang.String isPrimary)
Action to set progress for a progress bar component according to its value.Supporting Engines:
table
- Optional:NO
The table to add the record to.progressValue
- Optional:NO
ProgressValue to set.isPrimary
- Optional:YES
IsPrimary is boolean value (default is true). It indicates which indicator to set.public ComponentFunction setProgress(java.lang.String[] parameters)
Action to set progress for a progress bar component according to its value.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void setProgress(StepTestTable table, java.lang.String[] parameters)
Action to set progress for a progress bar component according to its value.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction setRating(java.lang.String ratingValue)
Action to set rating for a rating bar component according to its value. Note: Work ONLY for android.widget.RatingBar object.Supporting Engines:
ratingValue
- Optional:NO
RatingValue to set.public void setRating(StepTestTable table, java.lang.String ratingValue)
Action to set rating for a rating bar component according to its value. Note: Work ONLY for android.widget.RatingBar object.Supporting Engines:
table
- Optional:NO
The table to add the record to.ratingValue
- Optional:NO
RatingValue to set.Copyright © SAS Institute. All Rights Reserved.