Data sets must be explicitly declared to LISA at startup of DevTest Workstation so that the authoring framework can make the data set available for use in test cases. Like the Native Test Node, three classes are required for data sets. LISA provides default implementations for the two classes that are not documented here. The default controller is com.itko.lisa.editor.DataSetController and the editor is named com.itko.lisa.editor.DefaultDataSetEditor. Notice that some of LISA's built-in data sets use these classes.
They are connected in the lisaextensions file, as follows:
datasets=com.itko.examples.dataset.CSVDataSet com.itko.examples.dataset.CSVDataSet=com.itko.lisa.editor.DataSetController,com.itko.lisa.editor.DefaultDataSetEditor
See the information about the lisaextensions file in Extending the LISA Software for more details on how to register your data set.
As with all custom LISA test elements, make the classes that you have developed and the lisaextensions file available to LISA. The most common way to make them available is to bundle them in a jar file that is placed in the LISA hot deploy directory.
|
Copyright © 2014 CA Technologies.
Tous droits réservés.
|
|