Difference between revisions of "OtfOtxXmlWindow"

From emotive
Jump to navigation Jump to search
m (Nb moved page OtfCodeViewWindow to OtfOtxXmlWindow: Update the lastest name and info)
Line 1: Line 1:
{{DISPLAYTITLE:Open Test Framework - Code View Window}}[[Category:OTF]]
+
{{DISPLAYTITLE:Open Test Framework - OTX (XML) Window}}[[Category:OTF]]
 
{|
 
{|
 
| style="vertical-align:top; text-align:justify;"|
 
| style="vertical-align:top; text-align:justify;"|
The '''Code View window''' allows users to view the underlying OTX code of a procedure or an activity in the [[OtfWorkflowDesigner|Workflow Designer]]. In the Code View window, the OTX codes is presented in a hierarchy structure. Through these codes, you can get the data which are not displayed in the designer such as the "'''id'''" of an element ect. Sometimes, you can not know exactly the reason for the errors and warnings in the [[OtfErrorList|Error List]], these codes may help you to find out the reason.  
+
The '''OTX (XML)''' tool window allows users to view the underlying OTX (XML) code of a procedure or an activity in the [[OtfWorkflowDesigner|Workflow Designer]]. In the tool window, the XML codes of an OTX procedure/node is displayed in the hierarchy structure. Through these codes, you can get the data which are not displayed in the designer such as the "'''id'''" of a procedure ect. Sometimes, you can not know exactly the reason for the errors and warnings in the [[OtfErrorList|Error List]], these codes may help you to find out the reason.  
  
To view the OTX code of a procedure or an activity in the Code View window, you can click on the procedure pane or on the activity, and the underlying OTX code of the selected element is displayed in the Code View window.  
+
To view the OTX code of an activity or a procedure in the '''OTX (XML)''' tool window, you can click on the activity or the workflow header/background in the [[OtfWorkflowDesigner|Workflow Designer]], and the underlying OTX code of the selected element will be displayed in the tool window.  
  
To copy the texts from the Code View window, you can select the texts to copy (by pressing the left mouse button and dragging mouse to highlight the texts, or using '''CTRL+"A"''' to select all texts) and use '''CTRL+"C"''', then the texts are copied to clipboard to use later.  
+
To copy the texts from the tool window, you can select the texts to copy (by pressing the left mouse button and dragging mouse to highlight the texts, or using '''CTRL + A''' to select all texts) and use '''CTRL + C''', then the texts are copied to clipboard to use later.  
  
To expand or shrink a part of the codes displayed in the Code View, you can use the expand icon (" '''+''' ") and collapse icon (" '''-''' ") at each node.
+
To expand or collapse a part of the codes displayed in the tool window, you can use the expand icon (" '''+''' ") and collapse icon (" '''-''' ") at the left of the opening tags.
  
The Code View is a tool window, so it can be docked, floating, opened, closed, resized or set to auto hide. When starting the OTF the first time, the Code View window is already opened and docked under the [[OtfWorkflowDesigner|Workflow Designer]]. You can open or close it via the "Code View window" button ("[[File:CodeViewToolWindow.png]]") in the [[OtfMenuBar|Ribbon]].
+
The '''OTX (XML)''' is a tool window so it can be docked, floating, opened, closed, resized or set to auto hide. When starting the OTF the first time, the '''OTX (XML)''' tool window is already opened and docked on the right of the [[OtfSpecificationWindow|'''Specification''' tool window]] under the [[OtfSolutionExplorer|Solution Explorer]]. You can open or close it via the "OTX (XML)" button ("[[File:CodeViewToolWindow.png]]") in the [[OtfMenuBar|Ribbon]].
  
 
| style="width:30px;" |
 
| style="width:30px;" |
| style="vertical-align:top; text-align:justify;"| {{ImageStyleCenter|CodeViewWindow.png|300|Code View window displays underlying OTX codes of a procedure or an activity}}
+
| style="vertical-align:top; text-align:justify;"| {{ImageStyleCenter|CodeViewWindow.png|300|OTX (XML) window displays underlying OTX codes of a procedure or an activity}}
 
|}
 
|}

Revision as of 09:23, 1 October 2018

The OTX (XML) tool window allows users to view the underlying OTX (XML) code of a procedure or an activity in the Workflow Designer. In the tool window, the XML codes of an OTX procedure/node is displayed in the hierarchy structure. Through these codes, you can get the data which are not displayed in the designer such as the "id" of a procedure ect. Sometimes, you can not know exactly the reason for the errors and warnings in the Error List, these codes may help you to find out the reason.

To view the OTX code of an activity or a procedure in the OTX (XML) tool window, you can click on the activity or the workflow header/background in the Workflow Designer, and the underlying OTX code of the selected element will be displayed in the tool window.

To copy the texts from the tool window, you can select the texts to copy (by pressing the left mouse button and dragging mouse to highlight the texts, or using CTRL + A to select all texts) and use CTRL + C, then the texts are copied to clipboard to use later.

To expand or collapse a part of the codes displayed in the tool window, you can use the expand icon (" + ") and collapse icon (" - ") at the left of the opening tags.

The OTX (XML) is a tool window so it can be docked, floating, opened, closed, resized or set to auto hide. When starting the OTF the first time, the OTX (XML) tool window is already opened and docked on the right of the Specification tool window under the Solution Explorer. You can open or close it via the "OTX (XML)" button ("ToolWindowXMLView.png") in the Ribbon.

OtxXmlWindow.png
OTX (XML) window displays underlying OTX codes of a procedure or an activity