TestItemAtIndex Method
Gets the ITestItem at the specified row when the TestGroups and TestFunctions are flattened into a single list.
Type: TestCollection
Namespace: XJTAG.Integration.XJRunner
Syntax
public ITestItem TestItemAtIndex(int rowIndex, out bool group)
Parameters
- rowIndex
Type: int
Index of the row.
- group
Type: bool
If set to
true this indicates that the returned ITestItem is of type TestGroup.
Exceptions
- System.IndexOutOfRangeException
rowIndex exceeds the number of items in the flattened list of test items.
Remarks
This function exists to help in host environments that have limitations in their support for more complicated data structures.
Two TestGroups, the first containing two TestFunctions and the second just one, would be flattened into the following rows:
0 - Test Group 1
1 - - Test Function 1 (Group 1)
2 - - Test Function 2 (Group 1)
3 - Test Group 2
4 - - Test Function 1 (Group 2)
XJTAG v4.2.5
