public class ListViewFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVATEINDEX_KEYWORD
"ActivateIndex"
|
static java.lang.String |
ACTIVATEINDEXITEM_KEYWORD
"ActivateIndexItem"
|
static java.lang.String |
ACTIVATEPARTIALMATCH_KEYWORD
"ActivatePartialMatch"
|
static java.lang.String |
ACTIVATETEXTITEM_KEYWORD
"ActivateTextItem"
|
static java.lang.String |
ACTIVATETEXTITEMCOORDS_KEYWORD
"ActivateTextItemCoords"
|
static java.lang.String |
ACTIVATEUNVERIFIEDTEXTITEM_KEYWORD
"ActivateUnverifiedTextItem"
|
static java.lang.String |
ACTIVATEUNVERIFIEDTEXTITEMCOORDS_KEYWORD
"ActivateUnverifiedTextItemCoords"
|
static java.lang.String |
ASSIGNCELLVALUE_KEYWORD
"AssignCellValue"
|
static java.lang.String |
CAPTUREITEMSTOFILE_KEYWORD
"CaptureItemsToFile"
|
static java.lang.String |
CLICKINDEX_KEYWORD
"ClickIndex"
|
static java.lang.String |
CLICKINDEXITEM_KEYWORD
"ClickIndexItem"
|
static java.lang.String |
EXTENDSELECTIONTOTEXTITEM_KEYWORD
"ExtendSelectionToTextItem"
|
static java.lang.String |
RIGHTCLICKTEXTITEM_KEYWORD
"RightClickTextItem"
|
static java.lang.String |
RIGHTCLICKTEXTITEMCOORDS_KEYWORD
"RightClickTextItemCoords"
|
static java.lang.String |
RIGHTCLICKUNVERIFIEDTEXTITEM_KEYWORD
"RightClickUnverifiedTextItem"
|
static java.lang.String |
RIGHTCLICKUNVERIFIEDTEXTITEMCOORDS_KEYWORD
"RightClickUnverifiedTextItemCoords"
|
static java.lang.String |
SELECTANOTHERPARTIALMATCH_KEYWORD
"SelectAnotherPartialMatch"
|
static java.lang.String |
SELECTANOTHERTEXTITEM_KEYWORD
"SelectAnotherTextItem"
|
static java.lang.String |
SELECTINDEX_KEYWORD
"SelectIndex"
|
static java.lang.String |
SELECTINDEXITEM_KEYWORD
"SelectIndexItem"
|
static java.lang.String |
SELECTINDEXITEMCOORDS_KEYWORD
"SelectIndexItemCoords"
|
static java.lang.String |
SELECTPARTIALMATCH_KEYWORD
"SelectPartialMatch"
|
static java.lang.String |
SELECTRANDOMITEMS_KEYWORD
"SelectRandomItems"
|
static java.lang.String |
SELECTTEXTITEM_KEYWORD
"SelectTextItem"
|
static java.lang.String |
SELECTTEXTITEMCOORDS_KEYWORD
"SelectTextItemCoords"
|
static java.lang.String |
SELECTUNVERIFIEDTEXTITEM_KEYWORD
"SelectUnverifiedTextItem"
|
static java.lang.String |
SELECTUNVERIFIEDTEXTITEMCOORDS_KEYWORD
"SelectUnverifiedTextItemCoords"
|
static java.lang.String |
SETLISTCONTAINS_KEYWORD
"SetListContains"
|
static java.lang.String |
VERIFYITEMUNSELECTED_KEYWORD
"VerifyItemUnselected"
|
static java.lang.String |
VERIFYLISTCONTAINS_KEYWORD
"VerifyListContains"
|
static java.lang.String |
VERIFYSELECTEDITEM_KEYWORD
"VerifySelectedItem"
|
Modifier and Type | Method and Description |
---|---|
static ComponentFunction |
activateIndex(java.lang.String winname,
java.lang.String compname,
java.lang.String index)
Activate (double-click) an item based on it's index in the list
It is important to note that some ListViews index their values
differently.
|
static ComponentFunction |
activateIndexItem(java.lang.String winname,
java.lang.String compname,
java.lang.String indexValue)
Routine to double click an item according to its index in the list.
|
static ComponentFunction |
activatePartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to double click an item according to a partial text match.
|
static ComponentFunction |
activatePartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String partialTextValue,
java.lang.String matchIndex)
Routine to double click an item according to a partial text match.
|
static ComponentFunction |
activateTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to double click an item according to its text value.
|
static ComponentFunction |
activateTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String matchIndex)
Routine to double click an item according to its text value.
|
static ComponentFunction |
activateTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Double click a text item at specific Coords.
|
static ComponentFunction |
activateTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String coords,
java.lang.String matchIndex)
Double click a text item at specific Coords.
|
static ComponentFunction |
activateUnverifiedTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to double click an unverifiable item according to its text value.
|
static ComponentFunction |
activateUnverifiedTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String matchIndex)
Routine to double click an unverifiable item according to its text value.
|
static ComponentFunction |
activateUnverifiedTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Double click an unverifiable text item at specific Coords.
|
static ComponentFunction |
activateUnverifiedTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String coords,
java.lang.String matchIndex)
Double click an unverifiable text item at specific Coords.
|
static ComponentFunction |
assignCellValue(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Assigns the value of a cell in a listview to a variable.
|
static ComponentFunction |
assignCellValue(java.lang.String winname,
java.lang.String compname,
java.lang.String variable,
java.lang.String rowCoord,
java.lang.String colCoord)
Assigns the value of a cell in a listview to a variable.
|
static ComponentFunction |
captureItemsToFile(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Capture Items To a File specified (if not abs, then to test dir)
Capture Items To a File specified (if not abs, then to test dir)
|
static ComponentFunction |
captureItemsToFile(java.lang.String winname,
java.lang.String compname,
java.lang.String fileName,
java.lang.String fileEncoding)
Capture Items To a File specified (if not abs, then to test dir)
Capture Items To a File specified (if not abs, then to test dir)
|
static ComponentFunction |
clickIndex(java.lang.String winname,
java.lang.String compname,
java.lang.String index)
Same as (Alias for) ListView ActivateIndexItem
|
static ComponentFunction |
clickIndexItem(java.lang.String winname,
java.lang.String compname,
java.lang.String index)
Same as (Alias for) ListView ActivateIndexItem
|
static ComponentFunction |
extendSelectionToTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Routine to Shift+Click and Verify a selection according to its text value.
|
static ListViewFunctions |
getInstance()
public Singleton to access class static methods via instance
|
static ComponentFunction |
rightClickTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to RightClick (single click) an item according to its text value.
|
static ComponentFunction |
rightClickTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String matchIndex)
Routine to RightClick (single click) an item according to its text value.
|
static ComponentFunction |
rightClickTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Right click a text item at specific Coords.
|
static ComponentFunction |
rightClickTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String coords,
java.lang.String matchIndex)
Right click a text item at specific Coords.
|
static ComponentFunction |
rightClickUnverifiedTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to RightClick (single click) an unverifiable item according to its text value.
|
static ComponentFunction |
rightClickUnverifiedTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String matchIndex)
Routine to RightClick (single click) an unverifiable item according to its text value.
|
static ComponentFunction |
rightClickUnverifiedTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Right Click an unverifiable text item at specific Coords.
|
static ComponentFunction |
rightClickUnverifiedTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String coords,
java.lang.String matchIndex)
Right Click an unverifiable text item at specific Coords.
|
static ComponentFunction |
selectAnotherPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine for multiple selection to Control+Click on an item according to a partial text match.
|
static ComponentFunction |
selectAnotherPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String partialTextValue,
java.lang.String matchIndex)
Routine for multiple selection to Control+Click on an item according to a partial text match.
|
static ComponentFunction |
selectAnotherTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine for multiple selection to Control+Click on an item by its text value.
|
static ComponentFunction |
selectAnotherTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue,
java.lang.String matchIndex)
Routine for multiple selection to Control+Click on an item by its text value.
|
static ComponentFunction |
selectIndex(java.lang.String winname,
java.lang.String compname,
java.lang.String index)
Same as (Alias for) ListView SelectIndexItem
|
static ComponentFunction |
selectIndexItem(java.lang.String winname,
java.lang.String compname,
java.lang.String itemIndex)
Routine to single click an item according to its Index value.
|
static ComponentFunction |
selectIndexItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to single click an item by Index at specific coordinates.
|
static ComponentFunction |
selectIndexItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String itemIndex,
java.lang.String coords)
Routine to single click an item by Index at specific coordinates.
|
static ComponentFunction |
selectPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to select (single click) an item according to a partial text match.
|
static ComponentFunction |
selectPartialMatch(java.lang.String winname,
java.lang.String compname,
java.lang.String partialTextValue,
java.lang.String matchIndex)
Routine to select (single click) an item according to a partial text match.
|
static ComponentFunction |
selectRandomItems(java.lang.String winname,
java.lang.String compname,
java.lang.String itemCount)
Routine to randomly select multiple items in the ListView object.
|
static ComponentFunction |
selectTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to select (single click) an item according to its text value.
|
static ComponentFunction |
selectTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String matchIndex)
Routine to select (single click) an item according to its text value.
|
static ComponentFunction |
selectTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Single click a text item at specific Coords.
|
static ComponentFunction |
selectTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String coords,
java.lang.String matchIndex)
Single click a text item at specific Coords.
|
static ComponentFunction |
selectUnverifiedTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Routine to select (single click) an unverifiable item according to its text value.
|
static ComponentFunction |
selectUnverifiedTextItem(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String matchIndex)
Routine to select (single click) an unverifiable item according to its text value.
|
static ComponentFunction |
selectUnverifiedTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Single click an unverifiable text item at specific Coords.
|
static ComponentFunction |
selectUnverifiedTextItemCoords(java.lang.String winname,
java.lang.String compname,
java.lang.String selectTextValue,
java.lang.String coords,
java.lang.String matchIndex)
Single click an unverifiable text item at specific Coords.
|
static ComponentFunction |
setListContains(java.lang.String winname,
java.lang.String compname,
java.lang.String[] parameters)
Set a variable with the result of checking that a listview contains the provided item.
|
static ComponentFunction |
setListContains(java.lang.String winname,
java.lang.String compname,
java.lang.String itemText,
java.lang.String resultVar)
Set a variable with the result of checking that a listview contains the provided item.
|
static ComponentFunction |
verifyItemUnselected(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Verifies a particular case-sensitive text item is NOT selected.
|
static ComponentFunction |
verifyListContains(java.lang.String winname,
java.lang.String compname,
java.lang.String itemText)
Verify that a list view contains the provided item.
|
static ComponentFunction |
verifySelectedItem(java.lang.String winname,
java.lang.String compname,
java.lang.String textValue)
Verifies a particular case-sensitive text item is selected
|
public static final java.lang.String ACTIVATEINDEX_KEYWORD
public static final java.lang.String ACTIVATEINDEXITEM_KEYWORD
public static final java.lang.String ACTIVATEPARTIALMATCH_KEYWORD
public static final java.lang.String ACTIVATETEXTITEM_KEYWORD
public static final java.lang.String ACTIVATETEXTITEMCOORDS_KEYWORD
public static final java.lang.String ACTIVATEUNVERIFIEDTEXTITEM_KEYWORD
public static final java.lang.String ACTIVATEUNVERIFIEDTEXTITEMCOORDS_KEYWORD
public static final java.lang.String ASSIGNCELLVALUE_KEYWORD
public static final java.lang.String CAPTUREITEMSTOFILE_KEYWORD
public static final java.lang.String CLICKINDEX_KEYWORD
public static final java.lang.String CLICKINDEXITEM_KEYWORD
public static final java.lang.String EXTENDSELECTIONTOTEXTITEM_KEYWORD
public static final java.lang.String RIGHTCLICKTEXTITEM_KEYWORD
public static final java.lang.String RIGHTCLICKTEXTITEMCOORDS_KEYWORD
public static final java.lang.String RIGHTCLICKUNVERIFIEDTEXTITEM_KEYWORD
public static final java.lang.String RIGHTCLICKUNVERIFIEDTEXTITEMCOORDS_KEYWORD
public static final java.lang.String SELECTANOTHERPARTIALMATCH_KEYWORD
public static final java.lang.String SELECTANOTHERTEXTITEM_KEYWORD
public static final java.lang.String SELECTINDEX_KEYWORD
public static final java.lang.String SELECTINDEXITEM_KEYWORD
public static final java.lang.String SELECTINDEXITEMCOORDS_KEYWORD
public static final java.lang.String SELECTPARTIALMATCH_KEYWORD
public static final java.lang.String SELECTRANDOMITEMS_KEYWORD
public static final java.lang.String SELECTTEXTITEM_KEYWORD
public static final java.lang.String SELECTTEXTITEMCOORDS_KEYWORD
public static final java.lang.String SELECTUNVERIFIEDTEXTITEM_KEYWORD
public static final java.lang.String SELECTUNVERIFIEDTEXTITEMCOORDS_KEYWORD
public static final java.lang.String SETLISTCONTAINS_KEYWORD
public static final java.lang.String VERIFYITEMUNSELECTED_KEYWORD
public static final java.lang.String VERIFYLISTCONTAINS_KEYWORD
public static final java.lang.String VERIFYSELECTEDITEM_KEYWORD
public static ListViewFunctions getInstance()
public static ComponentFunction activateIndex(java.lang.String winname, java.lang.String compname, java.lang.String index)
Activate (double-click) an item based on it's index in the list It is important to note that some ListViews index their values differently. For example, you may need to select an item by text by using a property whose starting index is 1. Yet, if you request to seek an item strictly by index, the starting index is 0. So, the test developer may need to evaluate their ListView object for these differences.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.index
- Optional:NO
Index of the text item to selectpublic static ComponentFunction activateIndexItem(java.lang.String winname, java.lang.String compname, java.lang.String indexValue)
Routine to double click an item according to its index in the list. It is important to note that some ListViews index their values differently. For example, you may need to select an item by text by using a property whose starting index is 1. Yet, if you request to seek an item strictly by index, the starting index is 0. So, the test developer may need to evaluate their ListView object for these differences.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.indexValue
- Optional:NO
Index of item to activate.public static ComponentFunction activatePartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String partialTextValue, java.lang.String matchIndex)
Routine to double click an item according to a partial text match.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.partialTextValue
- Optional:NO
Case-sensitive substring of text item to selectmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction activatePartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to double click an item according to a partial text match.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction activateTextItem(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String matchIndex)
Routine to double click an item according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction activateTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to double click an item according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction activateTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String coords, java.lang.String matchIndex)
Double click a text item at specific Coords.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectcoords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.matchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction activateTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Double click a text item at specific Coords.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction activateUnverifiedTextItem(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String matchIndex)
Routine to double click an unverifiable item according to its text value. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction activateUnverifiedTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to double click an unverifiable item according to its text value. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction activateUnverifiedTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String coords, java.lang.String matchIndex)
Double click an unverifiable text item at specific Coords. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectcoords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.matchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction activateUnverifiedTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Double click an unverifiable text item at specific Coords. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction assignCellValue(java.lang.String winname, java.lang.String compname, java.lang.String variable, java.lang.String rowCoord, java.lang.String colCoord)
Assigns the value of a cell in a listview to a variable.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.variable
- Optional:NO
Name of variable to assign valuerowCoord
- Optional:NO
The coordinate of the row in the listview that you want to capture the value.colCoord
- Optional:NO
The coordinate of the column in the listview that you want to capture the value.public static ComponentFunction assignCellValue(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Assigns the value of a cell in a listview to a variable.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction captureItemsToFile(java.lang.String winname, java.lang.String compname, java.lang.String fileName, java.lang.String fileEncoding)
Capture Items To a File specified (if not abs, then to test dir) Capture Items To a File specified (if not abs, then to test dir)Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.fileName
- Optional:NO
File name (if not absolute, then to test dir)fileEncoding
- Optional:YES DefaultVal:
Specify a character encoding to be used when saving data to a file.
If it is not specified, the system default file encoding will be used.
The encoding should be a valid string supported by Java; if it is not valid,
the system default file encoding will be used instead.public static ComponentFunction captureItemsToFile(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Capture Items To a File specified (if not abs, then to test dir) Capture Items To a File specified (if not abs, then to test dir)Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction clickIndex(java.lang.String winname, java.lang.String compname, java.lang.String index)
Same as (Alias for) ListView ActivateIndexItemSupporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.index
- Optional:NO
See ListView ActivateIndexItempublic static ComponentFunction clickIndexItem(java.lang.String winname, java.lang.String compname, java.lang.String index)
Same as (Alias for) ListView ActivateIndexItemSupporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.index
- Optional:NO
See ListView ActivateIndexItempublic static ComponentFunction extendSelectionToTextItem(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Routine to Shift+Click and Verify a selection according to its text value. This extends the current selection to include the specified selection and all other items inbetween. NOTE: This may not work in all environments (Java, Web, etc...)Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to select and verify.public static ComponentFunction rightClickTextItem(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String matchIndex)
Routine to RightClick (single click) an item according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to RightClickmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction rightClickTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to RightClick (single click) an item according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction rightClickTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String coords, java.lang.String matchIndex)
Right click a text item at specific Coords.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to RightClickcoords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.matchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction rightClickTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Right click a text item at specific Coords.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction rightClickUnverifiedTextItem(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String matchIndex)
Routine to RightClick (single click) an unverifiable item according to its text value. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to RightClickmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction rightClickUnverifiedTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to RightClick (single click) an unverifiable item according to its text value. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction rightClickUnverifiedTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String coords, java.lang.String matchIndex)
Right Click an unverifiable text item at specific Coords. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectcoords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.matchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction rightClickUnverifiedTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Right Click an unverifiable text item at specific Coords. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectAnotherPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String partialTextValue, java.lang.String matchIndex)
Routine for multiple selection to Control+Click on an item according to a partial text match. This adds selected items to items already selected.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.partialTextValue
- Optional:NO
Case-sensitive substring of text item to select.matchIndex
- Optional:YES DefaultVal:1
Optional index of the Nth duplicate item to match.public static ComponentFunction selectAnotherPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine for multiple selection to Control+Click on an item according to a partial text match. This adds selected items to items already selected.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectAnotherTextItem(java.lang.String winname, java.lang.String compname, java.lang.String textValue, java.lang.String matchIndex)
Routine for multiple selection to Control+Click on an item by its text value. This adds selected items to items already selected.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node to select.matchIndex
- Optional:YES DefaultVal:1
Optional index of the Nth duplicate item to match.public static ComponentFunction selectAnotherTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine for multiple selection to Control+Click on an item by its text value. This adds selected items to items already selected.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectIndex(java.lang.String winname, java.lang.String compname, java.lang.String index)
Same as (Alias for) ListView SelectIndexItemSupporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.index
- Optional:NO
See ListView SelectIndexItempublic static ComponentFunction selectIndexItem(java.lang.String winname, java.lang.String compname, java.lang.String itemIndex)
Routine to single click an item according to its Index value. It is important to note that some ListViews index their values differently. For example, you may need to select an item by text by using a property whose starting index is 1. Yet, if you request to seek an item strictly by index, the starting index is 0. So, the test developer may need to evaluate their ListView object for these differences.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.itemIndex
- Optional:NO
Index of node to select.public static ComponentFunction selectIndexItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String itemIndex, java.lang.String coords)
Routine to single click an item by Index at specific coordinates. It is important to note that some ListViews index their values differently. For example, you may need to select an item by text by using a property whose starting index is 1. Yet, if you request to seek an item strictly by index, the starting index is 0. So, the test developer may need to evaluate their ListView object for these differences.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.itemIndex
- Optional:NO
Index of node to select.coords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.public static ComponentFunction selectIndexItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to single click an item by Index at specific coordinates. It is important to note that some ListViews index their values differently. For example, you may need to select an item by text by using a property whose starting index is 1. Yet, if you request to seek an item strictly by index, the starting index is 0. So, the test developer may need to evaluate their ListView object for these differences.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String partialTextValue, java.lang.String matchIndex)
Routine to select (single click) an item according to a partial text match.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.partialTextValue
- Optional:NO
Case-sensitive substring of node to selectmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction selectPartialMatch(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to select (single click) an item according to a partial text match.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectRandomItems(java.lang.String winname, java.lang.String compname, java.lang.String itemCount)
Routine to randomly select multiple items in the ListView object. Routine to randomly select multiple items in the ListView object. Each selection is done with a CTRL + Single Left Click. Items are selected by index, not by their text values. Items already selected are NOT unselected. We add to existing selections.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.itemCount
- Optional:NO
The quantity of items to randomly select in the object.public static ComponentFunction selectTextItem(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String matchIndex)
Routine to select (single click) an item according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction selectTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to select (single click) an item according to its text value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String coords, java.lang.String matchIndex)
Single click a text item at specific Coords.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectcoords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.matchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction selectTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Single click a text item at specific Coords.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectUnverifiedTextItem(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String matchIndex)
Routine to select (single click) an unverifiable item according to its text value. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectmatchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction selectUnverifiedTextItem(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Routine to select (single click) an unverifiable item according to its text value. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction selectUnverifiedTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String selectTextValue, java.lang.String coords, java.lang.String matchIndex)
Single click an unverifiable text item at specific Coords. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.selectTextValue
- Optional:NO
Case-sensitive text of node to selectcoords
- Optional:NO
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.matchIndex
- Optional:YES
Optional index of the Nth duplicate item to match.public static ComponentFunction selectUnverifiedTextItemCoords(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Single click an unverifiable text item at specific Coords. An unverifiable item is one whose READ value is not the same as its SET value.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction setListContains(java.lang.String winname, java.lang.String compname, java.lang.String itemText, java.lang.String resultVar)
Set a variable with the result of checking that a listview contains the provided item. The search of the item is expected to be a case-sensitive exact match of the item. The provided variable is set with 'TRUE' if the item is found or 'FALSE' if the item is not found.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.itemText
- Optional:NO
The case-sensitive name of the sought item.resultVar
- Optional:NO
The name of the variable receiving the result.public static ComponentFunction setListContains(java.lang.String winname, java.lang.String compname, java.lang.String[] parameters)
Set a variable with the result of checking that a listview contains the provided item. The search of the item is expected to be a case-sensitive exact match of the item. The provided variable is set with 'TRUE' if the item is found or 'FALSE' if the item is not found.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.parameters
- Optional:NO
An array containing the following parameters:
public static ComponentFunction verifyItemUnselected(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Verifies a particular case-sensitive text item is NOT selected.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node that will be verified unselectedpublic static ComponentFunction verifyListContains(java.lang.String winname, java.lang.String compname, java.lang.String itemText)
Verify that a list view contains the provided item. The search of the item is expected to be a case-sensitive exact match of the item.Supporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.itemText
- Optional:NO
The case-sensitive name of the item to verify.public static ComponentFunction verifySelectedItem(java.lang.String winname, java.lang.String compname, java.lang.String textValue)
Verifies a particular case-sensitive text item is selectedSupporting Engines:
winname
- Optional:NO
The name of the window to act upon.compname
- Optional:NO
The name of the component to act upon.textValue
- Optional:NO
Case-sensitive text of node that will be verified selectedCopyright © SAS Institute. All Rights Reserved.