ListViewFunctions::ActivateIndex
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.
Fields: [ ]=
Optional with Default Value
-
Index
Index of the text item to select
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.
Examples:
[How To Read This Reference]
ListViewFunctions::ActivateIndexItem
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.
Fields: [ ]=
Optional with Default Value
-
IndexValue
Index of item to activate.
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.
Examples:
[How To Read This Reference]
ListViewFunctions::ActivatePartialMatch
Routine to double click an item according to a partial text match.
Fields: [ ]=
Optional with Default Value
-
PartialTextValue
Case-sensitive substring of text item to select
PartialTextValue should be a case-sensitive substring of text item to select.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
[How To Read This Reference]
ListViewFunctions::ActivateTextItem
Routine to double click an item according to its text value.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
[How To Read This Reference]
ListViewFunctions::ActivateTextItemCoords
Double click a text item at specific Coords.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
The results from the lookup are appended to the "Coords=" string
used by the Click command in Robot (if necessary).
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T WINDOW MyList ActivateTextItemCoords "AParticularUserID" "5,20"
Double Click "AParticularUserID" at specific coords.
-
T WINDOW MyList ActivateTextItemCoords "AParticularUserID" "5,20" "Index=3"
Double Click the 3rd item matching "AParticularUserID" at specific coords.
-
T WINDOW MyList ActivateTextItemCoords "AParticularUserID" "Coords=5,20"
Double Click "AParticularUserID" at specific coords.
-
T WINDOW MyList ActivateTextItemCoords "AParticularUserID" CENTER
Double Click "AParticularUserID" at coords defined in the App Map
in a [MyList] section.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
[How To Read This Reference]
ListViewFunctions::ActivateUnverifiedTextItem
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.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
The selection will not be verified.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T, WINDOW, ListView, ActivateUnverifiedTextItem , "AParticularUserID"
Double click "AParticularUserID" from the ListView object.
The selection will not (cannot) be verified.
-
T, WINDOW, ListView, ActivateUnverifiedTextItem , "AParticularUserID", "Index=3"
Double click the 3rd item matching "AParticularUserID" from the ListView object.
The selection will not (cannot) be verified.
[How To Read This Reference]
ListViewFunctions::ActivateUnverifiedTextItemCoords
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.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
The results from the lookup are appended to the "Coords=" string
used by the Click command in Robot (if necessary).
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T WINDOW MyList ActivateUnverifiedTextItemCoords "AParticularUserID" "5,20"
Double Click "AParticularUserID" at specific coords.
-
T WINDOW MyList ActivateUnverifiedTextItemCoords "AParticularUserID" "5,20" "Index=2"
Double Click the 2nd item matching "AParticularUserID" at specific coords.
-
T WINDOW MyList ActivateUnverifiedTextItemCoords "AParticularUserID" "Coords=5,20"
Double Click "AParticularUserID" at specific coords.
-
T WINDOW MyList ActivateUnverifiedTextItemCoords "AParticularUserID" CENTER
Double Click "AParticularUserID" at coords defined in the App Map
in a [MyList] section.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
[How To Read This Reference]
ListViewFunctions::AssignCellValue
Assigns the value of a cell in a listview to a variable.
Fields: [ ]=
Optional with Default Value
-
Variable
Name of variable to assign value
The variable name that should be used to hold the value retrieved by this command.
-
RowCoord
The coordinate of the row in the listview that you want to capture the value.
We will capture the row, column value in the listview and assign it to the variable value.
First you identify the row and then the column.
-
ColCoord
The coordinate of the column in the listview that you want to capture the value.
We will capture the row, column value in the listview and assign it to the variable value.
First you identify the row and then the column.
Examples:
[How To Read This Reference]
ListViewFunctions::CaptureItemsToFile
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)
Fields: [ ]=
Optional with Default Value
-
FileName
File name (if not absolute, then to test dir)
File name (if not absolute, then to test dir)
- [ FileEncoding = ]
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.
Examples:
-
T, WINDOW, ListBox, CaptureItemsToFile , afile.txt
Captures all the items in the list to ...\datapool\test\afile.txt
Captures all the items in the list to ...\datapool\test\afile.txt
-
T, WINDOW, ListBox, CaptureItemsToFile , afile.txt, "UTF-8"
Captures all the items in the list to ...\datapool\test\afile.txt
Captures all the items in the list to ...\datapool\test\afile.txt
Writing file with "UTF-8" encoding.
[How To Read This Reference]
ListViewFunctions::ClickIndex
Same as (Alias for) ListView ActivateIndexItem
ListViewFunctions::ClickIndexItem
Same as (Alias for) ListView ActivateIndexItem
ListViewFunctions::ExtendSelectionToTextItem
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...)
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to select and verify.
Examples:
-
T, WINDOW, ListView, ExtendSelectionToTextItem, "AParticularUserID"
Selects "AParticularUserID" from the ListView object with Shfit key pressedd down.
Selects "AParticularUserID" from the ListView object with Shfit key pressedd down.
This adds "AParticularUserID" and any items inbetween to any existing items already selected.
When possible, we will also attempt to verify the added selection was successful.
[How To Read This Reference]
ListViewFunctions::RightClickTextItem
Routine to RightClick (single click) an item according to its text value.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to RightClick
SelectTextValue should contain the case-sensitive text item to RightClick.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
[How To Read This Reference]
ListViewFunctions::RightClickTextItemCoords
Right click a text item at specific Coords.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to RightClick
SelectTextValue should contain the case-sensitive text item to RightClick.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
The results from the lookup are appended to the "Coords=" string
used by the Click command in Robot (if necessary).
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T WINDOW MyList RightClickTextItemCoords "AParticularUserID" "5,20"
Right Click "AParticularUserID" at specific coords.
-
T WINDOW MyList RightClickTextItemCoords "AParticularUserID" "5,20" "Index=2"
Right Click the 2nd text item matching "AParticularUserID" at specific coords.
-
T WINDOW MyList RightClickTextItemCoords "AParticularUserID" "Coords=5,20"
Right Click "AParticularUserID" at specific coords.
-
T WINDOW MyList RightClickTextItemCoords "AParticularUserID" CENTER
Right Click "AParticularUserID" at coords defined in the App Map
in a [MyList] section.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
[How To Read This Reference]
ListViewFunctions::RightClickUnverifiedTextItem
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.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to RightClick
SelectTextValue should contain the case-sensitive text item to RightClick.
The selection will not be verified.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T, WINDOW, ListView, RightClickUnverifiedTextItem , "AParticularUserID"
RightClick "AParticularUserID" from the ListView object.
The selection will not (cannot) be verified.
-
T, WINDOW, ListView, RightClickUnverifiedTextItem , "AParticularUserID", "Index=3"
RightClick the 3rd text item matching "AParticularUserID" from the ListView object.
The selection will not (cannot) be verified.
[How To Read This Reference]
ListViewFunctions::RightClickUnverifiedTextItemCoords
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.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to RightClick.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T WINDOW MyList RightClickUnverifiedTextItemCoords "AParticularUserID" "5,20"
Right Click "AParticularUserID" at specific coords.
-
T WINDOW MyList RightClickUnverifiedTextItemCoords "AParticularUserID" "5,20" "Index=3"
RightClick the 3rd text item matching "AParticularUserID" at specific coords.
-
T WINDOW MyList RightClickUnverifiedTextItemCoords "AParticularUserID" "Coords=5,20"
Right Click "AParticularUserID" at specific coords.
-
T WINDOW MyList RightClickUnverifiedTextItemCoords "AParticularUserID" CENTER
Right Click "AParticularUserID" at coords defined in the App Map
in a [MyList] section.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
[How To Read This Reference]
ListViewFunctions::SelectAnotherPartialMatch
Routine for multiple selection to Control+Click on an item according to a partial text match.
This adds selected items to items already selected.
Fields: [ ]=
Optional with Default Value
-
PartialTextValue
Case-sensitive substring of text item to select.
- [ MatchIndex = 1 ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T, WINDOW, ListView, SelectAnotherPartialMatch, "ASubstring"
Ctrl+Clicks the first item containing "ASubstring" in the ListView.
Ctrl+Clicks the first item containing "ASubstring" in the ListView.
This adds to any existing items already selected.
-
T, WINDOW, ListView, SelectAnotherPartialMatch, "ASubstring", "Index=2"
Ctrl+Clicks the 2th item containing "ASubstring" in the ListView.
[How To Read This Reference]
ListViewFunctions::SelectAnotherTextItem
Routine for multiple selection to Control+Click on an item by its text value.
This adds selected items to items already selected.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node to select.
- [ MatchIndex = 1 ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T, WINDOW, ListView, SelectAnotherTextItem , "AParticularUserID"
Ctrl+Clicks "AParticularUserID" from the ListView object.
Ctrl+Clicks "AParticularUserID" from the ListView object.
This adds to any existing items already selected.
-
T, WINDOW, ListView, SelectAnotherTextItem , "AParticularUserID", "Index=2"
Ctrl+Clicks the 2th item matching "AParticularUserID" from the ListView object.
[How To Read This Reference]
ListViewFunctions::SelectIndex
Same as (Alias for) ListView SelectIndexItem
ListViewFunctions::SelectIndexItem
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.
Fields: [ ]=
Optional with Default Value
-
ItemIndex
Index of node to select.
Examples:
-
T, WINDOW, ListView, SelectIndexItem , 4
Selects the item at Index 4.
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.
[How To Read This Reference]
ListViewFunctions::SelectIndexItemCoords
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.
Fields: [ ]=
Optional with Default Value
-
ItemIndex
Index of node to select.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
Examples:
-
T WINDOW MyList SelectIndexItemCoords "2" "5,20"
Single Click item index "2" at specific coords.
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.
-
T WINDOW MyList SelectIndexItemCoords "2" "Coords=5,20"
Single Click item index "2" at specific coords.
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.
-
T WINDOW MyList SelectIndexItemCoords "2" "Center"
Single Click item index "2" at coords defined in App Map.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
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.
[How To Read This Reference]
ListViewFunctions::SelectPartialMatch
Routine to select (single click) an item according to a partial text match.
Fields: [ ]=
Optional with Default Value
-
PartialTextValue
Case-sensitive substring of node to select
PartialTextValue should be a case-sensitive substring of text item to select.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
[How To Read This Reference]
ListViewFunctions::SelectRandomItems
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.
Fields: [ ]=
Optional with Default Value
-
ItemCount
The quantity of items to randomly select in the object.
Examples:
[How To Read This Reference]
ListViewFunctions::SelectTextItem
Routine to select (single click) an item according to its text value.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
[How To Read This Reference]
ListViewFunctions::SelectTextItemCoords
Single click a text item at specific Coords.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
The results from the lookup are appended to the "Coords=" string
used by the Click command in Robot (if necessary).
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T WINDOW MyList SelectTextItemCoords "AParticularUserID" "5,20"
Single Click "AParticularUserID" at specific coords.
-
T WINDOW MyList SelectTextItemCoords "AParticularUserID" "5,20" "Index=2"
Single Click the 2nd text item matching "AParticularUserID" at specific coords.
-
T WINDOW MyList SelectTextItemCoords "AParticularUserID" "Coords=5,20"
Single Click "AParticularUserID" at specific coords.
-
T WINDOW MyList SelectTextItemCoords "AParticularUserID" CENTER
Single Click "AParticularUserID" at coords defined in the App Map
in a [MyList] section.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
[How To Read This Reference]
ListViewFunctions::SelectUnverifiedTextItem
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.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
The selection will not be verified.
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T, WINDOW, ListView, SelectUnverifiedTextItem , "AParticularUserID"
Selects "AParticularUserID" from the ListView object.
The selection will not (cannot) be verified.
-
T, WINDOW, ListView, SelectUnverifiedTextItem , "AParticularUserID", "Index=3"
Selects the 3rd text item matching "AParticularUserID" from the ListView object.
The selection will not (cannot) be verified.
[How To Read This Reference]
ListViewFunctions::SelectUnverifiedTextItemCoords
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.
Fields: [ ]=
Optional with Default Value
-
SelectTextValue
Case-sensitive text of node to select
SelectTextValue should contain the case-sensitive text item to select.
-
Coords
The explicit coordinates ("x,y") or an App Map reference to
pre-defined coordinates.
We first check to see if the field contains a reference to an
App Map item. If that cannot be found, we will assume the field
contains explicit coordinates.
We expect the coordinates in the format "x,y":
[MyListView]
Center=5,120 OR
Center=Coords=5,120
- [ MatchIndex = ]
Optional index of the Nth duplicate item to match.
Allows us to match duplicate item N in a list containing duplicate
entries. For example, match the 2nd (or specified Nth) item whose text matches
the provided text value.
The value of the parameter can have 2 forms:
- A numeric value. Ex: "3"
- Index prefixed value. Ex: "Index=3"
Examples:
-
T WINDOW MyList SelectUnverifiedTextItemCoords "AParticularUserID" "5,20"
Single Click "AParticularUserID" at specific coords.
-
T WINDOW MyList SelectUnverifiedTextItemCoords "AParticularUserID" "5,20" "Index=3"
Single Click the 3rd text item matching "AParticularUserID" at specific coords.
-
T WINDOW MyList SelectUnverifiedTextItemCoords "AParticularUserID" "Coords=5,20"
Single Click "AParticularUserID" at specific coords.
-
T WINDOW MyList SelectUnverifiedTextItemCoords "AParticularUserID" CENTER
Single Click "AParticularUserID" at coords defined in the App Map
in a [MyList] section.
Both Fields #3(component name) and #6(coords reference name)
are used to locate the item in the App Map.
This routine does not specify an App Map so only the current Map
is used and it is expected to be valid.
[How To Read This Reference]
ListViewFunctions::SetListContains
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.
Fields: [ ]=
Optional with Default Value
-
ItemText
The case-sensitive name of the sought item.
ItemText should contain the case-sensitive text item to find in the list view.
A message is sent to the log confirming whether or not the item is found in the list view.
-
ResultVar
The name of the variable receiving the result.
This variable is set with 'TRUE' if the item is found or 'FALSE' if the item is not found.
Examples:
-
T, WINDOW, ListView, SetListContains , "AParticularServerName", isFound
Variable isFound is set to 'TRUE' if the item "AParticularServerName" is found
in the ListView object. If the item is not found, the variable isFound is set
to 'FALSE'.
[How To Read This Reference]
ListViewFunctions::VerifyItemUnselected
Verifies a particular case-sensitive text item is NOT selected.
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node that will be verified unselected
TextValue should contain the case-sensitive text of the item that is expected NOT to be selected.
Examples:
[How To Read This Reference]
ListViewFunctions::VerifyListContains
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.
Fields: [ ]=
Optional with Default Value
-
ItemText
The case-sensitive name of the item to verify.
ItemText should contain the case-sensitive text item to find in the list view.
A message is sent to the log confirming whether or not the item is found in the list view.
Examples:
[How To Read This Reference]
ListViewFunctions::VerifySelectedItem
Verifies a particular case-sensitive text item is selected
Fields: [ ]=
Optional with Default Value
-
TextValue
Case-sensitive text of node that will be verified selected
TextValue should contain the case-sensitive text of the item expected to already be selected
Examples:
[How To Read This Reference]