jsystem.extensions.analyzers.tabletext
Class TableCellValue

java.lang.Object
  extended byjsystem.framework.analyzer.AnalyzerParameterImpl
      extended byjsystem.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


Field Summary
protected  Table table
           
 
Fields inherited from class jsystem.framework.analyzer.AnalyzerParameterImpl
analyzer, message, status, testAgainst, throwable, title
 
Constructor Summary
TableCellValue(String keyHeader, String keyFieldValue, String valueHeader, String expectedValue)
           
 
Method Summary
 void analyze()
          The analyze process.
 
Methods inherited from class jsystem.framework.analyzer.AnalyzerParameterImpl
getMessage, getStatus, getThrowable, getTitle, setAnalyzer, setTestAgainst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected Table table
Constructor Detail

TableCellValue

public TableCellValue(String keyHeader,
                      String keyFieldValue,
                      String valueHeader,
                      String expectedValue)
               throws Exception
Method Detail

analyze

public void analyze()
Description copied from interface: AnalyzerParameter
The analyze process.