TableDrivenBlock Editor-Table Editor/en: Unterschied zwischen den Versionen
Zeile 58: | Zeile 58: | ||
*'''Import from CSV file ...'''<br>Add new steps and freeze the values from the imported csv file to the input pins. |
*'''Import from CSV file ...'''<br>Add new steps and freeze the values from the imported csv file to the input pins. |
||
*'''Environment...'''<br>Open |
*'''Environment...'''<br>Open an dialog to inspect the tables environment. |
||
<br> |
<br> |
||
Zeile 67: | Zeile 67: | ||
*'''New Step'''<br>Add a new step item to the table. |
*'''New Step'''<br>Add a new step item to the table. |
||
*'''Goto'''<br>Open |
*'''Goto'''<br>Open an dialog to ask for a step number to go to. |
||
*'''Find, Find Next and Find Previous'''<br>Open the search function and find the next or previous matching item. |
*'''Find, Find Next and Find Previous'''<br>Open the search function and find the next or previous matching item. |
||
Zeile 80: | Zeile 80: | ||
*'''Copy, Paste and Delete'''<br>Copy and delete the selected step or insert after selected step. |
*'''Copy, Paste and Delete'''<br>Copy and delete the selected step or insert after selected step. |
||
*'''Open Editor'''<br>Open |
*'''Open Editor'''<br>Open an editor to rename the selected step. |
||
*'''Add Extra Page on Selected Item'''<br>Open a extra page on the selected step to inspect the steps functionality. |
*'''Add Extra Page on Selected Item'''<br>Open a extra page on the selected step to inspect the steps functionality. |
||
*'''Goto'''<br>Open |
*'''Goto'''<br>Open an dialog to ask for a step number to go to. |
||
*'''Find, Find Next and Find Previous'''<br>Open the search function and find the next or previous matching item. |
*'''Find, Find Next and Find Previous'''<br>Open the search function and find the next or previous matching item. |
||
Zeile 124: | Zeile 124: | ||
When a pin is selected in the editor: |
When a pin is selected in the editor: |
||
<br> |
<br> |
||
*'''Open Editor'''<br>Open |
*'''Open Editor'''<br>Open an editor to rename the selected step. |
||
*'''Goto'''<br>Open |
*'''Goto'''<br>Open an dialog to ask for a step number to go to. |
||
*'''Find, Find Next and Find Previous'''<br>Open the search function and find the next or previous matching item. |
*'''Find, Find Next and Find Previous'''<br>Open the search function and find the next or previous matching item. |
Version vom 17. März 2015, 13:09 Uhr
The following document describes the table driven test editor used to view and edit table driven blocks. The table driven test editor can be used for tests with a sequential test flow.
If tests get more complex table driven blocks can be transformed to compound blocks.
Inhaltsverzeichnis
Toolbar[Bearbeiten]
In the left function group of the toolbar you will find the buttons concerning the test execution.
Start a test run or continue after a breakpoint or execution pause. This allows for a changed table's functionality to be checked immediately, without a need to create an extra compound block or a testplan-item for it to be executed. If the edited block needs input values or other prerequisite setup for the test run, these should be defined in the tab named "Test/Demo" (which is the rightmost tab of the editor).
Start a test run but open a debugger window in case of test failure, even if the debugger is currently disabled in the settings. This kind of run is helpful during test development or error analysis. It enables debugging mode without changing the settings.
In the right area of the toolbar you will find the following functions concerning the presentation.
Collapse all step items. All In- and Output pins of a step are hidden.
Expand all step items. All In- and Outpur pins of a step are visible.
Tasks[Bearbeiten]
Adding Steps[Bearbeiten]
There are two possibilities to add new entries so called steps to the table; via drag & drop from the project tree or by using the conext menu entry 'New Step'. The step is initially selected, indicated by the highlited row. The inputs of the new created steps are set to its default value dependent on the settings.
Selecting Steps[Bearbeiten]
Steps can be selected by left-clicking on it. Additional steps are selected by holding down the Shift-key in conjunction to the left mouse button. In a similar way, pressing the Control-key (CTRL or STRG) toggles steps into or out of the selection.
Another possibility to select multiple steps at a time is to mark a selection rectangle area with the mouse, which selects all steps (and other elements) that are within that area.
Arranging Steps[Bearbeiten]
To arrange steps you can move rows up and down in the table, replace steps and remove them via the context menu. Since tables represent a sequential test flow you reorganize the execution order by arranging steps.
Supplying Steps with Values[Bearbeiten]
TO BE WRITTEN
Output Pin Operations[Bearbeiten]
TO BE WRITTEN
Indicators[Bearbeiten]
- Datei:BearkWithSuccess.png The stap has a break with success set at a output pin. When the output pin is triggered the execution of the table is aborted with success as return value.
The step has a breakpoint set. When reached during a test run, the executir will pause and wait for either the "Run/Continue" or the "Single-Step" button tp be pressed.
Menu[Bearbeiten]
Main Menu[Bearbeiten]
This menu can be found as diagramm in the main menu:
- Aspect
Expand or collapse all steps.
- Refactor
Convert the table driven block to a compound block or copy as compound to clipboard.
- Import from CSV file ...
Add new steps and freeze the values from the imported csv file to the input pins.
- Environment...
Open an dialog to inspect the tables environment.
Common Options (Context Menu)[Bearbeiten]
When nothing is selected in the editor:
- New Step
Add a new step item to the table.
- Goto
Open an dialog to ask for a step number to go to.
- Find, Find Next and Find Previous
Open the search function and find the next or previous matching item.
- Aspect
Expand or collapse all steps.
Step Specific Options (Context Menu)[Bearbeiten]
When a step is selected in the editor:
- Copy, Paste and Delete
Copy and delete the selected step or insert after selected step.
- Open Editor
Open an editor to rename the selected step.
- Add Extra Page on Selected Item
Open a extra page on the selected step to inspect the steps functionality.
- Goto
Open an dialog to ask for a step number to go to.
- Find, Find Next and Find Previous
Open the search function and find the next or previous matching item.
- New Step
Add a new step item to the table.
- Replace By
Replace the selected item by a new step item.
- Move Up and Move Down
Move the selected step in the indicared direction within the table. .
- Toggle Breakpoint
Toggle a breakpoint on the selected step.
- Freeze and Unfreeze
Freeze or unfreeze default values to the pins.
- Aspect
Expand or collapse all steps..
- Properties...
Open a dialog to change the background of the selected step.
Multiple Step Specific Options (Context Menu)[Bearbeiten]
When more than one step is selected in the editor:
- Delete
Delete the selected steps.
- Move Up and Move Down
Move the selected steps in the indicared direction within the table.
- Freeze and Unfreeze
Freeze or unfreeze default values to the pins.
- Properties...
Open a dialog to change the background of the selected steps.
- Aspect
Expand or collapse all steps.
- Refactor
Extract, or extract and replace selected steps with, a new table with a copy of the selected steps.
Pin Specific Options (Context Menu)[Bearbeiten]
When a pin is selected in the editor:
- Open Editor
Open an editor to rename the selected step.
- Goto
Open an dialog to ask for a step number to go to.
- Find, Find Next and Find Previous
Open the search function and find the next or previous matching item.
- Move Variable To
Move a value, dedicated to the steps pin, to the table's pin or environment.
- Freeze and Unfreeze
Freeze or unfreeze default values to the pins.
Settings[Bearbeiten]
Aspect and behavour of a table driven block can be affected via the Settings Dialog.