public static class SAFSPlus.TabControl extends SAFSPlus.Component
Constructor and Description |
---|
TabControl() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ClickTab(Component tabcontrol,
java.lang.String value)
Select a tab value in Tab Control and verify the value has been selected.
|
static boolean |
ClickTabContains(Component tabcontrol,
java.lang.String value)
Select a tab value in Tab Control, the value will be matched partially.
|
static boolean |
MakeSelection(Component tabcontrol,
java.lang.String value)
Select a tab value in Tab Control and verify the value has been selected.
|
static boolean |
SelectTab(Component tabcontrol,
java.lang.String value)
Select a tab value in Tab Control and verify the value has been selected.
|
static boolean |
SelectTabIndex(Component tabcontrol,
int index)
Select a tab by index in Tab Control and verify the index has been selected.
|
static boolean |
UnverifiedClickTab(Component tabcontrol,
java.lang.String value)
Select a tab value in Tab Control without verification.
|
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 ClickTab(Component tabcontrol, java.lang.String value)
tabcontrol
- Component (from App Map) to select a tab from.value
- String, text valueSAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = TabControl.ClickTab(Map.SAPDemo.TabStrip,"Mort.Calc");
public static boolean ClickTabContains(Component tabcontrol, java.lang.String value)
tabcontrol
- Component (from App Map) to select a tab from.value
- String, partial text value to matchSAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = TabControl.ClickTabContains(Map.SAPDemo.TabStrip,"Calc");//For tab 'Mort.Calc'
public static boolean MakeSelection(Component tabcontrol, java.lang.String value)
tabcontrol
- Component (from App Map) to select a tab from.value
- String, text valueSAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = TabControl.MakeSelection(Map.SAPDemo.TabStrip,"Mort.Calc");
public static boolean SelectTab(Component tabcontrol, java.lang.String value)
tabcontrol
- Component (from App Map) to select a tab from.value
- String, text valueSAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = TabControl.SelectTab(Map.SAPDemo.TabStrip,"Mort.Calc");
public static boolean SelectTabIndex(Component tabcontrol, int index)
tabcontrol
- Component (from App Map) to select a tab from.index
- int, the index to select, it is 1-based.SAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = TabControl.SelectTabIndex(Map.SAPDemo.TabStrip,1);//Select the first tab
public static boolean UnverifiedClickTab(Component tabcontrol, java.lang.String value)
tabcontrol
- Component (from App Map) to select a tab from.value
- String, text valueSAFSPlus.prevResults
,
TestRecordData.getStatusCode()
,
TestRecordData.getStatusInfo()
boolean success = TabControl.UnverifiedClickTab(Map.SAPDemo.TabStrip,"Mort.Calc");
Copyright © SAS Institute. All Rights Reserved.