public static class SAFSPlus.ScrollBar extends SAFSPlus.Component
Constructor and Description |
---|
ScrollBar() |
Modifier and Type | Method and Description |
---|---|
static boolean |
OneDown(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollLineDown on a scrollbar.
|
static boolean |
OneLeft(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollLeft on a scrollbar.
|
static boolean |
OneRight(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollRight on a scrollbar.
|
static boolean |
OneUp(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollLineUp on a scrollbar.
|
static boolean |
PageDown(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollPageDown on a scrollbar.
|
static boolean |
PageLeft(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollPageLeft on a scrollbar.
|
static boolean |
PageRight(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollPageRight on a scrollbar.
|
static boolean |
PageUp(Component scrollbar,
java.lang.String... params)
Attempts to perform a ScrollPageUp on a scrollbar.
|
AltClick, AltLeftDrag, AssignPropertyVariable, CaptureObjectDataToFile, CapturePropertiesToFile, CapturePropertyToFile, ClearCache, Click, CtrlAltLeftDrag, CtrlClick, CtrlLeftDrag, CtrlRightClick, CtrlShiftLeftDrag, DoubleClick, DragTo, ExecuteScript, GetComputedStyle, GetGUIImage, GetTextFromGUI, GUIDoesExist, GUIDoesNotExist, HoverMouse, HoverScreenLocation, InputCharacters, InputKeys, IsPropertyExist, IsPropertyExist, LeftDrag, LocateScreenImage, RightClick, RightDrag, SaveTextFromGUI, ShiftClick, ShiftLeftDrag, ShowOnPage, TypeChars, TypeEncryption, TypeKeys, VerifyBinaryFileToFile, VerifyComputedStyle, VerifyFileToFile, VerifyGUIImageToFile, VerifyObjectDataToFile, VerifyPropertiesSubsetToFile, VerifyPropertiesToFile, VerifyProperty, VerifyPropertyContains, VerifyPropertyContains, VerifyPropertyToFile, VerifyTextFileToFile, VerifyValueContains, VerifyValueContainsIgnoreCase, VerifyValueDoesNotContain, VerifyValues, VerifyValuesIgnoreCase, VerifyValuesNotEqual
public static boolean OneDown(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a vertical scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.OneDown(Map.Window.ScrollBar);//move 1 step down
boolean success = ScrollBar.OneDown(Map.Window.ScrollBar, "5");//move 5 steps down
public static boolean OneUp(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a vertical scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.OneUp(Map.Window.ScrollBar);//move 1 step up
boolean success = ScrollBar.OneUp(Map.Window.ScrollBar, "5");//move 5 steps up
public static boolean OneLeft(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a horizontal scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.OneLeft(Map.Window.ScrollBar);//move 1 step Left
boolean success = ScrollBar.OneLeft(Map.Window.ScrollBar, "5");//move 5 steps Left
public static boolean OneRight(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a horizontal scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.OneRight(Map.Window.ScrollBar);//move 1 step Right
boolean success = ScrollBar.OneRight(Map.Window.ScrollBar, "5");//move 5 steps Right
public static boolean PageDown(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a vertical scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.PageDown(Map.Window.ScrollBar);//move 1 page down
boolean success = ScrollBar.PageDown(Map.Window.ScrollBar, "5");//move 5 pages down
public static boolean PageUp(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a vertical scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.PageUp(Map.Window.ScrollBar);//move 1 page up
boolean success = ScrollBar.PageUp(Map.Window.ScrollBar, "5");//move 5 pages up
public static boolean PageLeft(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a horizontal scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.PageLeft(Map.Window.ScrollBar);//move 1 page Left
boolean success = ScrollBar.PageLeft(Map.Window.ScrollBar, "5");//move 5 pages Left
public static boolean PageRight(Component scrollbar, java.lang.String... params)
scrollbar
- Component (from App Map), a horizontal scrollbar.params
- optional
SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = ScrollBar.PageRight(Map.Window.ScrollBar);//move 1 page Right
boolean success = ScrollBar.PageRight(Map.Window.ScrollBar, "5");//move 5 pages Right
Copyright © SAS Institute. All Rights Reserved.