Difference between revisions of "Usage"

From Wiki
Jump to: navigation, search
(Created page with "== Using the plug-ins == * To create a new TDL model by means of the TDLan2 textual representation, right click on a project or a folder in the package explorer and select Ne...")
 
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Using the plug-ins ==
+
= TDL editor plugin =
 +
To create a new TDL model by means of the TDLan2 textual representation, follow these steps:
 +
 
 +
* right click on a project or a folder in the package explorer and select New -> File,
 +
* type the filename ending with '''.tdlan2'''
 +
* the corresponding editor shall be automatically opened.
 +
 
 +
= TDL-TO editor plugin =
 +
 
 +
To create a new TDL model by means of the TPlan2 textual representation for structured test objectives, follow this steps:
 +
 
 +
* right click on a project or a folder in the package explorer and select New -> File,
 +
* type the filename ending with '''.tplan2''' ,
 +
* the corresponding editor shall be automatically opened.
 +
 
 +
= Convert the text into XF Format =
  
* To create a new TDL model by means of the TDLan2 textual representation, right click on a project or a folder in the package explorer and select New -> File, type the filename ending with '''.tdlan2''' and the corresponding editor shall be automatically opened.
 
* To create a new TDL model by means of the TDPan2 textual representation for structured test objectives, right click on a project or a folder in the package explorer and select New -> File, type the filename ending with '''.tplan2''' and the corresponding editor shall be automatically opened.
 
 
* To translate a TDL model from the TDLan2 textual representation to the XF format (or the other way around), open the source model and press the "T" icon on the toolbar. The resulting model shall be stored in the same folder as the source model with the type of the model ('''.tdlan2''' or '''.tdl''') appended to the name of the source model.
 
* To translate a TDL model from the TDLan2 textual representation to the XF format (or the other way around), open the source model and press the "T" icon on the toolbar. The resulting model shall be stored in the same folder as the source model with the type of the model ('''.tdlan2''' or '''.tdl''') appended to the name of the source model.
 +
 +
= Export TDL Test Objectives as Word tables =
 +
 +
== Install the plugin ==
 +
 +
Make sure that the TDL Word export plugin is installed. Find here [[Installation|how to install the plugins]].
 +
After the plugin is installed, you will be asked to restart the Eclipse environment.
 +
 +
After Eclipse restarts, you should be able to see a <code>W</code> button in the toolbar below the main menu.
 +
 +
[[File:Toolbar.PNG|frame|center]]
 +
 +
== Use the export button! ==
 +
 +
# Open a '''tplan2''' document in Eclipse like this
 +
[[File:Tdlan example.PNG|thumb|center]]
 +
# Click on the <code>W</code> button in the toolbar and wait for a few seconds. It may happen that the Eclipse window is not responsive to clicks during the export
 +
execution, it does not mean that it is an error.
 +
# When the processing is done, the newly created Word document will be in the same folder of the  tplan file and should appear in the Project explorer
 +
# * If the file is not shown, select the project, right click and select ''Refresh'' (or hit F5 on the keyboard)
 +
 +
The result will look like:
 +
[[File:Word.PNG|thumb|center]]

Latest revision as of 18:47, 3 September 2019

TDL editor plugin

To create a new TDL model by means of the TDLan2 textual representation, follow these steps:

  • right click on a project or a folder in the package explorer and select New -> File,
  • type the filename ending with .tdlan2
  • the corresponding editor shall be automatically opened.

TDL-TO editor plugin

To create a new TDL model by means of the TPlan2 textual representation for structured test objectives, follow this steps:

  • right click on a project or a folder in the package explorer and select New -> File,
  • type the filename ending with .tplan2 ,
  • the corresponding editor shall be automatically opened.

Convert the text into XF Format

  • To translate a TDL model from the TDLan2 textual representation to the XF format (or the other way around), open the source model and press the "T" icon on the toolbar. The resulting model shall be stored in the same folder as the source model with the type of the model (.tdlan2 or .tdl) appended to the name of the source model.

Export TDL Test Objectives as Word tables

Install the plugin

Make sure that the TDL Word export plugin is installed. Find here how to install the plugins. After the plugin is installed, you will be asked to restart the Eclipse environment.

After Eclipse restarts, you should be able to see a W button in the toolbar below the main menu.

Toolbar.PNG

Use the export button!

  1. Open a tplan2 document in Eclipse like this
Tdlan example.PNG
  1. Click on the W button in the toolbar and wait for a few seconds. It may happen that the Eclipse window is not responsive to clicks during the export

execution, it does not mean that it is an error.

  1. When the processing is done, the newly created Word document will be in the same folder of the tplan file and should appear in the Project explorer
  2. * If the file is not shown, select the project, right click and select Refresh (or hit F5 on the keyboard)

The result will look like:

Word.PNG