jsystem.extensions.analyzers.tabletext
Class TableCellValue
java.lang.Object
jsystem.framework.analyzer.AnalyzerParameterImpl
jsystem.extensions.analyzers.tabletext.TableCellValue
- All Implemented Interfaces:
- AnalyzerParameter
- public class TableCellValue
- extends AnalyzerParameterImpl
TableCellValue test that a spesific cell value in a table is as expected.
To define the table cell 3 parameters are used:
1. The table header of the key cell (keyHeader).
2. The key value (keyFieldValue).
3. The table header of the value cell (valueHeader).
for example in the following table I would like to check that port 0/2 is 'Enable' so,
the keyHeader will be 'Port', the keyFieldValue will be '0/2' and the valueHeader will be 'Status'.
The expected value will be 'Enable'.
Port Status
------ --------
0/1 Disable
0/2 Enable
Method Summary |
void |
analyze()
The analyze process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
protected Table table
TableCellValue
public TableCellValue(String keyHeader,
String keyFieldValue,
String valueHeader,
String expectedValue)
throws Exception
analyze
public void analyze()
- Description copied from interface:
AnalyzerParameter
- The analyze process.