Commands on a Testsheet context-sensitive menu
- Last Updated: December 20, 2023
- 1 minute read
- Corticon
- Documentation
When you right-click in a Testsheet, the Ruletest context-sensitive menu opens, displaying the following commands and toggles as appropriate to certain columns and data types:
| Command | Columns | Comments |
|---|---|---|
| Cut | Input, Output, or Expected | Any line(s) in a column. Selects the branches under each selected level as well. |
| Copy | Input, Output, or Expected | Any line(s) in a column. Selects the branches under each selected level as well. |
| Paste | Input or Expected | Valid target location in column. |
| Delete | Input, Output, or Expected | Any line in a column. Selects the branches under each selected level as well. |
| Collapse All/Expand All | Input, Output, or Expected | Collapses and Expands the items in a test tree. These menu options operate on each tree separately. The previous expansion state of any children is lost by using these options. |
| Set to Null | Input or Expected | Applies only to attributes. Use CTRL+click or SHIFT+click to choose several attributes. |
| Ignore Validation | Expected | Right-click on a node and chose Ignore Validation from the pop-up menu, all instances of that node in that view are ignored during the validation stage of testing, not just the single instance you selected. Each occurrence of that node that appears in the view is grayed-out to indicate that all of them are ignored during validation. You can toggle Ignore Validation on or off. |
| Key Attribute | Expected | Applies only to attributes. Use CTRL+click or SHIFT+click to choose several attributes. |
| Go to Entity | Input or Expected | Selected association. |
| Sort Entities | Input or Expected | Anywhere in selected column sorts to the entire column. |
| Scroll Lock | Anywhere on sheet | Synchronizes scrolling of all three columns. |
| Export JSON to File | Input, Output, or Expected | Exports the selected pane in the active Testsheet in JSON format. |
| Export JSON to Clipboard | Input, Output, or Expected | Exports the selected pane in the active Testsheet in JSON format to the clipboard. |
| Import JSON from Clipboard | Input, or Expected | Import into a selected Tester Tree from JSON saved in the Clipboard. Updates the currently selected Tester Tree in the current Testsheet. You get notified that pasted data will overwrite existing data. |
| Export JSON | Input, Output, or Expected | Exports the selected pane in the active Testsheet in JSON format. |
| Export SOAP to File | Input, Output, or Expected | Exports the selected pane in the active Testsheet in SOAP format. |
| Export XML to File | Input, Output, or Expected | Exports the selected pane in the active Testsheet in XML format. |
| Import XML from Clipboard | Input, or Expected | Import into a selected Tester Tree from XML saved in the Clipboard. Updates the currently selected Tester Tree in the current Testsheet. You get notified that pasted data will overwrite existing data. |
| Properties | Anywhere on sheet | Opens the Ruletest's Properties panel which provides the following tabs:
|