Test Workspace Data Object
Test Workspace build.xml file is represented in IDE by special data object based on Ant Project.
This data object offers special Cleaning, Compilation, Building, Execution and Results Cleaning in addition to functionality provided by AntProject
(like tree browsing, source editing, etc...).
XTest Compiler and XTest Executor are default for this data object.
Compiler and
Executor
XTest Compiler
and XTest Executor
are used for compilation and execution of XTest tests directly from IDE.
Each contains several important properties for XTest execution and compilation.
XTest Compiler and Executor properties explanation:
Attributes
property defines set of attributes provided during execution
Identifying Name
property shows executor name
Jelly Home
property contains path to jelly2-nb.jar
Jemmy Home
property contains path to jemmy.jar
NetBeans Home
property points to tested NetBeans IDE installation (required to be different than current)
Show Results
boolean property affects HTML browser with results appearance
Test Type
property can override default test type for execution
XTest Home
property contains path to XTest distribution
Warning: XTest tests could not be compiled or executed against current running IDE but another IDE directory must be selected.
Test Type Configuration Data Object
Test Type configuration file cfg-XXX.xml
is represented in IDE by special data object based on XML data object.
This data object offers basic operations like Cut, Copy, Paste, editing in colored XML text editor (in dependency on installed XML module(s)).
Added feature is Customization. It concentrates all Test Type configuration into one dialog box.
Configuration Customizer
Customizer Dialog contains semantic tree of nodes representing XTest configuration file elements, each containing properties representing element attributes.
Elements can be inserted, renamed and deleted using popup menu and only according to defined structure (xtest-cfg-1_0.dtd).
Error message is provided in tool-tip text for each element containing error (icon with
sign).
Legal Notices